Add lifecycle support for LAPI #141
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 Crowdsec Chart | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'charts/crowdsec/values.yaml' | |
- 'charts/crowdsec/Chart.yaml' | |
- 'charts/crowdsec/templates/**.yaml' | |
jobs: | |
kind: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.10.0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: helm lint ./charts/crowdsec/ -f ./charts/crowdsec/ci/crowdsec-values.yaml | |
- name: Create kind cluster | |
uses: helm/[email protected] | |
- name: Run chart-testing (install) | |
run: ct install --charts ./charts/crowdsec |