Skip to content

Commit

Permalink
[ci] Use mbx-ci for fetching AWS credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
mr1sunshine committed May 28, 2021
1 parent 44f0159 commit 68c2c9c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@ jobs:
IS_LOCAL_DEVELOPMENT: false
steps:
- checkout
- run:
name: Set up mbx-ci environment
command: |
system=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | sed 's/x86_64/amd64/')
filename=mbx-ci-${system}-${arch}
curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/${filename} > mbx-ci
chmod 755 ./mbx-ci
export MBX_CI_DOMAIN=o619qyc20d.execute-api.us-east-1.amazonaws.com
echo "export MBX_CI_DOMAIN=$MBX_CI_DOMAIN" >> $BASH_ENV
- run:
name: Set AWS credentials
command: |
echo "export AWS_SDK_LOAD_CONFIG=1" >> $BASH_ENV
./mbx-ci aws setup
- run:
name: Generate Maven credentials
shell: /bin/bash -euo pipefail
Expand Down

0 comments on commit 68c2c9c

Please sign in to comment.