This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
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 and Test Charts | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
lint-test: | |
runs-on: cpu16 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.12.1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
with: | |
version: v3.8.0 | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yaml --debug | |
- name: Create kind cluster | |
uses: helm/[email protected] | |
- name: Run chart-testing (install) | |
timeout-minutes: 10 | |
run: | | |
ct install --config ct.yaml --helm-extra-set-args "--set=smtp.enabled=false --set=postgresql.enabled=true --set=minio.enabled=true --set=image.authRequired.enabled=true --set=image.registry=dl.qameta.io --set=image.repository=docker-internal --set=image.imageName=testops --set=image.authRequired.credsKubeSecretName=qameta-secret --set=image.authRequired.username=${{ secrets.ARTIFACTORY_USER }} --set=image.authRequired.password=${{ secrets.ARTIFACTORY_PASS }}" |