Update datagovuk_find image tags for integration to 6957a08966ac23a65… #1116
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linting | |
on: [push] | |
jobs: | |
chart-testing: | |
name: Chart testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yaml | |
- name: Helm template | |
run: | | |
mkdir helm-dist | |
for c in $(ls charts) | |
do | |
helm template "${c}" "charts/${c}" --output-dir helm-dist | |
done | |
- name: Read Kubernetes version from /kubernetes_version | |
run: "grep KUBERNETES_VERSION kubernetes_version >> $GITHUB_ENV" | |
- name: kubeconform | |
uses: docker://ghcr.io/yannh/kubeconform:latest-alpine | |
with: | |
entrypoint: /kubeconform | |
args: > | |
-kubernetes-version ${{ env.KUBERNETES_VERSION }} | |
-schema-location default | |
-schema-location | |
"https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" | |
-summary | |
helm-dist |