diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 20cf63f..31c616d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -57,10 +57,17 @@ jobs: ekstest: environment: test runs-on: ubuntu-latest + permissions: + id-token: write + contents: read # Have enough timeout for `make e2e` # which requires up to 45 minutes to run. timeout-minutes: 55 steps: + - uses: aws-actions/configure-aws-credentials@v1 + with: + aws-region: 'ap-northeast-1' + role-to-assume: ${{ secrets.AWS_ROLE_TEST }} - name: Checkout uses: actions/checkout@v4 with: @@ -72,8 +79,13 @@ jobs: with: go-version: '1.21.3' check-latest: true + - name: Install cloud-provider-kind + run: make cloud-provider-kind - name: Run E2E tests on EKS run: make e2e/ekstest + env: + KIND_IMAGE: ${{ matrix.kind_image }} + VPC_ID: ${{ secrets.VPC_ID }} golangci: name: lint runs-on: ubuntu-latest