Update Helm release tempo-distributed to v1.26.2 (production) #123191
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
show-progress: false | |
- uses: azure/setup-helm@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2 | |
with: | |
version: v3.8.0 | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yml | |
- name: Helm template | |
run: | | |
mkdir helm-dist | |
for c in charts/*; do | |
helm template "$(basename "$c")" "$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://alphagov.github.io/govuk-crd-library/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json" | |
-summary | |
helm-dist | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0 | |
env: | |
SHELLCHECK_OPTS: -xP SCRIPTDIR | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- run: yamllint --version && yamllint -f github . | |
promtool: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Run promtool checks | |
uses: ./.github/actions/promtool | |
with: | |
args: > | |
check rules $(find charts/monitoring-config/rules -name '*.yaml' \ | |
-not -name '*_tests.yaml') | |
- name: Run promtool tests | |
uses: ./.github/actions/promtool | |
with: | |
args: test rules charts/monitoring-config/rules/*_tests.yaml |