meta: bump system dependencies #103
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: Release Charts | |
on: | |
push: | |
paths: | |
- 'charts/**' | |
- '.github/**' | |
pull_request: | |
paths: | |
- 'charts/**' | |
- '.github/**' | |
jobs: | |
lint-chart: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Add helm repos | |
run: .github/add-repos.sh | |
- name: Run chart-testing (lint) | |
uses: helm/chart-testing-action@main | |
with: | |
command: lint | |
config: .github/ct.yaml | |
lint-docs: | |
runs-on: ubuntu-latest | |
needs: lint-chart | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run helm-docs | |
run: .github/helm-docs.sh | |
kubeval-chart: | |
runs-on: ubuntu-latest | |
needs: | |
- lint-chart | |
- lint-docs | |
strategy: | |
matrix: | |
k8s: | |
- v1.28.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Run kubeval | |
env: | |
KUBERNETES_VERSION: ${{ matrix.k8s }} | |
run: .github/kubeval.sh | |
release: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' | |
needs: | |
- lint-chart | |
- lint-docs | |
- kubeval-chart | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Add helm repos | |
run: .github/add-repos.sh | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |