This repository was archived by the owner on Aug 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 pull_request :
99 branches :
1010 - ' **'
11+ schedule :
12+ # run at 7:30 am M-F
13+ - cron : ' 30 11 * * 1-5'
1114
1215jobs :
1316
6669 - name : dev.check
6770 run : make dev.check.${{matrix.services}}
6871
72+ - name : notify on failure
73+ if : ${{ failure() && github.ref == 'refs/heads/master' }}
74+ uses : dawidd6/action-send-mail@v3
75+ with :
76+ server_address : email-smtp.us-east-1.amazonaws.com
77+ server_port : 465
78+ username : ${{secrets.EDX_SMTP_USERNAME}}
79+ password : ${{secrets.EDX_SMTP_PASSWORD}}
80+ subject : ' Failure: Devstack provisioning tests for ${{matrix.services}} #${{github.run_id}}'
81+ to : devstack-provisioning-tests@edx.opsgenie.net
82+ from : github-actions <github-actions@edx.org>
83+ body : ' Devstack provisioning tests in ${{github.repository}} for ${{matrix.services}} failed! For details see "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}". \n Runbook url: https://openedx.atlassian.net/l/c/zoEcLk2z .'
84+
85+ - name : close alerts on success
86+ if : ${{ !failure() && github.ref == 'refs/heads/master' }}
87+ uses : dawidd6/action-send-mail@v3
88+ with :
89+ server_address : email-smtp.us-east-1.amazonaws.com
90+ server_port : 465
91+ username : ${{secrets.EDX_SMTP_USERNAME}}
92+ password : ${{secrets.EDX_SMTP_PASSWORD}}
93+ subject : ' Back to normal: Devstack provisioning tests for ${{matrix.services}} #${{github.run_id}}'
94+ to : devstack-provisioning-tests@edx.opsgenie.net
95+ from : github-actions <github-actions@edx.org>
96+ body : Devstack provisioning tests in ${{github.repository}} are back to normal for ${{matrix.services}}
97+
6998 - name : docs
7099 run : make docs
You can’t perform that action at this time.
0 commit comments