controllers: new controller for maintenance mode #74
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: verify-generated | |
on: | |
push: | |
branches: ['*'] | |
paths: | |
- hack/** | |
- Makefile | |
- config/manager/csi-images.yaml | |
- go.mod | |
- go.sum | |
- vendor | |
pull_request: | |
branches: ['*'] | |
paths: | |
- hack/** | |
- Makefile | |
- config/manager/csi-images.yaml | |
- go.mod | |
- go.sum | |
- vendor | |
jobs: | |
csi-images-manifest: | |
name: verify-generated-changes | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Verify go deps | |
run: make godeps-verify | |
- name: Verify bundle | |
run: | | |
make bundle | |
msg='Uncommitted bundle changes. Run `make bundle` and commit results.' | |
git diff --exit-code bundle || (echo -e '\e[31m'"$msg"; exit 1) |