mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-19 04:06:27 +00:00
Merge pull request #510 from stefanprodan/schema-ecosystem
ci: Use the ecosystem catalog for manifests validation
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Setup Helm
|
||||
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
|
||||
with:
|
||||
version: v4.1.0
|
||||
version: v4.2.3
|
||||
- name: Setup Kubernetes
|
||||
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
|
||||
with:
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Setup Helm
|
||||
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5.0.1
|
||||
with:
|
||||
version: v4.2.0
|
||||
version: v4.2.3
|
||||
- name: Setup QEMU
|
||||
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
||||
with:
|
||||
|
||||
@@ -10,7 +10,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
HELM_VERSION: 4.2.0
|
||||
HELM_VERSION: 4.2.3
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -40,10 +40,10 @@ jobs:
|
||||
- name: Validate Helm chart
|
||||
run: |
|
||||
helm lint ./charts/podinfo/
|
||||
helm template ./charts/podinfo/ | flux-schema validate --verbose
|
||||
helm template ./charts/podinfo/ | flux-schema validate -s ecosystem --verbose
|
||||
- name: Validate Kustomize overlay
|
||||
run: |
|
||||
kubectl kustomize ./kustomize/ | flux-schema validate --verbose
|
||||
kubectl kustomize ./kustomize/ | flux-schema validate -s ecosystem --verbose
|
||||
- name: Verify CUE formatting
|
||||
working-directory: ./timoni/podinfo
|
||||
run: |
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
working-directory: ./timoni/podinfo
|
||||
run: |
|
||||
timoni mod lint .
|
||||
timoni build podinfo . -f debug_values.cue | flux-schema validate --skip-missing-schemas --verbose
|
||||
timoni build podinfo . -f debug_values.cue | flux-schema validate -s ecosystem --verbose
|
||||
- name: Check if working tree is dirty
|
||||
run: |
|
||||
if [[ $(git diff --stat) != '' ]]; then
|
||||
|
||||
Reference in New Issue
Block a user