ci: setup-cluster
for E2E Upgrade workflow (#5226)
#763
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' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: ./.github/actions/install-deps | |
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 | |
with: | |
role-to-assume: 'arn:aws:iam::${{ vars.ECR_ACCOUNT_ID }}:role/${{ vars.ECR_SNAPSHOT_ROLE_NAME }}' | |
aws-region: ${{ vars.ECR_REGION }} | |
- run: make docgen | |
- run: make codegen | |
env: | |
ENABLE_GIT_PUSH: false |