File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change 1- # Marks release in New Relic and/or Sentry
1+ # Marks release in Grafana and/or Sentry
22name : release marker
33
44on :
88 description : Revision that will be marked
99 required : true
1010 type : string
11- newRelicAccountId :
12- description : New Relic account ID
13- required : false
14- type : number
15- newRelicApplicationId :
16- description : New Relic application ID
17- required : false
18- type : string
1911 sentryOrg :
2012 description : Sentry Organization
2113 required : false
4941 required : false
5042 type : string
5143 default : ' default'
52-
44+
5345 secrets :
54- newRelicApiKey :
55- description : New Relic API key
56- required : false
5746 sentryAuthToken :
5847 description : Sentry authentication token
5948 required : false
6554 required : false
6655
6756jobs :
68- new_relic :
69- if : inputs.newRelicAccountId != ''
70- runs-on : ubuntu-latest
71- steps :
72- - name : mark
73- uses : newrelic/deployment-marker-action@v1
74- with :
75- apiKey : ${{ secrets.newRelicApiKey }}
76- accountId : ${{ inputs.newRelicAccountId }}
77- applicationId : ${{ inputs.newRelicApplicationId }}
78- revision : ${{ inputs.revision }}
79-
8057 grafana :
8158 if : inputs.revision != ''
8259 runs-on : ubuntu-latest
@@ -119,12 +96,12 @@ jobs:
11996 slack_notification_failure :
12097 if : failure() && inputs.slackChannelId != ''
12198 needs :
122- - new_relic
99+ - grafana
123100 - sentry
124101 uses : ./.github/workflows/slack.yaml
125102 with :
126103 slackChannelId : ${{ inputs.slackChannelId }}
127- subject : " marking release in new relic /sentry failed"
104+ subject : " marking release in new Grafana /sentry failed"
128105 revision : ${{ inputs.revision }}
129106 actorOverride : ${{ inputs.actorOverride }}
130107 jobStatus : failure
You can’t perform that action at this time.
0 commit comments