-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move unified chart - establish release proccess attempt(#22)
- Loading branch information
Showing
35 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
name: release chart single version | ||
permissions: write-all | ||
on: | ||
workflow_call: | ||
inputs: | ||
environment: | ||
required: true | ||
type: string | ||
charts-dir: | ||
required: false | ||
type: string | ||
default: common | ||
chart-name: | ||
required: false | ||
type: string | ||
default: unified-chart | ||
|
||
jobs: | ||
release-chart: | ||
permissions: | ||
contents: write | ||
environment: ${{ inputs.environment }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Set up Helm | ||
uses: azure/setup-helm@v3 | ||
- name: package chart | ||
run: | | ||
cd ${{ inputs.charts-dir }}/${{ inputs.chart-name }} | ||
version=$(cat Chart.yaml | yq e '.version') | ||
helm package . --version $version-${{ inputs.environment }} | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: common | ||
skip_packaging: true | ||
env: | ||
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: release unified-chart flow | ||
|
||
on: | ||
push: | ||
branches: | ||
- test-unified-chart-release | ||
|
||
jobs: | ||
release-stg: | ||
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@test-unified-chart-release | ||
with: | ||
environment: stg | ||
release-ca: | ||
uses: frontegg/helm-charts/.github/workflows/release-chart-version.yaml@test-unified-chart-release | ||
with: | ||
environment: ca |
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.