fix: resolve intermittent 429 failures in namespace scoping e2e tests… #32
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| paths: | |
| - 'maas-controller/api/**' | |
| - 'maas-controller/Makefile' | |
| - 'deployment/base/maas-controller/crd/**' | |
| - 'deployment/**' | |
| - '.github/workflows/build-test.yml' | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| validate-manifests: | |
| name: Validate Kustomize manifests | |
| timeout-minutes: 10 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-validate-manifests | |
| cancel-in-progress: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install kustomize | |
| uses: imranismail/setup-kustomize@v2 | |
| with: | |
| kustomize-version: '5.7.1' | |
| - name: Validate Kustomize manifests | |
| run: | | |
| ./scripts/ci/validate-manifests.sh | |
| verify-codegen: | |
| name: Verify generated CRDs and deepcopy | |
| timeout-minutes: 10 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-verify-codegen | |
| cancel-in-progress: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: maas-controller/go.mod | |
| cache: true | |
| cache-dependency-path: maas-controller/go.sum | |
| - name: Verify generated code is up to date | |
| working-directory: maas-controller | |
| run: make verify-codegen |