WIP: Create charts #2
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: Release Charts | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.4.0 | |
- name: Add deps | |
run: | | |
helm repo add gdscan https://gdatasoftwareag.github.io/gdscan/ | |
helm repo add bitnami https://charts.bitnami.com/bitnami/ | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Install deps | |
run: ct install | |
- name: Run chart-testing (lint) | |
run: ct lint --validate-maintainers=false --charts charts/vaas | |
- name: Run chart-releaser | |
if: github.ref == 'refs/heads/main' | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.BOT_SECRET }}" |