diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e83764a..0a2fcda 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,7 @@ jobs: run: | curl -L https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar -zxf - sudo mv kubeconform /usr/local/bin + kubeconform -v - name: check all yaml run: | ./bin/test.sh | tee -a apply.txt diff --git a/bin/test.sh b/bin/test.sh index 1daf257..aa3ae18 100755 --- a/bin/test.sh +++ b/bin/test.sh @@ -96,6 +96,8 @@ setup_colors # script logic here +kubeconform -v + ( cd ${abs_script_dir}/.. || exit 1 comm -3 <(find . | grep yaml$ | sort) <(cat .kubeconform-ignore | sort) | xargs -n1 kubeconform --strict -ignore-missing-schemas -kubernetes-version $k8s_version