@cryptotaxi247 / netdata-1 / commits / 5c93dea9b

Fix string handling for Slack CI notification bodies. (#12235)

Austin S. Hemmelgarn committed Mar 9, 2022 at 08:44 UTC 5c93dea9b1f7fedfe6a62afdc65d15e2b10d6805
8 files changed +26 -26
.github/workflows/build.yml
+11 -11
@@ -68,7 +68,7 @@ jobs:
68 SLACK_ICON_EMOJI: ':github-actions:'
69 SLACK_TITLE: 'Distribution tarball creation failed:'
70 SLACK_USERNAME: 'GitHub Actions'
71 - SLACK_MESSAGE: >-
71 + SLACK_MESSAGE: |-
72 ${{ github.repository }}: Failed to create source tarball for distribution.
73 Checkout: ${{ steps.checkout.outcome }}
74 Mark stable: ${{ steps.channel.outcome }}
@@ -122,7 +122,7 @@ jobs:
122 SLACK_ICON_EMOJI: ':github-actions:'
123 SLACK_TITLE: 'Static build failed:'
124 SLACK_USERNAME: 'GitHub Actions'
125 - SLACK_MESSAGE: >-
125 + SLACK_MESSAGE: |-
126 ${{ github.repository }}: Failed to create static installer archive for ${{ matrix.arch }}.
127 Checkout: ${{ steps.checkout.outcome }}
128 Mark stable: ${{ steps.channel.outcome }}
@@ -179,7 +179,7 @@ jobs:
179 SLACK_ICON_EMOJI: ':github-actions:'
180 SLACK_TITLE: 'Build matrix preparation failed:'
181 SLACK_USERNAME: 'GitHub Actions'
182 - SLACK_MESSAGE: >-
182 + SLACK_MESSAGE: |-
183 ${{ github.repository }}: Failed to prepare build matrix for build checks.
184 Checkout: ${{ steps.checkout.outcome }}
185 Prepare tools: ${{ steps.prepare.outcome }}
@@ -237,7 +237,7 @@ jobs:
237 SLACK_ICON_EMOJI: ':github-actions:'
238 SLACK_TITLE: 'Test environment preparation for ${{ matrix.distro }} failed:'
239 SLACK_USERNAME: 'GitHub Actions'
240 - SLACK_MESSAGE: >-
240 + SLACK_MESSAGE: |-
241 ${{ github.repository }}: Test environment preparation for ${{ matrix.distro }} failed.
242 Checkout: ${{ steps.checkout.outcome }}
243 Set up Buildx: ${{ steps.buildx.outcome }}
@@ -306,7 +306,7 @@ jobs:
306 SLACK_ICON_EMOJI: ':github-actions:'
307 SLACK_TITLE: 'Build tests for ${{ matrix.distro }} failed:'
308 SLACK_USERNAME: 'GitHub Actions'
309 - SLACK_MESSAGE: >-
309 + SLACK_MESSAGE: |-
310 ${{ github.repository }}: Build tests for ${{ matrix.distro }} failed.
311 Checkout: ${{ steps.checkout.outcome }}
312 Fetch test environment: ${{ steps.fetch.outcome }}
@@ -384,7 +384,7 @@ jobs:
384 SLACK_ICON_EMOJI: ':github-actions:'
385 SLACK_TITLE: 'Updater checks for ${{ matrix.distro }} failed:'
386 SLACK_USERNAME: 'GitHub Actions'
387 - SLACK_MESSAGE: >-
387 + SLACK_MESSAGE: |-
388 ${{ github.repository }}: Updater checks for ${{ matrix.distro }} failed.
389 Checkout: ${{ steps.checkout.outcome }}
390 Fetch dist tarball: ${{ steps.fetch-tarball.outcome }}
@@ -450,7 +450,7 @@ jobs:
450 SLACK_ICON_EMOJI: ':github-actions:'
451 SLACK_TITLE: 'Failed to prepare release artifacts for upload:'
452 SLACK_USERNAME: 'GitHub Actions'
453 - SLACK_MESSAGE: >-
453 + SLACK_MESSAGE: |-
454 ${{ github.repository }}: Failed to prepare release artifacts for upload.
455 CHeckout: ${{ steps.checkout.outcome }}
456 Prepare environment: ${{ steps.prepare.outcome }}
@@ -501,7 +501,7 @@ jobs:
501 SLACK_ICON_EMOJI: ':github-actions:'
502 SLACK_TITLE: 'Artifact verification for source tarball failed.'
503 SLACK_USERNAME: 'GitHub Actions'
504 - SLACK_MESSAGE: >-
504 + SLACK_MESSAGE: |-
505 ${{ github.repository }}: Artifact verification for source tarball failed.
506 Checkout: ${{ steps.checkout.outcome }}
507 Fetch artifacts: ${{ steps.fetch.outcome }}
@@ -549,7 +549,7 @@ jobs:
549 SLACK_ICON_EMOJI: ':github-actions:'
550 SLACK_TITLE: 'Artifact verification for static build failed.'
551 SLACK_USERNAME: 'GitHub Actions'
552 - SLACK_MESSAGE: >-
552 + SLACK_MESSAGE: |-
553 ${{ github.repository }}: Artifact verification for static build failed.
554 Checkout: ${{ steps.checkout.outcome }}
555 Fetch artifacts: ${{ steps.fetch-artifacts.outcome }}
@@ -601,7 +601,7 @@ jobs:
601 SLACK_ICON_EMOJI: ':github-actions:'
602 SLACK_TITLE: 'Failed to upload nightly release artifacts:'
603 SLACK_USERNAME: 'GitHub Actions'
604 - SLACK_MESSAGE: >-
604 + SLACK_MESSAGE: |-
605 ${{ github.repository }}: Failed to upload nightly release artifacts.
606 Fetch artifacts: ${{ steps.fetch.outcome }}
607 Setup GCloud: ${{ steps.gcloud.outcome }}
@@ -651,7 +651,7 @@ jobs:
651 SLACK_ICON_EMOJI: ':github-actions:'
652 SLACK_TITLE: 'Failed to draft release:'
653 SLACK_USERNAME: 'GitHub Actions'
654 - SLACK_MESSAGE: >-
654 + SLACK_MESSAGE: |-
655 ${{ github.repository }}: Failed to create draft release or attach artifacts.
656 Checkout: ${{ steps.checkout.outcome }}
657 Fetch artifacts: ${{ steps.fetch.outcome }}
.github/workflows/coverity.yml
+1 -1
@@ -50,7 +50,7 @@ jobs:
50 SLACK_ICON_EMOJI: ':github-actions:'
51 SLACK_TITLE: 'Coverity run failed:'
52 SLACK_USERNAME: 'GitHub Actions'
53 - SLACK_MESSAGE: >-
53 + SLACK_MESSAGE: |-
54 ${{ github.repository }}: Coverity failed to run correctly.
55 Checkout: ${{ steps.checkout.outcome }}
56 Environment preparation: ${{ steps.prepare.outcome }}
.github/workflows/dashboard-pr.yml
+1 -1
@@ -45,7 +45,7 @@ jobs:
45 SLACK_ICON_EMOJI: ':github-actions:'
46 SLACK_TITLE: 'Dashboard update PR creation failed:'
47 SLACK_USERNAME: 'GitHub Actions'
48 - SLACK_MESSAGE: >-
48 + SLACK_MESSAGE: |-
49 ${{ github.repository }}: Failed to create PR to update dashboard code to newest release.
50 Checkout: ${{ steps.checkout.outcome }}
51 Update files: ${{ steps.update.outcome }}
.github/workflows/docker.yml
+3 -3
@@ -47,7 +47,7 @@ jobs:
47 SLACK_ICON_EMOJI: ':github-actions:'
48 SLACK_TITLE: 'Docker runtime testing failed:'
49 SLACK_USERNAME: 'GitHub Actions'
50 - SLACK_MESSAGE: >-
50 + SLACK_MESSAGE: |-
51 ${{ github.repository }}: Building or testing Docker image for linux/amd64 failed.
52 CHeckout: ${{ steps.checkout.outcome }}
53 Setup buildx: ${{ steps.prepare.outcome }}
@@ -102,7 +102,7 @@ jobs:
102 SLACK_ICON_EMOJI: ':github-actions:'
103 SLACK_TITLE: 'Docker build testing failed:'
104 SLACK_USERNAME: 'GitHub Actions'
105 - SLACK_MESSAGE: >-
105 + SLACK_MESSAGE: |-
106 ${{ github.repository }}: Building Docker image for ${{ matrix.platforms }} failed.
107 CHeckout: ${{ steps.checkout.outcome }}
108 Setup QEMU: ${{ steps.qemu.outcome }}
@@ -170,7 +170,7 @@ jobs:
170 SLACK_ICON_EMOJI: ':github-actions:'
171 SLACK_TITLE: 'Docker Build failed:'
172 SLACK_USERNAME: 'GitHub Actions'
173 - SLACK_MESSAGE: >-
173 + SLACK_MESSAGE: |-
174 ${{ github.repository }}: Failed to build or publish Docker images.
175 CHeckout: ${{ steps.checkout.outcome }}
176 Generate release tags: ${{ steps.release-tags.outcome }}
.github/workflows/packaging.yml
+3 -3
@@ -85,7 +85,7 @@ jobs:
85 SLACK_ICON_EMOJI: ':github-actions:'
86 SLACK_TITLE: 'Package Build matrix generation failed:'
87 SLACK_USERNAME: 'GitHub Actions'
88 - SLACK_MESSAGE: >-
88 + SLACK_MESSAGE: |-
89 ${{ github.repository }}: Failed to generate build matrix for package build.
90 Checkout: ${{ steps.checkout.outcome }}
91 Prepare Tools: ${{ steps.prepare.outcome }}
@@ -141,7 +141,7 @@ jobs:
141 SLACK_ICON_EMOJI: ':github-actions:'
142 SLACK_TITLE: 'Package Build version check failed:'
143 SLACK_USERNAME: 'GitHub Actions'
144 - SLACK_MESSAGE: >-
144 + SLACK_MESSAGE: |-
145 ${{ github.repository }}: Failed to generate version information for package build.
146 Checkout: ${{ steps.checkout.outcome }}
147 Check Version: ${{ steps.check-version.outcome }}
@@ -245,7 +245,7 @@ jobs:
245 SLACK_ICON_EMOJI: ':github-actions:'
246 SLACK_TITLE: 'Package Build failed:'
247 SLACK_USERNAME: 'GitHub Actions'
248 - SLACK_MESSAGE: >-
248 + SLACK_MESSAGE: |-
249 ${{ github.repository }}: ${{ matrix.pkgclouddistro }} ${{ matrix.version }} package build for ${{ matrix.arch }} failed.
250 Checkout: ${{ steps.checkout.outcome }}
251 Setup QEMU: ${{ steps.qemu.outcome }}
.github/workflows/release.yml
+4 -4
@@ -56,7 +56,7 @@ jobs:
56 SLACK_ICON_EMOJI: ':github-actions:'
57 SLACK_TITLE: 'Failed to prepare changelog:'
58 SLACK_USERNAME: 'GitHub Actions'
59 - SLACK_MESSAGE: >-
59 + SLACK_MESSAGE: |-
60 ${{ github.repository }}: Failed to prepare changelog.
61 Checkout: ${{ steps.checkout.outcome }}
62 Login to DockerHub: ${{ steps.login.outcome }}
@@ -92,7 +92,7 @@ jobs:
92 SLACK_ICON_EMOJI: ':github-actions:'
93 SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} artifact builds:'
94 SLACK_USERNAME: 'GitHub Actions'
95 - SLACK_MESSAGE: >-
95 + SLACK_MESSAGE: |-
96 ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} artifact builds.
97 Checkout: ${{ steps.checkout.outcome }}
98 Trigger build: ${{ steps.trigger.outcome }}
@@ -127,7 +127,7 @@ jobs:
127 SLACK_ICON_EMOJI: ':github-actions:'
128 SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} Docker builds:'
129 SLACK_USERNAME: 'GitHub Actions'
130 - SLACK_MESSAGE: >-
130 + SLACK_MESSAGE: |-
131 ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} Docker builds.
132 Checkout: ${{ steps.checkout.outcome }}
133 Trigger build: ${{ steps.trigger.outcome }}
@@ -162,7 +162,7 @@ jobs:
162 SLACK_ICON_EMOJI: ':github-actions:'
163 SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} package builds:'
164 SLACK_USERNAME: 'GitHub Actions'
165 - SLACK_MESSAGE: >-
165 + SLACK_MESSAGE: |-
166 ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} package builds.
167 Checkout: ${{ steps.checkout.outcome }}
168 Trigger build: ${{ steps.trigger.outcome }}
.github/workflows/repoconfig-packages.yml
+2 -2
@@ -65,7 +65,7 @@ jobs:
65 SLACK_ICON_EMOJI: ':github-actions:'
66 SLACK_TITLE: 'Repository Package Build matrix generation failed:'
67 SLACK_USERNAME: 'GitHub Actions'
68 - SLACK_MESSAGE: >-
68 + SLACK_MESSAGE: |-
69 ${{ github.repository }}: Failed to generate build matrix for repository package build.
70 Checkout: ${{ steps.checkout.outcome }}
71 Prepare Tools: ${{ steps.prepare.outcome }}
@@ -141,7 +141,7 @@ jobs:
141 SLACK_ICON_EMOJI: ':github-actions:'
142 SLACK_TITLE: 'Repository Package Build failed:'
143 SLACK_USERNAME: 'GitHub Actions'
144 - SLACK_MESSAGE: >-
144 + SLACK_MESSAGE: |-
145 ${{ github.repository }}: ${{ matrix.pkgclouddistro }} ${{ matrix.version }} repository package build failed.
146 Checkout: ${{ steps.checkout.outcome }}
147 Fetch images: ${{ steps.fetch-images.outcome }}
.github/workflows/trigger-learn-update.yml
+1 -1
@@ -31,7 +31,7 @@ jobs:
31 SLACK_ICON_EMOJI: ':github-actions:'
32 SLACK_TITLE: 'Triggering Netdata Learn documentation update failed:'
33 SLACK_USERNAME: 'GitHub Actions'
34 - SLACK_MESSAGE: >-
34 + SLACK_MESSAGE: |-
35 ${{ github.repository }}: Failed to trigger Netdata Learn documentation update workflow.
36 SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
37 if: failure()