Skip to content

Commit

Permalink
[CI] Add kubectl kustomize run to check our manifests definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jstourac committed May 29, 2024
1 parent 98a9225 commit bd9f04c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ jobs:
echo "Starting Hadolint"
find . -name "Dockerfile" | xargs ./hadolint --config ./ci/hadolint-config.yaml
echo "Hadolint done"
# This simply checks that the manifests and respective kustomization.yaml finishes without an error.
- name: Check kustomize manifest
id: kustomize-manifests
run: |
type kubectl || echo TODO
echo "Starting 'kubectl kustomize manifests/base'"
kubectl kustomize manifests/base
echo "Starting 'kubectl kustomize manifests/overlays/additional'"
kubectl kustomize manifests/overlays/additional

Check warning on line 63 in .github/workflows/code-quality.yaml

View workflow job for this annotation

GitHub Actions / code-static-analysis

63:58 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit bd9f04c

Please sign in to comment.