Skip to content

Commit

Permalink
Do not validate template for k8s 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodyludi committed Feb 26, 2024
1 parent fb2e497 commit 069b7dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pulsar-helm-chart-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
--validate-maintainers=false \
--target-branch ${{ github.event.repository.default_branch }}
- name: Run kubeconform check for helm template with every major k8s version 1.21.0-1.29.0
- name: Run kubeconform check for helm template with every major k8s version 1.22.0-1.29.0
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
PULSAR_CHART_HOME=$(pwd)
Expand All @@ -145,7 +145,7 @@ jobs:
kubeconform -schema-location default -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' -strict -kubernetes-version $kube_version -summary
}
set -o pipefail
for k8s_version_part in {21..29}; do
for k8s_version_part in {22..29}; do
k8s_version="1.${k8s_version_part}.0"
echo "Validating helm template with kubeconform for k8s version $k8s_version"
validate_helm_template_with_k8s_version $k8s_version
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
name: k8s-logs-${{ matrix.testScenario.shortname }}
path: /tmp/k8s-logs
retention-days: 7
if-no-files-found: ignore
if-no-files-found: ignore

- name: Wait for ssh connection when build fails
# ssh access is enabled for builds in own forks
Expand Down

0 comments on commit 069b7dd

Please sign in to comment.