Skip to content

Commit

Permalink
ci: add step to validate release manifests (#14089)
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Malone <[email protected]>
  • Loading branch information
MasonM authored Jan 16, 2025
1 parent b1a65e7 commit ff60e2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ jobs:
POD_STATUS_CAPTURE_FINALIZER=true 2>&1 | tee /tmp/argo.log &
make wait PROFILE=${{matrix.profile}} API=${{matrix.use-api}}
timeout-minutes: 5
- name: Validate release manifests
run: make manifests-validate
- name: Run tests ${{matrix.test}}
run: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ dist/manifests/%: manifests/%

# lint/test/etc

.PHONE: manifests-validate
manifests-validate:
kubectl apply --server-side --validate=strict --dry-run=server -f 'manifests/*.yaml'

$(GOPATH)/bin/golangci-lint: Makefile
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.61.0

Expand Down

0 comments on commit ff60e2f

Please sign in to comment.