Skip to content

Commit 3d83bbc

Browse files
authored
test: add a job to invoke code build project in us-east-1 (aws#5900)
* test: add a job to invoke code build project in another account * test: add job for gpu_intensive workflow to run nova tests in us east 1
1 parent 16ffb94 commit 3d83bbc

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/gpu-integ-tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,18 @@ jobs:
2222
with:
2323
project-name: sagemaker-python-sdk-ci-health-gpu-integ-tests
2424
source-version: refs/heads/master
25+
26+
gpu-integ-tests-us-east-1:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Configure AWS Credentials (us-east-1)
30+
uses: aws-actions/configure-aws-credentials@v4
31+
with:
32+
role-to-assume: ${{ secrets.CI_AWS_ROLE_US_EAST_1_ARN }}
33+
aws-region: us-east-1
34+
role-duration-seconds: 10800
35+
- name: Run GPU Integ Tests (us-east-1)
36+
uses: aws-actions/aws-codebuild-run-build@v1
37+
with:
38+
project-name: sagemaker-python-sdk-ci-health-gpu-integ-tests
39+
source-version: refs/heads/master

.github/workflows/pr-checks-master.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,21 @@ jobs:
215215
with:
216216
project-name: ${{ github.event.repository.name }}-ci-${{ matrix.submodule }}-integ-tests
217217
source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'
218+
219+
integ-tests-us-east-1:
220+
runs-on: ubuntu-latest
221+
needs: [detect-changes]
222+
if: contains(fromJson(needs.detect-changes.outputs.submodules), 'sagemaker-train')
223+
steps:
224+
- name: Configure AWS Credentials (us-east-1)
225+
uses: aws-actions/configure-aws-credentials@v4
226+
with:
227+
role-to-assume: ${{ secrets.CI_AWS_ROLE_US_EAST_1_ARN }}
228+
aws-region: us-east-1
229+
role-duration-seconds: 10800
230+
231+
- name: Run us-east-1 Integ Tests for sagemaker-train
232+
uses: aws-actions/aws-codebuild-run-build@v1
233+
with:
234+
project-name: ${{ github.event.repository.name }}-ci-sagemaker-train-integ-tests
235+
source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'

0 commit comments

Comments
 (0)