Skip to content

Commit

Permalink
hotfix: config credentials (#76)
Browse files Browse the repository at this point in the history
Fixing release issues, no code changes
  • Loading branch information
nadav3396 authored Jun 26, 2024
1 parent 39a9013 commit bf0b2cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,5 @@ jobs:
- lumigo-orb/checkout_code
- run: mvn clean install
- run: ../utils/common_bash/defaults/code_cov.sh
- run: cd .. && git clone [email protected]:lumigo-io/larn.git
- run: ./scripts/bd_to_prod.sh
10 changes: 10 additions & 0 deletions scripts/bd_to_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ echo " \/ \/ /_____/ \/ ";
echo
echo "Deploy lumigo-java-tracer to maven repository server"

enc_location=../common-resources/encrypted_files/credentials_production.enc
if [[ ! -f ${enc_location} ]]
then
echo "$enc_location not found"
exit 1
fi
echo "Creating new credential files"
mkdir -p ~/.aws
echo ${KEY} | gpg --batch -d --passphrase-fd 0 ${enc_location} > ~/.aws/credentials

setup_git
echo "Getting latest changes from git"
changes=$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)
Expand Down

0 comments on commit bf0b2cd

Please sign in to comment.