From e52adb5fbb4c2fbe7996695c7e722888dde40926 Mon Sep 17 00:00:00 2001 From: WVerlaek Date: Mon, 17 Jul 2023 15:23:17 +0000 Subject: [PATCH 1/2] Add slack footers to link directly to workflow logs --- .github/workflows/code-nightly.yml | 1 + .github/workflows/ide-integration-tests.yml | 2 ++ .github/workflows/jetbrains-auto-update-template.yml | 1 + .github/workflows/jetbrains-update-plugin-platform-template.yml | 1 + .github/workflows/jetbrains-updates.yml | 1 + .github/workflows/preview-env-check-regressions.yml | 1 + .github/workflows/workspace-integration-tests.yml | 1 + 7 files changed, 8 insertions(+) diff --git a/.github/workflows/code-nightly.yml b/.github/workflows/code-nightly.yml index 7794ea60b419e0..f170889428ad7e 100644 --- a/.github/workflows/code-nightly.yml +++ b/.github/workflows/code-nightly.yml @@ -50,6 +50,7 @@ jobs: env: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} + SLACK_FOOTER: "" delete-runner: if: always() diff --git a/.github/workflows/ide-integration-tests.yml b/.github/workflows/ide-integration-tests.yml index 9c8fa366c30d73..27ebb78503913e 100644 --- a/.github/workflows/ide-integration-tests.yml +++ b/.github/workflows/ide-integration-tests.yml @@ -66,6 +66,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: main branch build failed + SLACK_FOOTER: "" infrastructure: name: Create preview environment infrastructure @@ -178,6 +179,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: ${{ steps.test_summary.outputs.passed }}/${{ steps.test_summary.outputs.total }} tests passed + SLACK_FOOTER: "" delete: name: Delete preview environment diff --git a/.github/workflows/jetbrains-auto-update-template.yml b/.github/workflows/jetbrains-auto-update-template.yml index fcfe201dffdd1b..39c233d07a1c6c 100644 --- a/.github/workflows/jetbrains-auto-update-template.yml +++ b/.github/workflows/jetbrains-auto-update-template.yml @@ -71,3 +71,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.slackWebhook }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productId }} + SLACK_FOOTER: "" diff --git a/.github/workflows/jetbrains-update-plugin-platform-template.yml b/.github/workflows/jetbrains-update-plugin-platform-template.yml index 2a294c9c067d5c..afce4713d674d5 100644 --- a/.github/workflows/jetbrains-update-plugin-platform-template.yml +++ b/.github/workflows/jetbrains-update-plugin-platform-template.yml @@ -168,3 +168,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.slackWebhook }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productName }} + SLACK_FOOTER: "" diff --git a/.github/workflows/jetbrains-updates.yml b/.github/workflows/jetbrains-updates.yml index 76db1d0cbedfe9..5ea19fac688d44 100644 --- a/.github/workflows/jetbrains-updates.yml +++ b/.github/workflows/jetbrains-updates.yml @@ -85,3 +85,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productName }} + SLACK_FOOTER: "" diff --git a/.github/workflows/preview-env-check-regressions.yml b/.github/workflows/preview-env-check-regressions.yml index e642700c4ac982..f89d82c91cf509 100644 --- a/.github/workflows/preview-env-check-regressions.yml +++ b/.github/workflows/preview-env-check-regressions.yml @@ -162,6 +162,7 @@ jobs: SLACK_WEBHOOK: '${{ steps.secrets.outputs.devx-slack-webhook }}' SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "`${{ needs.configuration.outputs.version}}` smoke test failed" + SLACK_FOOTER: "" delete: name: Delete preview environment diff --git a/.github/workflows/workspace-integration-tests.yml b/.github/workflows/workspace-integration-tests.yml index b815d054b43fd0..830b154ead62a6 100644 --- a/.github/workflows/workspace-integration-tests.yml +++ b/.github/workflows/workspace-integration-tests.yml @@ -86,6 +86,7 @@ jobs: SLACK_WEBHOOK: ${{ steps.secrets.outputs.WORKSPACE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "Workspace Integration Tests failed" + SLACK_FOOTER: "" infrastructure: needs: [configuration, create-runner] From 2221a5623a4d113fb8ab0c1349a0d4d9073e8b06 Mon Sep 17 00:00:00 2001 From: WVerlaek Date: Mon, 17 Jul 2023 20:08:33 +0000 Subject: [PATCH 2/2] Update footer --- .github/workflows/code-nightly.yml | 2 +- .github/workflows/ide-integration-tests.yml | 4 ++-- .github/workflows/jetbrains-auto-update-template.yml | 2 +- .../workflows/jetbrains-update-plugin-platform-template.yml | 2 +- .github/workflows/jetbrains-updates.yml | 2 +- .github/workflows/preview-env-check-regressions.yml | 2 +- .github/workflows/workspace-integration-tests.yml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-nightly.yml b/.github/workflows/code-nightly.yml index f170889428ad7e..8d9f81ed74aeee 100644 --- a/.github/workflows/code-nightly.yml +++ b/.github/workflows/code-nightly.yml @@ -50,7 +50,7 @@ jobs: env: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} - SLACK_FOOTER: "" + SLACK_FOOTER: "" delete-runner: if: always() diff --git a/.github/workflows/ide-integration-tests.yml b/.github/workflows/ide-integration-tests.yml index 27ebb78503913e..9444b4f1cd06ef 100644 --- a/.github/workflows/ide-integration-tests.yml +++ b/.github/workflows/ide-integration-tests.yml @@ -66,7 +66,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: main branch build failed - SLACK_FOOTER: "" + SLACK_FOOTER: "" infrastructure: name: Create preview environment infrastructure @@ -179,7 +179,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: ${{ steps.test_summary.outputs.passed }}/${{ steps.test_summary.outputs.total }} tests passed - SLACK_FOOTER: "" + SLACK_FOOTER: "" delete: name: Delete preview environment diff --git a/.github/workflows/jetbrains-auto-update-template.yml b/.github/workflows/jetbrains-auto-update-template.yml index 39c233d07a1c6c..4165c317128e90 100644 --- a/.github/workflows/jetbrains-auto-update-template.yml +++ b/.github/workflows/jetbrains-auto-update-template.yml @@ -71,4 +71,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.slackWebhook }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productId }} - SLACK_FOOTER: "" + SLACK_FOOTER: "" diff --git a/.github/workflows/jetbrains-update-plugin-platform-template.yml b/.github/workflows/jetbrains-update-plugin-platform-template.yml index afce4713d674d5..2daa8b158c97ea 100644 --- a/.github/workflows/jetbrains-update-plugin-platform-template.yml +++ b/.github/workflows/jetbrains-update-plugin-platform-template.yml @@ -168,4 +168,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.slackWebhook }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productName }} - SLACK_FOOTER: "" + SLACK_FOOTER: "" diff --git a/.github/workflows/jetbrains-updates.yml b/.github/workflows/jetbrains-updates.yml index 5ea19fac688d44..b2fbb8453fc3f8 100644 --- a/.github/workflows/jetbrains-updates.yml +++ b/.github/workflows/jetbrains-updates.yml @@ -85,4 +85,4 @@ jobs: SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_TITLE: ${{ inputs.productName }} - SLACK_FOOTER: "" + SLACK_FOOTER: "" diff --git a/.github/workflows/preview-env-check-regressions.yml b/.github/workflows/preview-env-check-regressions.yml index f89d82c91cf509..169c50c8ed02ac 100644 --- a/.github/workflows/preview-env-check-regressions.yml +++ b/.github/workflows/preview-env-check-regressions.yml @@ -162,7 +162,7 @@ jobs: SLACK_WEBHOOK: '${{ steps.secrets.outputs.devx-slack-webhook }}' SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "`${{ needs.configuration.outputs.version}}` smoke test failed" - SLACK_FOOTER: "" + SLACK_FOOTER: "" delete: name: Delete preview environment diff --git a/.github/workflows/workspace-integration-tests.yml b/.github/workflows/workspace-integration-tests.yml index 830b154ead62a6..e70d0cb4fb2b7c 100644 --- a/.github/workflows/workspace-integration-tests.yml +++ b/.github/workflows/workspace-integration-tests.yml @@ -86,7 +86,7 @@ jobs: SLACK_WEBHOOK: ${{ steps.secrets.outputs.WORKSPACE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "Workspace Integration Tests failed" - SLACK_FOOTER: "" + SLACK_FOOTER: "" infrastructure: needs: [configuration, create-runner] @@ -222,7 +222,7 @@ jobs: SLACK_WEBHOOK: ${{ steps.secrets.outputs.WORKSPACE_SLACK_WEBHOOK }} SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "${{ steps.test_summary.outputs.passed }} tests passed, ${{ steps.test_summary.outputs.failed }} tests failed, ${{ steps.test_summary.outputs.skipped }} tests skipped (took ${{ steps.integration-test.outputs.duration }})" - SLACK_FOOTER: "" + SLACK_FOOTER: "" delete: name: Delete preview environment