This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move deploy/helm to charts/gubernator, add automatic Helm repository …
…regeneration to the on-release action
- Loading branch information
Showing
10 changed files
with
16 additions
and
6 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 |
---|---|---|
|
@@ -13,7 +13,11 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: Update 'version' file | ||
run: echo "${{ github.event.release.tag_name }}" > version | ||
run: | | ||
export VERSION="${{ github.event.release.tag_name }}" | ||
echo "$VERSION" > version | ||
sed -i "s/^version:.*$/version: ${VERSION:1}/" charts/gubernator/Chart.yaml | ||
sed -i "s/^appVersion:.*$/appVersion: ${VERSION:1}/" charts/gubernator/Chart.yaml | ||
# Buildx Needs QEMU | ||
- name: Set up QEMU | ||
|
@@ -47,4 +51,10 @@ jobs: | |
default_author: github_actions | ||
message: 'Update version number' | ||
branch: master | ||
add: 'version' | ||
add: '["version", "charts/gubernator/Chart.yaml"]' | ||
|
||
# Publish the Helm chart | ||
- name: Publish Helm chart | ||
uses: stefanprodan/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
apiVersion: v2 | ||
name: helm | ||
name: gubernator | ||
description: A Helm Chart for gubernator | ||
|
||
type: application | ||
|
||
version: 1.0.0 | ||
version: 2.0.0-rc.19 | ||
|
||
appVersion: "1.0.0" | ||
appVersion: 2.0.0-rc.19 |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
deploy/helm/templates/hpa.yaml → charts/gubernator/templates/hpa.yaml
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.