update kubeconform workflow to install findutils and improve manifest validation command
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 48s
This commit is contained in:
@@ -12,10 +12,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm kubeconform git
|
pacman -Syu --noconfirm kubeconform git findutils
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
|
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
|
||||||
- name: Validate Manifests
|
- name: Validate Manifests
|
||||||
run: |
|
run: |
|
||||||
kubeconform -verbose -summary -schema-location default /mnt/**/*.yml
|
find /mnt -type f \( -iname "*.yml" -o -iname "*.yaml" \) -print0 | xargs -0 --no-run-if-empty kubeconform -verbose -summary -schema-location default
|
||||||
|
|||||||
Reference in New Issue
Block a user