From 0403f2024fa72e8b46f0850416d342745011a49b Mon Sep 17 00:00:00 2001 From: Lucas McDonald Date: Thu, 7 Nov 2024 12:45:38 -0800 Subject: [PATCH] m --- .github/workflows/ci_codebuild-tests.yml | 29 ++++++++++++++++++++++++ .github/workflows/ci_tests.yaml | 15 ------------ 2 files changed, 29 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/ci_codebuild-tests.yml diff --git a/.github/workflows/ci_codebuild-tests.yml b/.github/workflows/ci_codebuild-tests.yml new file mode 100644 index 000000000..ed2b7357f --- /dev/null +++ b/.github/workflows/ci_codebuild-tests.yml @@ -0,0 +1,29 @@ +name: AWS CodeBuild CI + +on: + pull_request: + push: + # Run once a day + schedule: + - cron: '0 0 * * *' + +permissions: + id-token: write + contents: read + +jobs: + codebuild-tests: + name: AWS CodeBuild CI + runs-on: ubuntu-latest + steps: + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} + aws-region: us-west-2 + role-duration-seconds: 3600 + - name: Run CodeBuild CI + uses: aws-actions/aws-codebuild-run-build@v1 + timeout-minutes: 60 + with: + project-name: python-esdk diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 39ec42f48..e9388e092 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -83,18 +83,3 @@ jobs: env: TOXENV: ${{ matrix.category }} run: tox -- -vv - codebuild-tests: - name: CodeBuild CI - runs-on: ubuntu-latest - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} - aws-region: us-west-2 - role-duration-seconds: 3600 - - name: Run CodeBuild CI - uses: aws-actions/aws-codebuild-run-build@v1 - timeout-minutes: 60 - with: - project-name: python-esdk