mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
/.github/workflows/{ci-performance-benchmarks-release.yaml, ci-performance-benchmarks.yaml}: update emails, allow actor to specify email on workflow dispatch trigger
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
name: Benchmark Dolt vs MySQL
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [ release-dolt ]
|
||||
@@ -7,6 +9,10 @@ on:
|
||||
description: 'SemVer format release tag, i.e. 0.23.4'
|
||||
required: true
|
||||
default: ''
|
||||
email:
|
||||
description: 'Email address to receive results'
|
||||
required: true
|
||||
default: ''
|
||||
|
||||
jobs:
|
||||
set-version-actor:
|
||||
@@ -69,10 +75,19 @@ jobs:
|
||||
aws s3api get-object --bucket=performance-benchmarking-github-actions-results --key="$KEY" results.log
|
||||
env:
|
||||
KEY: ${{ steps.run-benchmarks.outputs.object-key }}
|
||||
- name: Send Email
|
||||
- name: Send Email on Release
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
uses: ./.github/actions/ses-email-action
|
||||
with:
|
||||
region: us-west-2
|
||||
version: ${{ needs.set-version-actor.outputs.version }}
|
||||
toAddresses: '["dustin@dolthub.com"]'
|
||||
toAddresses: '["${{ secrets.PERF_REPORTS_EMAIL_ADDRESS }}"]'
|
||||
dataFile: ${{ format('{0}/results.log', github.workspace) }}
|
||||
- name: Send Email
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
uses: ./.github/actions/ses-email-action
|
||||
with:
|
||||
region: us-west-2
|
||||
version: ${{ needs.set-version-actor.outputs.version }}
|
||||
toAddresses: '["${{ github.event.inputs.email }}"]'
|
||||
dataFile: ${{ format('{0}/results.log', github.workspace) }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Benchmark Dolt Performance
|
||||
name: Benchmark Pull Requests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
Reference in New Issue
Block a user