Skip to content

Commit

Permalink
unified helm chart cd flow (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mqxter authored Sep 5, 2024
1 parent 00b431c commit dde74ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-chart-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ jobs:
cd ${{ inputs.charts-dir }}/${{ inputs.chart-name }}
version=$(cat Chart.yaml | yq e '.version')
helm package . --version $version-${{ inputs.environment }}
mkdir .cr-release-packages
cp ${{ inputs.chart-name }}-$version-${{ inputs.environment }}.tgz .cr-release-packages/
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: common
skip_packaging: true
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CR_PACKAGE_PATH: ${{ inputs.charts-dir }}/${{ inputs.chart-name }}/.cr-release-packages
6 changes: 3 additions & 3 deletions .github/workflows/release-unified-chart-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ name: release unified-chart flow
on:
push:
branches:
- test-unified-chart-release
- master

jobs:
release-stg:
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@test-unified-chart-release
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@master
with:
environment: stg
release-ca:
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@test-unified-chart-release
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@master
with:
environment: ca
7 changes: 1 addition & 6 deletions common/unified-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ name: unified-chart
description: Frontegg Unified Chart
type: application

version: 4.0.1
# version: 4.0.1-stg
# version: 4.0.1-ca
# version: 4.0.1-au
# version: 4.0.1-us
# version: 4.0.1-eu
version: 4.0.5

maintainers:
- name: "platform"
Expand Down

0 comments on commit dde74ac

Please sign in to comment.