ci: E2E testing for local zones (#5321) #891
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
name: DocGenCI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v*' | |
jobs: | |
docgen-ci: | |
permissions: | |
id-token: write # aws-actions/[email protected] | |
if: github.repository == 'aws/karpenter-provider-aws' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./.github/actions/install-deps | |
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 | |
with: | |
role-to-assume: 'arn:aws:iam::${{ vars.READONLY_ACCOUNT_ID }}:role/${{ vars.READONLY_ROLE_NAME }}' | |
aws-region: ${{ vars.READONLY_REGION }} | |
- run: make docgen | |
- run: make codegen | |
env: | |
ENABLE_GIT_PUSH: false |