Skip to content

Commit 3c21590

Browse files
authored
Remove notify step from e2e deploy (wpengine#44)
Removes the notify step of our e2e workflow. The failures in this workflow have consistently been unrelated to the site-deploy image itself and are therefore not actionable. Instead, they indicate an issue with some other service we depend on (GitHub, Docker Hub, SSH Gateway, WPE User Portal). These services are either out of our control or are already monitored in other ways. This also bumps the cron schedule to 1 per hour. Bonus: gets rid of a dependency on voxmedia/github-action-slack-notify-build, which has been deprecated.
1 parent f1afd55 commit 3c21590

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/e2e-deploy.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test e2e Deploy to WP Engine
22
on:
33
schedule:
4-
- cron: '*/5 * * * *'
4+
- cron: '*/60 * * * *'
55
push:
66
branches:
77
- main
@@ -41,18 +41,3 @@ jobs:
4141
- name: Validate deploy results
4242
run: |
4343
[ ${{ fromJson(steps.fetchResult.outputs.response).status }} = "success" ] || exit 1
44-
notify:
45-
runs-on: ubuntu-latest
46-
if: ${{ !cancelled() }}
47-
needs: run_action
48-
steps:
49-
- name: Notify slack on failure
50-
if: needs.run_action.result == 'failure' && github.ref == 'refs/heads/main'
51-
env:
52-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
53-
uses: voxmedia/github-action-slack-notify-build@v1
54-
with:
55-
# Channel: status-site-deploy
56-
channel_id: C04ELD8NMT4
57-
status: FAILED
58-
color: danger

0 commit comments

Comments
 (0)