From e88826eee050b299e6461b6df60cd84b75f4be60 Mon Sep 17 00:00:00 2001 From: Xiaohan Song Date: Mon, 16 Oct 2023 14:06:26 -0700 Subject: [PATCH] fix --- .../connector-performance-command.yml | 11 +++++++++++ .../workflows/connector-performance-cron.yml | 18 ------------------ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/connector-performance-command.yml b/.github/workflows/connector-performance-command.yml index f8880b6c559c..7b250e1a610c 100644 --- a/.github/workflows/connector-performance-command.yml +++ b/.github/workflows/connector-performance-command.yml @@ -8,6 +8,17 @@ on: dataset: type: string required: true + repo: + description: "Repo to check out code from. Defaults to the main airbyte repo. Set this when building connectors from forked repos." + required: false + default: "airbytehq/airbyte" + gitref: + description: "The git ref to check out from the specified repository." + required: false + default: master + uuid: + description: "Custom UUID of workflow run. Used because GitHub dispatches endpoint does not return workflow run id." + required: false workflow_dispatch: inputs: connector: diff --git a/.github/workflows/connector-performance-cron.yml b/.github/workflows/connector-performance-cron.yml index 4dce1083c7de..c8dd69d8405c 100644 --- a/.github/workflows/connector-performance-cron.yml +++ b/.github/workflows/connector-performance-cron.yml @@ -7,46 +7,28 @@ jobs: with: connector: connectors/source-postgres dataset: 1m - repo: "airbytehq/airbyte" - gitref: master - uuid: "" postgres-10m-run: uses: ./.github/workflows/connector-performance-command.yml with: connector: connectors/source-postgres dataset: 10m - repo: "airbytehq/airbyte" - gitref: master - uuid: "" postgres-20m-run: uses: ./.github/workflows/connector-performance-command.yml with: connector: connectors/source-postgres dataset: 20m - repo: "airbytehq/airbyte" - gitref: master - uuid: "" mysql-1m-run: uses: ./.github/workflows/connector-performance-command.yml with: connector: connectors/source-mysql dataset: 1m - repo: "airbytehq/airbyte" - gitref: master - uuid: "" mysql-10m-run: uses: ./.github/workflows/connector-performance-command.yml with: connector: connectors/source-mysql dataset: 10m - repo: "airbytehq/airbyte" - gitref: master - uuid: "" mysql-20m-run: uses: ./.github/workflows/connector-performance-command.yml with: connector: connectors/source-mysql dataset: 20m - repo: "airbytehq/airbyte" - gitref: master - uuid: ""