mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-11 01:55:08 -05:00
use different template for sysbench tests (#4991)
This commit is contained in:
committed by
GitHub
parent
2b60a3d690
commit
08fbcd1c27
8
.github/actions/ses-email-action/action.yaml
vendored
8
.github/actions/ses-email-action/action.yaml
vendored
@@ -21,6 +21,14 @@ inputs:
|
||||
required: false
|
||||
description: 'path to email data file'
|
||||
default: ''
|
||||
bodyPath:
|
||||
required: false
|
||||
description: 'path to email body file'
|
||||
default: ''
|
||||
subject:
|
||||
required: false
|
||||
description: 'path to email subject'
|
||||
default: ''
|
||||
toAddresses:
|
||||
description: 'json string list of to addresses'
|
||||
required: true
|
||||
|
||||
5
.github/actions/ses-email-action/index.js
vendored
5
.github/actions/ses-email-action/index.js
vendored
@@ -11,14 +11,19 @@ const CcAddresses = JSON.parse(core.getInput('ccAddresses'));
|
||||
const ToAddresses = JSON.parse(core.getInput('toAddresses'));
|
||||
const ReplyToAddresses = JSON.parse(core.getInput('replyToAddresses'));
|
||||
const workflowURL = core.getInput('workflowURL');
|
||||
const subject = core.getInput('subject');
|
||||
const bodyPath = core.getInput('bodyPath');
|
||||
|
||||
const data = dataFilePath ? fs.readFileSync(dataFilePath, { encoding: 'utf-8' }) : "";
|
||||
const body = bodyPath ? fs.readFileSync(bodyPath, { encoding: 'utf-8' }) : "";
|
||||
|
||||
const templated = {
|
||||
version,
|
||||
format,
|
||||
results: data,
|
||||
workflowURL,
|
||||
subject,
|
||||
body,
|
||||
};
|
||||
|
||||
// Set the region
|
||||
|
||||
6
.github/workflows/import-perf.yaml
vendored
6
.github/workflows/import-perf.yaml
vendored
@@ -139,11 +139,9 @@ jobs:
|
||||
with:
|
||||
region: us-west-2
|
||||
toAddresses: '["${{ github.event.client_payload.email_recipient }}"]'
|
||||
version: ${{ steps.version.outputs.ref }}
|
||||
format: '__DOLT__'
|
||||
dataFile: ${{ steps.html.outputs.html }}
|
||||
subject: 'Import Performance Benchmarks: ${{ github.event.client_payload.version }}'
|
||||
bodyPath: ${{ steps.html.outputs.html }}
|
||||
template: 'SysbenchTemplate'
|
||||
category: 'Import'
|
||||
|
||||
- name: Read CSV
|
||||
if: ${{ github.event.client_payload.issue_id }} != ""
|
||||
|
||||
6
.github/workflows/sysbench-perf.yaml
vendored
6
.github/workflows/sysbench-perf.yaml
vendored
@@ -140,11 +140,9 @@ jobs:
|
||||
with:
|
||||
region: us-west-2
|
||||
toAddresses: '["${{ github.event.client_payload.email_recipient }}"]'
|
||||
version: ${{ github.event.client_payload.version }}
|
||||
format: '__DOLT__'
|
||||
dataFile: ${{ steps.html.outputs.html }}
|
||||
subject: 'System Table Performance Benchmarks: ${{ github.event.client_payload.version }}'
|
||||
bodyPath: ${{ steps.html.outputs.html }}
|
||||
template: 'SysbenchTemplate'
|
||||
category: 'Sysbench'
|
||||
|
||||
- name: Read CSV
|
||||
if: ${{ github.event.client_payload.issue_id }} != ""
|
||||
|
||||
Reference in New Issue
Block a user