Skip to content

Commit 876b724

Browse files
authored
Merge pull request opendatahub-io#545 from jstourac/addCiKustomize
[CI] Add `kubectl kustomize` run to check our manifests definition
2 parents 1a1db84 + 34bafd4 commit 876b724

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/code-quality.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,18 @@ jobs:
5151
echo "Starting Hadolint"
5252
find . -name "Dockerfile" | xargs ./hadolint --config ./ci/hadolint-config.yaml
5353
echo "Hadolint done"
54+
55+
# This simply checks that the manifests and respective kustomization.yaml finishes without an error.
56+
- name: Check kustomize manifest
57+
id: kustomize-manifests
58+
run: |
59+
kubectl version --client=true
60+
echo "----------------------------------------------------------"
61+
echo "Starting 'kubectl kustomize manifests/base'"
62+
echo "----------------------------------------------------------"
63+
kubectl kustomize manifests/base
64+
65+
echo "----------------------------------------------------------"
66+
echo "Starting 'kubectl kustomize manifests/overlays/additional'"
67+
echo "----------------------------------------------------------"
68+
kubectl kustomize manifests/overlays/additional

0 commit comments

Comments
 (0)