diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-03-09 08:44:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 08:44:07 -0500 |
commit | 5c93dea9b1f7fedfe6a62afdc65d15e2b10d6805 (patch) | |
tree | 99fdd264c7e83bf28d2561b3462f187cbaabae51 | |
parent | 00836aec828d6f4f2a4d4e38f160c0640d4e06e1 (diff) |
Fix string handling for Slack CI notification bodies. (#12235)
-rw-r--r-- | .github/workflows/build.yml | 22 | ||||
-rw-r--r-- | .github/workflows/coverity.yml | 2 | ||||
-rw-r--r-- | .github/workflows/dashboard-pr.yml | 2 | ||||
-rw-r--r-- | .github/workflows/docker.yml | 6 | ||||
-rw-r--r-- | .github/workflows/packaging.yml | 6 | ||||
-rw-r--r-- | .github/workflows/release.yml | 8 | ||||
-rw-r--r-- | .github/workflows/repoconfig-packages.yml | 4 | ||||
-rw-r--r-- | .github/workflows/trigger-learn-update.yml | 2 |
8 files changed, 26 insertions, 26 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a24ce92eb..2c852642f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Distribution tarball creation failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to create source tarball for distribution. Checkout: ${{ steps.checkout.outcome }} Mark stable: ${{ steps.channel.outcome }} @@ -122,7 +122,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Static build failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to create static installer archive for ${{ matrix.arch }}. Checkout: ${{ steps.checkout.outcome }} Mark stable: ${{ steps.channel.outcome }} @@ -179,7 +179,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Build matrix preparation failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to prepare build matrix for build checks. Checkout: ${{ steps.checkout.outcome }} Prepare tools: ${{ steps.prepare.outcome }} @@ -237,7 +237,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Test environment preparation for ${{ matrix.distro }} failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Test environment preparation for ${{ matrix.distro }} failed. Checkout: ${{ steps.checkout.outcome }} Set up Buildx: ${{ steps.buildx.outcome }} @@ -306,7 +306,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Build tests for ${{ matrix.distro }} failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Build tests for ${{ matrix.distro }} failed. Checkout: ${{ steps.checkout.outcome }} Fetch test environment: ${{ steps.fetch.outcome }} @@ -384,7 +384,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Updater checks for ${{ matrix.distro }} failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Updater checks for ${{ matrix.distro }} failed. Checkout: ${{ steps.checkout.outcome }} Fetch dist tarball: ${{ steps.fetch-tarball.outcome }} @@ -450,7 +450,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to prepare release artifacts for upload:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to prepare release artifacts for upload. CHeckout: ${{ steps.checkout.outcome }} Prepare environment: ${{ steps.prepare.outcome }} @@ -501,7 +501,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Artifact verification for source tarball failed.' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Artifact verification for source tarball failed. Checkout: ${{ steps.checkout.outcome }} Fetch artifacts: ${{ steps.fetch.outcome }} @@ -549,7 +549,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Artifact verification for static build failed.' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Artifact verification for static build failed. Checkout: ${{ steps.checkout.outcome }} Fetch artifacts: ${{ steps.fetch-artifacts.outcome }} @@ -601,7 +601,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to upload nightly release artifacts:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to upload nightly release artifacts. Fetch artifacts: ${{ steps.fetch.outcome }} Setup GCloud: ${{ steps.gcloud.outcome }} @@ -651,7 +651,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to draft release:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to create draft release or attach artifacts. Checkout: ${{ steps.checkout.outcome }} Fetch artifacts: ${{ steps.fetch.outcome }} diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 56b7c4e761..07eb821621 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -50,7 +50,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Coverity run failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Coverity failed to run correctly. Checkout: ${{ steps.checkout.outcome }} Environment preparation: ${{ steps.prepare.outcome }} diff --git a/.github/workflows/dashboard-pr.yml b/.github/workflows/dashboard-pr.yml index e4cd980fe7..5ed08c5bca 100644 --- a/.github/workflows/dashboard-pr.yml +++ b/.github/workflows/dashboard-pr.yml @@ -45,7 +45,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Dashboard update PR creation failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to create PR to update dashboard code to newest release. Checkout: ${{ steps.checkout.outcome }} Update files: ${{ steps.update.outcome }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c60a268180..5a45b0f98a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -47,7 +47,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Docker runtime testing failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Building or testing Docker image for linux/amd64 failed. CHeckout: ${{ steps.checkout.outcome }} Setup buildx: ${{ steps.prepare.outcome }} @@ -102,7 +102,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Docker build testing failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Building Docker image for ${{ matrix.platforms }} failed. CHeckout: ${{ steps.checkout.outcome }} Setup QEMU: ${{ steps.qemu.outcome }} @@ -170,7 +170,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Docker Build failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to build or publish Docker images. CHeckout: ${{ steps.checkout.outcome }} Generate release tags: ${{ steps.release-tags.outcome }} diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 0ca5cc339e..d2c01ac401 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -85,7 +85,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Package Build matrix generation failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to generate build matrix for package build. Checkout: ${{ steps.checkout.outcome }} Prepare Tools: ${{ steps.prepare.outcome }} @@ -141,7 +141,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Package Build version check failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to generate version information for package build. Checkout: ${{ steps.checkout.outcome }} Check Version: ${{ steps.check-version.outcome }} @@ -245,7 +245,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Package Build failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: ${{ matrix.pkgclouddistro }} ${{ matrix.version }} package build for ${{ matrix.arch }} failed. Checkout: ${{ steps.checkout.outcome }} Setup QEMU: ${{ steps.qemu.outcome }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a2a7898bb..d1c915baf7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to prepare changelog:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to prepare changelog. Checkout: ${{ steps.checkout.outcome }} Login to DockerHub: ${{ steps.login.outcome }} @@ -92,7 +92,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} artifact builds:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} artifact builds. Checkout: ${{ steps.checkout.outcome }} Trigger build: ${{ steps.trigger.outcome }} @@ -127,7 +127,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} Docker builds:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} Docker builds. Checkout: ${{ steps.checkout.outcome }} Trigger build: ${{ steps.trigger.outcome }} @@ -162,7 +162,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} package builds:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} package builds. Checkout: ${{ steps.checkout.outcome }} Trigger build: ${{ steps.trigger.outcome }} diff --git a/.github/workflows/repoconfig-packages.yml b/.github/workflows/repoconfig-packages.yml index 74c093ed0e..b0600cc0b4 100644 --- a/.github/workflows/repoconfig-packages.yml +++ b/.github/workflows/repoconfig-packages.yml @@ -65,7 +65,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Repository Package Build matrix generation failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to generate build matrix for repository package build. Checkout: ${{ steps.checkout.outcome }} Prepare Tools: ${{ steps.prepare.outcome }} @@ -141,7 +141,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Repository Package Build failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: ${{ matrix.pkgclouddistro }} ${{ matrix.version }} repository package build failed. Checkout: ${{ steps.checkout.outcome }} Fetch images: ${{ steps.fetch-images.outcome }} diff --git a/.github/workflows/trigger-learn-update.yml b/.github/workflows/trigger-learn-update.yml index 4d0b6f34f2..3d39ebabc3 100644 --- a/.github/workflows/trigger-learn-update.yml +++ b/.github/workflows/trigger-learn-update.yml @@ -31,7 +31,7 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Triggering Netdata Learn documentation update failed:' SLACK_USERNAME: 'GitHub Actions' - SLACK_MESSAGE: >- + SLACK_MESSAGE: |- ${{ github.repository }}: Failed to trigger Netdata Learn documentation update workflow. SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} if: failure() |