fix: prevent finalizer from blocking subscription deletion when TRLP is in bad state #2727
Workflow file for this run
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/cmd/**' | |
| - 'maas-controller/pkg/**' | |
| - '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, RBAC, 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 |