Skip to content

Commit 463d5c8

Browse files
committed
Fix build and share slack notification
1 parent 3632d72 commit 463d5c8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/jetbrains-auto-update-template.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ jobs:
5757
imageRepoBase=${{ github.ref == 'refs/heads/main' && 'eu.gcr.io/gitpod-core-dev/build' || 'eu.gcr.io/gitpod-dev-artifact/build' }}
5858
echo "Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }}" >> $GITHUB_STEP_SUMMARY
5959
leeway build -Dversion=latest -DimageRepoBase=$imageRepoBase -DbuildNumber=${{ steps.find-target.outputs.buildNumber }} components/ide/jetbrains/image:${{ steps.find-target.outputs.image }}-latest -DjbBackendVersion=${{ steps.find-target.outputs.jbBackendVersion }}
60-
# - name: Get previous job's status
61-
# id: lastrun
62-
# uses: filiptronicek/get-last-job-status@main
63-
# - name: Slack Notification
64-
# if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
65-
# uses: rtCamp/action-slack-notify@v2
66-
# env:
67-
# SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
68-
# SLACK_COLOR: ${{ job.status }}
69-
# SLACK_TITLE: Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }}
70-
# SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
60+
- name: Get previous job's status
61+
id: lastrun
62+
uses: filiptronicek/get-last-job-status@main
63+
- name: Slack Notification
64+
if: ${{ (success() && steps.find-target.outputs.buildNumber) || failure() }}
65+
uses: rtCamp/action-slack-notify@v2
66+
env:
67+
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
68+
SLACK_COLOR: ${{ job.status }}
69+
SLACK_TITLE: Upgrade latest ${{ inputs.productId }} image with ${{ steps.find-target.outputs.editorSummary }}
70+
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
7171

7272
delete-runner:
7373
if: always()

components/ide/gha-update-image/lib/jb-helper/jb-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const AllProductIDs = [
1818
"webstorm",
1919
"rider",
2020
"clion",
21-
"resharper",
21+
"rustrover",
2222
] as const;
2323
export type ProductIDs = (typeof AllProductIDs)[number];
2424

0 commit comments

Comments
 (0)