Skip to content

Commit

Permalink
CI: Ensure bundle/yaml files are updated correctly (#1309)
Browse files Browse the repository at this point in the history
With this commit we add an additional step to the CI that ensures that
the generated yaml files are corrected checked-in to the git repo.

Signed-off-by: Jacob Baungard Hansen <[email protected]>
  • Loading branch information
jacobbaungard authored Feb 1, 2024
1 parent dfc42bd commit 453859a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lint
name: lint & check bundle

on:
push:
Expand Down Expand Up @@ -33,4 +33,14 @@ jobs:
${{ runner.os }}-go-
- name: Linting, Formatting & vetting
run: make lint
run: make lint

- name: install dependencies
run: cicd-scripts/install-dependencies.sh

- name: Make bundle
run: make bundle

# We exclude the dockerfile as we have manually modified that to use a different user
- name: check diff
run: git diff --exit-code -- . ':(exclude)operators/multiclusterobservability/bundle.Dockerfile'

0 comments on commit 453859a

Please sign in to comment.