Skip to content

Commit

Permalink
source aws-configure.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Shay Gordon <shay@blockchaintp.com>
  • Loading branch information
camembertelectrique committed Jan 29, 2020
1 parent 92bacef commit fd2ae44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ pipeline {
credentialsId: 'a61234f8-c9f7-49f3-b03c-f31ade1e885a',
secretKeyVariable: 'AWS_SECRET_ACCESS_KEY']]) {
sh '''
docker run -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY --entrypoint /bin/bash ledger-api-testtool:${ISOLATION_ID} -c "./aws-configure.sh && aws qldb delete-ledger --name ${ISOLATION_ID}"
docker run -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY --entrypoint /bin/bash ledger-api-testtool:${ISOLATION_ID} -c "./was-configure.sh && aws s3 rb s3://valuestore-${ISOLATION_ID} --force"
docker run -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY --entrypoint /bin/bash ledger-api-testtool:${ISOLATION_ID} -c "source ./aws-configure.sh && aws qldb delete-ledger --name ${ISOLATION_ID}"
docker run -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY --entrypoint /bin/bash ledger-api-testtool:${ISOLATION_ID} -c "source ./was-configure.sh && aws s3 rb s3://valuestore-${ISOLATION_ID} --force"
'''
}
sh 'docker-compose -f docker/docker-compose-build.yaml down'
Expand Down

0 comments on commit fd2ae44

Please sign in to comment.