File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 9999 executor : ubuntu-large
100100 steps :
101101 - checkout
102+ - aws-cli/setup :
103+ role-arn : ${CIRCLECI_ROLE_ARN}
104+ aws-region : AWS_REGION
102105 - run :
103106 name : Build Docker Image
104107 command : |
@@ -176,9 +179,6 @@ jobs:
176179 pip install -r model-engine/requirements.txt
177180 - install_client
178181 - install_server
179- - aws-cli/setup :
180- role-arn : ${CIRCLECI_ROLE_ARN}
181- aws-region : AWS_REGION
182182 - run :
183183 name : Run integration tests
184184 command : |
Original file line number Diff line number Diff line change 11# Configmap for AWS credentials inside minikube.
22[default]
3- aws_access_key_id = $CIRCLECI_AWS_ACCESS_KEY
4- aws_secret_access_key = $CIRCLECI_AWS_SECRET_KEY
3+ aws_access_key_id = $AWS_ACCESS_KEY_ID
4+ aws_secret_access_key = $AWS_SECRET_ACCESS_KEY
5+ aws_session_token = $AWS_SESSION_TOKEN
Original file line number Diff line number Diff line change 33# See expect syntax here: https://manpages.ubuntu.com/manpages/trusty/man1/expect.1.html
44spawn minikube addons configure registry-creds
55expect "Do you want to enable AWS Elastic Container Registry?" { send "y\r" }
6- expect "Enter AWS Access Key ID:" { send "$CIRCLECI_AWS_ACCESS_KEY \r" }
7- expect "Enter AWS Secret Access Key:" { send "$CIRCLECI_AWS_SECRET_KEY \r" }
8- expect "Enter AWS Session Token:" { send "\r" }
6+ expect "Enter AWS Access Key ID:" { send "$AWS_ACCESS_KEY_ID \r" }
7+ expect "Enter AWS Secret Access Key:" { send "$AWS_SECRET_ACCESS_KEY \r" }
8+ expect "Enter AWS Session Token:" { send "$AWS_SESSION_TOKEN \r" }
99expect "Enter AWS Region:" { send "us-west-2\r" }
1010expect "Enter 12 digit AWS Account ID (Comma separated list):" { send "$CIRCLECI_AWS_ACCOUNT_ID\r" }
1111expect "Enter ARN of AWS role to assume:" { send "\r" }
You can’t perform that action at this time.
0 commit comments