-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Batch integration tests to use AWS resources in different reg…
…ion (#769) (#769) Summary: Pull Request resolved: #769 Use us-west-1 resources as part of Devops efforts. The resources will mirror original state and once things are stable we can turn off original region/resources. Differential Revision: D49363140 fbshipit-source-id: b5be6ca43e90bf4cbc8bf081aa29a9c8d64ac5e1
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,22 +23,22 @@ jobs: | |
- name: Configure AWS Credentials | ||
uses: aws-actions/[email protected] | ||
with: | ||
aws-region: us-west-2 | ||
role-to-assume: ${{ secrets.AWS_ROLE_ARN }} | ||
aws-region: us-west-1 | ||
role-to-assume: ${{ secrets.TF_AWS_ROLE_ARN }} | ||
role-session-name: github-torchx | ||
continue-on-error: true | ||
- name: Configure Docker | ||
run: | | ||
set -eux | ||
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 495572122715.dkr.ecr.us-west-2.amazonaws.com | ||
aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin 495572122715.dkr.ecr.us-west-1.amazonaws.com | ||
continue-on-error: true | ||
- name: Install dependencies | ||
run: | | ||
set -eux | ||
pip install -e .[dev] | ||
- name: Run AWS Batch Integration Tests | ||
env: | ||
AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }} | ||
AWS_ROLE_ARN: ${{ secrets.TF_AWS_ROLE_ARN }} | ||
run: | | ||
set -ex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters