-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add release version to helm chart and grafana annoation
- Loading branch information
1 parent
e8a2722
commit d481f18
Showing
2 changed files
with
17 additions
and
7 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 |
---|---|---|
|
@@ -81,12 +81,17 @@ jobs: | |
if: inputs.revision != '' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: get release version from revision | ||
id: releaseVer | ||
run: | | ||
release=$(git tag --contains ${{ inputs.revision }}) | ||
- name: mark release | ||
uses: frankie567/[email protected] | ||
with: | ||
apiHost: https://grafana.apify.dev | ||
apiToken: ${{ secrets.grafanaApiToken}} | ||
text: ${{ inputs.environment }} - Deployment of ${{ inputs.revision }} | ||
text: ${{ inputs.environment }} - Deployment of ${{ steps.releaseVer.outputs.stdout }}-${{ inputs.revision }} | ||
tags: deployment,github,${{ inputs.environment }},${{ inputs.grafanaAnnotationTag }} | ||
|
||
sentry: | ||
|