mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-25 19:18:42 -05:00
33 lines
938 B
YAML
33 lines
938 B
YAML
name: Helm Test
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
test:
|
|
name: Test Helm Chart
|
|
if: contains(github.event.pull_request.labels.*.name, 'documentation') != true
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
clean: true
|
|
fetch-depth: 0
|
|
|
|
- name: Activate twingate to access artifactory
|
|
uses: twingate/github-action@main
|
|
with:
|
|
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
|
|
|
|
- uses: azure/setup-helm@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.9
|
|
|
|
- name: Set up chart-testing
|
|
uses: helm/chart-testing-action@v2
|
|
|
|
- name: Run chart-testing (lint)
|
|
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos artifactory=https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
|