diff --git a/.github/workflows/tests-integ.yml b/.github/workflows/tests-integ.yml index cd075bcbb..839c6f18d 100644 --- a/.github/workflows/tests-integ.yml +++ b/.github/workflows/tests-integ.yml @@ -26,6 +26,29 @@ jobs: role-duration-seconds: 900 role-session-name: IntegOidcAssumeRole role-external-id: ${{ secrets.SECRETS_OIDC_AWS_ROLE_EXTERNAL_ID }} + integ-oidc: + permissions: + contents: read + id-token: write + strategy: + fail-fast: false + matrix: + os: [[self-hosted, linux-fargate], windows-latest, ubuntu-latest, macos-latest] + name: Run OIDC integ tests + runs-on: ${{ matrix.os }} + timeout-minutes: 30 + steps: + - name: "Checkout repository" + uses: actions/checkout@v3 + - name: Integ test for OIDC + uses: ./ + with: + aws-region: us-west-2 + role-to-assume: ${{ secrets.SECRETS_OIDC_AWS_ROLE_TO_ASSUME }} + role-duration-seconds: 900 + role-session-name: IntegOidcAssumeRole + role-external-id: ${{ secrets.SECRETS_OIDC_AWS_ROLE_EXTERNAL_ID }} + allowed-account-ids: ${{ secrets.SECRETS_ALLOWED_ACCOUNT_IDS }} integ-oidc-env: permissions: contents: read