Skip to content

Commit bf0b2cd

Browse files
authored
hotfix: config credentials (#76)
Fixing release issues, no code changes
1 parent 39a9013 commit bf0b2cd

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,5 @@ jobs:
100100
- lumigo-orb/checkout_code
101101
- run: mvn clean install
102102
- run: ../utils/common_bash/defaults/code_cov.sh
103+
- run: cd .. && git clone [email protected]:lumigo-io/larn.git
103104
- run: ./scripts/bd_to_prod.sh

scripts/bd_to_prod.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ echo " \/ \/ /_____/ \/ ";
2222
echo
2323
echo "Deploy lumigo-java-tracer to maven repository server"
2424

25+
enc_location=../common-resources/encrypted_files/credentials_production.enc
26+
if [[ ! -f ${enc_location} ]]
27+
then
28+
echo "$enc_location not found"
29+
exit 1
30+
fi
31+
echo "Creating new credential files"
32+
mkdir -p ~/.aws
33+
echo ${KEY} | gpg --batch -d --passphrase-fd 0 ${enc_location} > ~/.aws/credentials
34+
2535
setup_git
2636
echo "Getting latest changes from git"
2737
changes=$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)

0 commit comments

Comments
 (0)