/.github/{actions, workflows}: send email to pusher if bats-windows fails

This commit is contained in:
Dustin Brown
2022-03-01 10:57:05 -08:00
parent cc59bef1f9
commit 7aeae8709e
6 changed files with 3194 additions and 3160 deletions
+28
View File
@@ -150,3 +150,31 @@ jobs:
env:
IS_WINDOWS: true
WINDOWS_BASE_DIR: "/d/a"
report-bats-failure:
name: Report Bats Windows Failure via Email
needs: test-per-file
runs-on: ubuntu-18.04
if: always() && (needs.test-per-file.result == 'failure')
steps:
- uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Send Email
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: ./.github/actions/ses-email-action
with:
region: us-west-2
version: ${{ github.head_ref }}
toAddresses: '["${{ github.event.inputs.email }}"]'
- name: Send Email
if: ${{ github.event_name == 'repository_dispatch' }}
uses: ./.github/actions/ses-email-action
with:
region: us-west-2
version: ${{ github.event.client_payload.ref }}
toAddresses: '["${{ github.event.client_payload.actor_email }}"]'
@@ -65,7 +65,7 @@ jobs:
run: ./.github/scripts/performance-benchmarking/run-benchmarks.sh
env:
FROM_SERVER: 'mysql'
FROM_VERSION: '8.0.22'
FROM_VERSION: '8.0.28'
TO_SERVER: 'dolt'
TO_VERSION: ${{ needs.set-version-actor.outputs.version }}
MODE: 'release'