This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
chore(deps): update actions/setup-python digest to 65d7f2d #147
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: Lint Charts | |
on: | |
pull_request: | |
paths: | |
- "charts/**" | |
- ".github/**" | |
jobs: | |
check-metadata: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 | |
with: | |
python-version: 3.7 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 | |
with: | |
go-version: ^1 | |
- name: Setup helm-docs | |
run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest | |
- name: Run pre-commit | |
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # renovate: tag=v3.0.0 | |
with: | |
extra_args: --show-diff-on-failure | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # renovate: tag=v3.5 | |
with: | |
version: v3.10.0 | |
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # renovate: tag=v2.4.0 | |
- name: "Add NGINX Ingress and Bitnami Repository" | |
run: | | |
helm repo add ingress-nginx "https://kubernetes.github.io/ingress-nginx" | |
helm repo add bitnami "https://charts.bitnami.com/bitnami" | |
helm repo add backstage https://backstage.github.io/charts | |
helm repo update | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yaml | |
- name: Create KIND Cluster | |
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 | |
- name: Install Ingress Controller | |
run: "helm install ingress-nginx/ingress-nginx --generate-name --set controller.service.type='NodePort' --set controller.admissionWebhooks.enabled=false" | |
- name: Run chart-testing (install) | |
# using nightly-20231004 tag as a temporary workaround until latest tag is fixed (https://github.com/janus-idp/backstage-showcase/issues/545) | |
run: ct install --config ct-install.yaml --helm-extra-set-args="--set=upstream.backstage.image.tag=nightly-20231004" |