Skip to content

Commit 997e96a

Browse files
chore: Nr1 integration changes - final clean up (#1775)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7d10fc4 commit 997e96a

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/internal-promotion.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
type: 'Basic'
9494
description: 'Staging promoted to ${{ needs.resolve-version.outputs.version_label }}'
9595
shortDescription: 'Staging: ${{ needs.resolve-version.outputs.version_label }}'
96+
deepLink: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
9697
commit: ${{ github.sha }}
9798
user: ${{ github.actor }}
9899
groupId: '${{ github.run_id }}-${{ github.sha }}'
@@ -109,7 +110,7 @@ jobs:
109110
with:
110111
notifications_channel_url: ${{ secrets.SLACK_BROWSER_AGENT_NOTIFICATIONS_WEBHOOK_URL }}
111112
dem_platform_ops_channel_url: ${{ secrets.SLACK_DEM_PLATFORM_OPS_WEBHOOK_URL }}
112-
message: ":rocket: Browser Agent promoted to \\`staging\\` environment.\\n*Version:* ${{ needs.resolve-version.outputs.version_label }}\\n*Asset:* ${{ needs.resolve-version.outputs.script_url }}\\nSee <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
113+
message: ":rocket: New Browser Agent version promoted to \\`staging\\` environment. See <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
113114

114115
# Step 2: Deploy to Japan Production
115116
deploy-jp-prod:
@@ -155,6 +156,7 @@ jobs:
155156
type: 'Rolling'
156157
description: 'JP production promoted to ${{ needs.resolve-version.outputs.version_label }}'
157158
shortDescription: 'JP Prod: ${{ needs.resolve-version.outputs.version_label }}'
159+
deepLink: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
158160
commit: ${{ github.sha }}
159161
user: ${{ github.actor }}
160162
groupId: '${{ github.run_id }}-${{ github.sha }}'
@@ -171,7 +173,7 @@ jobs:
171173
with:
172174
notifications_channel_url: ${{ secrets.SLACK_BROWSER_AGENT_NOTIFICATIONS_WEBHOOK_URL }}
173175
dem_platform_ops_channel_url: ${{ secrets.SLACK_DEM_PLATFORM_OPS_WEBHOOK_URL }}
174-
message: ":rocket: Browser Agent promoted to \\`jp-prod\\` environment.\\n*Version:* ${{ needs.resolve-version.outputs.version_label }}\\n*Asset:* ${{ needs.resolve-version.outputs.script_url }}\\nSee <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
176+
message: ":rocket: New Browser Agent version promoted to \\`jp-prod\\` environment. See <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
175177

176178
# Step 3: Deploy to EU Production
177179
deploy-eu-prod:
@@ -217,6 +219,7 @@ jobs:
217219
type: 'Rolling'
218220
description: 'EU production promoted to ${{ needs.resolve-version.outputs.version_label }}'
219221
shortDescription: 'EU Prod: ${{ needs.resolve-version.outputs.version_label }}'
222+
deepLink: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
220223
commit: ${{ github.sha }}
221224
user: ${{ github.actor }}
222225
groupId: '${{ github.run_id }}-${{ github.sha }}'
@@ -233,7 +236,7 @@ jobs:
233236
with:
234237
notifications_channel_url: ${{ secrets.SLACK_BROWSER_AGENT_NOTIFICATIONS_WEBHOOK_URL }}
235238
dem_platform_ops_channel_url: ${{ secrets.SLACK_DEM_PLATFORM_OPS_WEBHOOK_URL }}
236-
message: ":rocket: Browser Agent promoted to \\`eu-prod\\` environment.\\n*Version:* ${{ needs.resolve-version.outputs.version_label }}\\n*Asset:* ${{ needs.resolve-version.outputs.script_url }}\\nSee <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
239+
message: ":rocket: New Browser Agent version promoted to \\`eu-prod\\` environment. See <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
237240

238241
# Step 4: Deploy to US Production
239242
deploy-us-prod:
@@ -279,6 +282,7 @@ jobs:
279282
type: 'Rolling'
280283
description: 'US production promoted to ${{ needs.resolve-version.outputs.version_label }}'
281284
shortDescription: 'US Prod: ${{ needs.resolve-version.outputs.version_label }}'
285+
deepLink: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
282286
commit: ${{ github.sha }}
283287
user: ${{ github.actor }}
284288
groupId: '${{ github.run_id }}-${{ github.sha }}'
@@ -295,5 +299,5 @@ jobs:
295299
with:
296300
notifications_channel_url: ${{ secrets.SLACK_BROWSER_AGENT_NOTIFICATIONS_WEBHOOK_URL }}
297301
dem_platform_ops_channel_url: ${{ secrets.SLACK_DEM_PLATFORM_OPS_WEBHOOK_URL }}
298-
message: ":rocket: Browser Agent promoted to \\`us-prod\\` environment.\\n*Version:* ${{ needs.resolve-version.outputs.version_label }}\\n*Asset:* ${{ needs.resolve-version.outputs.script_url }}\\nSee <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
302+
message: ":rocket: New Browser Agent version promoted to \\`us-prod\\` environment. See <https://github.com/newrelic/newrelic-browser-agent/actions/runs/${{ github.run_id }}|workflow run>."
299303

0 commit comments

Comments
 (0)