-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from SmartCityFlensburg/main
Merge main into develop branch
- Loading branch information
Showing
6 changed files
with
41 additions
and
11 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 |
---|---|---|
|
@@ -113,7 +113,7 @@ jobs: | |
if: github.event_name == 'push' | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: release/${{ github.event.inputs.version }} | ||
branch: release/${{ env.RELEASE_VERSION }} | ||
|
||
- name: Push changes | ||
uses: CasperWA/push-protected@v2 | ||
|
@@ -125,9 +125,9 @@ jobs: | |
- name: Delete tag | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
tag_name: stage-deployment | ||
tag_name: stage-deployment | ||
delete_release: false | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create tag | ||
run: git tag -fa 'stage-deployment' -m "Update tag to commit ${{ env.COMMIT_SHA }}" | ||
|
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 |
---|---|---|
|
@@ -35,6 +35,16 @@ jobs: | |
- name: Bump version in package.json | ||
run: yarn version --new-version ${{ github.event.inputs.version }} --no-git-tag-version | ||
|
||
- name: "Setup yq" | ||
uses: dcarbone/[email protected] | ||
with: | ||
version: "v4.42.1" | ||
force: true | ||
|
||
- name : Bump version in values/prod.yaml | ||
run: | | ||
yq -i '.deployment.image.tag="${{ github.event.inputs.version }}"' ./k8s/values/prod.yaml | ||
- name: Commit changelog and manifest files | ||
id: make-commit | ||
run: | | ||
|
@@ -54,7 +64,7 @@ jobs: | |
head: release/${{ github.event.inputs.version }} | ||
base: main | ||
title: Release version ${{ github.event.inputs.version }} | ||
reviewers: ${{ github.actor }} | ||
reviewers: ${{ github.actor }} | ||
body: | | ||
Hi @${{ github.actor }}! 👋 | ||
|
@@ -142,8 +152,8 @@ jobs: | |
- name: Delete tag | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
tag_name: stage-deployment | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name: stage-deployment | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create tag | ||
run: git tag -fa 'stage-deployment' -m "Update tag to commit ${{ env.COMMIT_SHA }}" | ||
|
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
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