Slack footer & icon update
This commit is contained in:
parent
11880a5fd1
commit
6f815de9a0
6
.github/workflows/ci-test-hosted.yml
vendored
6
.github/workflows/ci-test-hosted.yml
vendored
|
|
@ -475,9 +475,11 @@ jobs:
|
|||
if [[ "${{ steps.test_status.outputs.run_result }}" == "failedtest" ]]; then
|
||||
echo "slack_message=There are test failures in the run. Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail|Click here!>" >> $GITHUB_OUTPUT
|
||||
echo "slack_color=#FF0000" >> $GITHUB_OUTPUT
|
||||
echo "slack_icon=:parachute:" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "slack_message=All tests passed successfully :tada: . Cypress Dashboard: <https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}|Click here!>" >> $GITHUB_OUTPUT
|
||||
echo "slack_color=#00FF00" >> $GITHUB_OUTPUT
|
||||
echo "slack_icon=:eight_spoked_asterisk:" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Slack Notification
|
||||
|
|
@ -487,13 +489,13 @@ jobs:
|
|||
env:
|
||||
SLACK_CHANNEL: cypresspushworkflow
|
||||
SLACK_COLOR: ${{steps.slack_notification.outputs.slack_color}}
|
||||
SLACK_ICON_EMOJI: ":bell:"
|
||||
SLACK_ICON_EMOJI: ${{steps.slack_notification.outputs.slack_icon}}
|
||||
SLACK_MESSAGE: ${{steps.slack_notification.outputs.slack_message}}
|
||||
SLACK_TITLE: "Result:"
|
||||
SLACK_USERNAME: Cloud Hosted Run
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_HOSTED }}
|
||||
MSG_MINIMAL: Ref,Event,Commit
|
||||
# SLACK_FOOTER: "Hosted runs"
|
||||
SLACK_FOOTER: "Hosted run"
|
||||
|
||||
# Upload the log artifact so that it can be used by the test & deploy job in the workflow
|
||||
- name: Upload server logs bundle on failure
|
||||
|
|
|
|||
|
|
@ -141,10 +141,10 @@ jobs:
|
|||
SLACK_ICON_EMOJI: ${{steps.slack_notification.outputs.slack_icon}}
|
||||
SLACK_ICON: https://app.slack.com/services/B05D17E4QVB
|
||||
SLACK_TITLE: "Result:"
|
||||
SLACK_USERNAME: Push Workflows
|
||||
SLACK_USERNAME: Push Workflow
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_HOSTED }}
|
||||
MSG_MINIMAL: Ref,Event,Commit
|
||||
# SLACK_FOOTER: "Appsmith Push Workflows"
|
||||
SLACK_FOOTER: "Push Workflow"
|
||||
SLACK_MESSAGE: ${{steps.slack_notification.outputs.slack_message}}
|
||||
|
||||
# Force save the CI failed spec list into a cache
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user