-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
22 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 |
---|---|---|
|
@@ -942,25 +942,10 @@ jobs: | |
with: | ||
strip_v: false | ||
|
||
- name: Editing helm-release repo with version based on a Tag pushed. | ||
run: | | ||
# Setting up Git: | ||
git clone https://kubeshop-bot:[email protected]/kubeshop/helm-charts | ||
cd ./helm-charts | ||
git config user.name "kubeshop-bot" | ||
git config user.email "[email protected]" | ||
export GH_TOKEN | ||
export RELEASE_VERSION | ||
export SERVICE | ||
git fetch origin main | ||
git checkout main | ||
cd ./scripts | ||
./chart_releaser.sh --helm-chart-folder testkube-$SERVICE | ||
env: | ||
SERVICE: api | ||
GH_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | ||
RELEASE_VERSION: ${{ steps.tag.outputs.tag }} | ||
- name: Repository Dispatch | ||
uses: peter-evans/repository-dispatch@v3 | ||
with: | ||
token: ${{ secrets.CI_BOT_TOKEN }} | ||
repository: kubeshop/helm-charts | ||
event-type: release-testkube-api-charts | ||
client-payload: '{"RELEASE_VERSION": "${{ steps.tag.outputs.tag }}", "SERVICE": "api"}' |