feat(script): add automation (#232)
Setup to auto pull bugs from Bugzilla everyday
This commit is contained in:
Родитель
e50a4b21b2
Коммит
c8519fa096
|
@ -1,2 +1,3 @@
|
|||
node_modules
|
||||
.*.swp
|
||||
secret-env-plain
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
|
||||
# Firefox Accounts Bugzilla Mirror
|
||||
|
||||
[![CircleCI](https://circleci.com/gh/mozilla/fxa-bugzilla-mirror.svg?style=svg)](https://circleci.com/gh/mozilla/fxa-bugzilla-mirror)
|
||||
|
||||
This is a little experiment in mirroring FxA-related
|
||||
bugzilla bugs into github, so that we can view them
|
||||
in our github-based work planning flow at:
|
||||
|
@ -20,8 +22,8 @@ You have three options:
|
|||
* Manually create the issue in the fxa-bugzilla-mirror repo, and put "[bzXXXXXXX]" in the title.
|
||||
|
||||
All such bugs will be dealth with by the bug-syncing script.
|
||||
One day it might even run automatically!
|
||||
For now, run it by hand:
|
||||
The script runs automatically for public bugs every day!
|
||||
You can also run it by hand:
|
||||
|
||||
node ./scripts/sync_bugs.js
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
dependencies:
|
||||
pre:
|
||||
# update locally with:
|
||||
# openssl aes-256-cbc -e -in secret-env-plain -out secret-env-cipher -k $KEY
|
||||
- openssl aes-256-cbc -d -in secret-env-cipher -k $KEY >> ~/.circlerc
|
||||
|
||||
machine:
|
||||
node:
|
||||
version: 4
|
||||
|
||||
test:
|
||||
override:
|
||||
- GITHUB_USERNAME=$GITHUB_USERNAME GITHUB_API_KEY=$GITHUB_API_KEY node ./scripts/sync_bugs.js
|
Двоичный файл не отображается.
Загрузка…
Ссылка в новой задаче