Add volumeMount for dynamic-plugins-registry-auth #89
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: Test Charts | |
on: | |
pull_request: | |
paths: | |
- "charts/**" | |
- ".github/**" | |
jobs: | |
check-metadata: | |
name: Lint Metadata | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5 | |
with: | |
python-version: 3.7 | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 | |
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-latest: | |
name: Test Latest Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 | |
- 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 --helm-extra-args="--set upstream.backstage.image.tag=latest --set global.clusterRouterBase=app.example.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 (latest) | |
# test with latest stable backstage-showcase release | |
run: ct install --config ct-install.yaml --helm-extra-set-args="--set=upstream.backstage.image.tag=latest --set=global.clusterRouterBase=app.example.com" | |
test-next: | |
name: Test Next Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 | |
- 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 --helm-extra-args="--set upstream.backstage.image.tag=next --set global.clusterRouterBase=app.example.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 (next) | |
# test with the next backstage-showcase version (main branch) | |
run: ct install --config ct-install.yaml --helm-extra-set-args="--set=upstream.backstage.image.tag=next --set=global.clusterRouterBase=app.example.com" |