From 06b3f97bbd62a6478906dd2325240d19ee14d0aa Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Mon, 17 May 2021 19:36:26 -0400 Subject: [PATCH] CI: Use kubeconform instead of kubeval kubeval is unmaintained: https://github.com/instrumenta/kubernetes-json-schema/issues/26 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 319d60da..fc71d001 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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