Skip to content

Commit

Permalink
feat: chart release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Jul 14, 2021
1 parent 6596592 commit b819284
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Charts

on:
push:
branches:
- main
- develop
- feat/dag-trigger-chart-91

jobs:
release:
runs-on: ubuntu-latest
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: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.6.2

# Needed to release the cas-airflow chart
- name: Add helm repos
run: |
helm repo add charts-incubator https://charts.helm.sh/incubator
helm repo add charts-stable https://charts.helm.sh/stable
helm repo add cas-postgres https://bcgov.github.io/cas-postgres/
helm repo add apache-airflow "https://airflow.apache.org/"
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion helm/cas-airflow-dag-trigger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ airflowSecret:
key: default-user-pass
image:
repository: gcr.io/ggl-cas-storage/cas-airflow-dag-trigger
tag: 4c812e37720e147971d1b8f5a10ed0cd61b9018c
tag: 0.0.1
pullPolicy: Always

0 comments on commit b819284

Please sign in to comment.