Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: config credentials #76

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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