@cryptotaxi247 / netdata-1 / commits / e74857155

fix location of encrypted file (#5024)

Paweł Krupa committed Dec 18, 2018 at 13:06 UTC e74857155fad157c2f5b8f05f0a3e0c7ecac98f9
2 files changed +13 -13
.travis.yml
+1 -1
@@ -64,7 +64,7 @@ jobs:
64 script: "packaging/docker/build.sh"
65 env: REPOSITORY="netdata/netdata"
66 - name: tarball and self-extractor build
67 - before_install: openssl aes-256-cbc -K $encrypted_8daf19481253_key -iv $encrypted_8daf19481253_iv -in gcs-credentials.json.enc -out gcs-credentials.json -d
67 + before_install: openssl aes-256-cbc -K $encrypted_8daf19481253_key -iv $encrypted_8daf19481253_iv -in .travis/gcs-credentials.json.enc -out .travis/gcs-credentials.json -d
68 install: sudo apt-get install -y gnupg libcap2-bin zlib1g-dev uuid-dev fakeroot
69 script: ".travis/create_artifacts.sh"
70 deploy:
.travis/README.md
+12 -12
@@ -5,10 +5,9 @@
5 - GITHUB_TOKEN - GitHub token with push access to repository
6 - DOCKER_USERNAME - Username (netdatabot) with write access to docker hub repository
7 - DOCKER_PASSWORD - Password to docker hub
8 -- encrypted_decb6f6387c4_key - Something to do with package releasing (soon to be deprecated)
9 -- encrypted_decb6f6387c4_iv - Something to do with package releasing (soon to be deprecated)
10 -- OLD_DOCKER_USERNAME - Username used to push images to firehol/netdata # TODO: remove after deprecating that repo
11 -- OLD_DOCKER_PASSWORD - Password used to push images to firehol/netdata # TODO: remove after deprecating that repo
8 +- encrypted_8daf19481253_key - key needed by openssl to decrypt GCS credentials file
9 +- encrypted_8daf19481253_iv - IV needed by openssl to decrypt GCS credentials file
10 +- COVERITY_SCAN_TOKEN - Token to allow coverity test analysis uploads
11
12 ## Stages
13
@@ -16,6 +15,7 @@
15
16 Unit tests and coverage tests are executed here. Stage consists of 2 parallel jobs:
17 - C tests - executed every time
18 + - dashboard.js - test if source files create the same file as it is in current repo
19 - coverity test - executed only when pipeline was triggered from cron
20
21 ### Build
@@ -38,12 +38,14 @@ This stage is executed only on "master" brach and allows us to create a new tag
38 It executes one script called `releaser.sh` which is responsible for creating a release on GitHub by using
39 [hub](https://github.com/github/hub). This script is also executing other scripts which can also be used in other
40 CI jobs:
41 - - `tagger.sh`
42 - - `generate_changelog.sh`
43 - - `build.sh`
44 - - `create_artifacts.sh`
41 + - `.travis/tagger.sh`
42 + - `.travis/generate_changelog.sh`
43 + - `packaging/docker/build.sh`
44 + - `.travis/create_artifacts.sh`
45
46 Alternatively new release can be also created by pushing new tag to master branch.
47 +Additionally this step is also executing `.travis/labeler.sh` which is a temporary workaround to automatically label
48 +issues and PR. This script should be replaced with GitHub Actions when they are available to public.
49
50 ##### tagger.sh
51
@@ -80,12 +82,10 @@ This is achieved by running 2 scripts described earlier:
82 - `create_artifacts.sh`
83 - `build.sh`
84
85 +Artifacts are pushed to GCS and container images are stored in docker hub.
86 +
87 ##### Changelog generation
88
89 This job is responsible for regenerating changelog every day by executing `generate_changelog.sh` script. This is done
90 only once a day due to github rate limiter.
91
88 -##### Labeler
89 -
90 -Once a day we are doing automatic label assignment by executing `labeler.sh`. This script is a temporary workaround until
91 -we start using GitHub Actions. For more information what it is currently doing go to its code.