Skip to content

Commit

Permalink
CI: Use kubeconform instead of kubeval
Browse files Browse the repository at this point in the history
kubeval is unmaintained:
instrumenta/kubernetes-json-schema#26
  • Loading branch information
remram44 committed May 17, 2021
1 parent 0c1ab14 commit 06b3f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ frontend:
k8s_configs:
stage: test
before_script:
- curl -Lo /tmp/kubeval.tar.gz https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-linux-386.tar.gz && tar -xf /tmp/kubeval.tar.gz -C /usr/local/bin kubeval && rm /tmp/kubeval.tar.gz
- curl -Lo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.4.7/kubeconform-linux-amd64.tar.gz && tar -xf /tmp/kubeconform.tar.gz -C /usr/local/bin && rm /tmp/kubeconform.tar.gz
script:
- kubeval --strict contrib/k8s/*.yml
- kubeconform --kubernetes-version 1.19.0 --strict contrib/k8s/*.yml

pages-test:
stage: test
Expand Down

0 comments on commit 06b3f97

Please sign in to comment.