Skip to content

Commit

Permalink
Merge pull request #545 from jstourac/addCiKustomize
Browse files Browse the repository at this point in the history
[CI] Add `kubectl kustomize` run to check our manifests definition
  • Loading branch information
harshad16 committed May 31, 2024
2 parents 1a1db84 + 34bafd4 commit 876b724
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,18 @@ 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: |
kubectl version --client=true
echo "----------------------------------------------------------"
echo "Starting 'kubectl kustomize manifests/base'"
echo "----------------------------------------------------------"
kubectl kustomize manifests/base
echo "----------------------------------------------------------"
echo "Starting 'kubectl kustomize manifests/overlays/additional'"
echo "----------------------------------------------------------"
kubectl kustomize manifests/overlays/additional

0 comments on commit 876b724

Please sign in to comment.