Skip to content

Commit ffd018c

Browse files
committed
Add secrets (#254)
This time do it correctly.
1 parent 96b339b commit ffd018c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.travis.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,26 @@
1414

1515
language: java
1616
jdk:
17-
- oraclejdk8
17+
- oraclejdk8
1818
addons:
1919
apt:
2020
packages:
2121
- expect
2222
before_install:
23-
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv -in service-account.json.enc -out service-account.json -d
24-
&& export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json GCLOUD_PROJECT=cloud-samples-tests
25-
|| true
23+
- openssl aes-256-cbc -K $encrypted_d17a6ce39290_key -iv $encrypted_d17a6ce39290_iv
24+
-in gae-firebase-secrets.json.enc -out appengine/firebase-event-proxy/gae-firebase-event-proxy/src/main/webapp/gae-firebase-secrets.json
25+
-d
26+
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv
27+
-in service-account.json.enc -out service-account.json -d && export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json
28+
GCLOUD_PROJECT=cloud-samples-tests || true
2629
# Skip the install step, since Maven will download the dependencies we need
2730
# when the test build runs.
2831
# http://stackoverflow.com/q/31945809/101923
2932
# https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step
3033
install: true
3134
script: ./travis.sh
3235
after_success:
33-
- bash <(curl -s https://codecov.io/bash)
36+
- bash <(curl -s https://codecov.io/bash)
3437
branches:
3538
only:
3639
- master

gae-firebase-secrets.json.enc

2.31 KB
Binary file not shown.

0 commit comments

Comments
 (0)