Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(travis): add encrypted credentials
- Loading branch information
1 parent
cd9a99e
commit f2f4846
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 not shown.