chore: Alow service namespace override (#6849) #598
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: DryRunGen | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-v*' | |
- 'staging/*' | |
jobs: | |
dryrun-gen: | |
permissions: | |
id-token: write # aws-actions/configure-aws-credentials@v4.0.1 | |
if: github.repository == 'aws/karpenter-provider-aws' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- uses: ./.github/actions/install-deps | |
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 | |
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 | |
- run: make prepare-website | |
env: | |
GIT_TAG: v0.10000.0 # Mock version for testing website generation |