Skip to content

controllers: deploy omap sidecar only when required #94

controllers: deploy omap sidecar only when required

controllers: deploy omap sidecar only when required #94

---
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)