Skip to content

Commit

Permalink
test(travis): add encrypted credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Jun 2, 2020
1 parent cd9a99e commit f2f4846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .utility/decrypt-service-instance-apikeys.sh
@@ -1,8 +1,8 @@
#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo -e "Decrypt service instance apikeys for branch $TRAVIS_BRANCH.\n"
openssl aes-256-cbc -K $encrypted_42d9c68e608d_key -iv $encrypted_42d9c68e608d_iv -in secrets.tar.enc -out secrets.tar -d
tar xvf secrets.tar
openssl aes-256-cbc -K $encrypted_75da58c42a01_key -iv $encrypted_75da58c42a01_iv \
-in config.properties.enc -out common/src/test/resources/config.properties -d
else
echo -e "Not Decrypt service instance apikeys for branch $TRAVIS_BRANCH.\n"
fi
Binary file added config.properties.enc
Binary file not shown.

0 comments on commit f2f4846

Please sign in to comment.