Skip to content

Commit 0428628

Browse files
committed
ci: check e2e cluster templates in generated-changes-diff
The vm/docker/e2e cluster-template.yaml files under test/e2e/data/infrastructure-provider-byoh are generated by `make cluster-templates`/`cluster-templates-e2e` (kustomize builds), same class of committed-but-derived artifact as the CRDs/RBAC/deepcopy this check already covers. Add both targets to the check so drift there fails a PR too.
1 parent b361fc2 commit 0428628

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/generated-changes-diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323

2424
- name: Check that manifests and generated code have been committed
2525
run: |
26-
make manifests generate fmt
27-
git diff --exit-code && [ -z "$(git ls-files --others --exclude-standard)" ] || (echo "Generated files are out of date. Run 'make manifests generate fmt' locally and commit the result (including any newly generated files)." && exit 1)
26+
make manifests generate fmt cluster-templates cluster-templates-e2e
27+
git diff --exit-code && [ -z "$(git ls-files --others --exclude-standard)" ] || (echo "Generated files are out of date. Run 'make manifests generate fmt cluster-templates cluster-templates-e2e' locally and commit the result (including any newly generated files)." && exit 1)

0 commit comments

Comments
 (0)