2021-07-14 20:10:41 +01:00
|
|
|
name: helm-release
|
|
|
|
on:
|
|
|
|
push:
|
2021-08-20 18:06:58 -04:00
|
|
|
tags:
|
|
|
|
- 'helm-chart-v*'
|
2021-07-14 20:10:41 +01:00
|
|
|
|
|
|
|
jobs:
|
2021-07-21 01:06:56 +01:00
|
|
|
helm-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Unshallow
|
|
|
|
run: git fetch --prune --unshallow
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.7
|
|
|
|
|
|
|
|
- name: Set up chart-testing
|
|
|
|
uses: helm/chart-testing-action@v2.0.1
|
|
|
|
|
|
|
|
- name: Run chart-testing (lint)
|
|
|
|
run: ct lint --target-branch=main --check-version-increment=false
|
|
|
|
|
2021-07-14 20:10:41 +01:00
|
|
|
create-release:
|
|
|
|
runs-on: ubuntu-latest
|
2021-07-21 01:06:56 +01:00
|
|
|
needs: helm-tests
|
2021-07-14 20:10:41 +01:00
|
|
|
steps:
|
2021-07-19 21:01:17 +01:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2021-07-14 20:10:41 +01:00
|
|
|
- name: Install Helm
|
|
|
|
uses: azure/setup-helm@v1
|
|
|
|
with:
|
2021-07-20 00:15:33 -07:00
|
|
|
version: v3.4.1
|
2021-07-14 20:10:41 +01:00
|
|
|
|
|
|
|
- name: Run chart-releaser
|
|
|
|
uses: stefanprodan/helm-gh-pages@v1.4.1
|
|
|
|
with:
|
2021-07-20 12:49:37 -07:00
|
|
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
linting: off
|