-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* improvements for CI
- Loading branch information
Showing
3 changed files
with
22 additions
and
20 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
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,20 +1,14 @@ | ||
name: Releasing Helm charts. | ||
|
||
concurrency: develop_cluster | ||
|
||
on: | ||
push: | ||
paths: | ||
- "charts/testkube/Chart.yaml" | ||
- "charts/testkube-api/Chart.yaml" | ||
- "charts/testkube-operator/Chart.yaml" | ||
branches: | ||
- main | ||
repository_dispatch: | ||
types: | ||
[release-testkube-api-charts, release-testkube-operator-charts] | ||
|
||
env: | ||
PROJECT_ID: ${{ secrets.GKE_PROJECT }} | ||
GKE_CLUSTER_NAME: ${{ secrets.GKE_CLUSTER_NAME_DEVELOP }} # Add your cluster name here. | ||
GKE_ZONE: ${{ secrets.GKE_ZONE_DEVELOP }} # Add your cluster zone here. | ||
GKE_CLUSTER_NAME: ${{ secrets.GKE_CLUSTER_NAME_DEVELOP }} | ||
GKE_ZONE: ${{ secrets.GKE_ZONE_DEVELOP }} | ||
|
||
jobs: | ||
release_charts: | ||
|
@@ -41,6 +35,14 @@ jobs: | |
helm repo add helm-charts https://kubeshop.github.io/helm-charts | ||
helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami | ||
- name: Update main Chart.yaml | ||
run: | | ||
export RELEASE_VERSION=${{ github.event.client_payload.RELEASE_VERSION }} | ||
cd ./scripts | ||
chmod +x main_chart_releaser.sh | ||
./chart_releaser.sh --helm-chart-folder testkube-${{ github.event.client_payload.SERVICE }} | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
|
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