Skip to content

Commit

Permalink
Kubeconform version
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmiell committed May 4, 2022
1 parent e3aa355 commit b5c1024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5c1024

Please sign in to comment.