Skip to content

Commit

Permalink
add incremental and mongodb in cron
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohansong committed Oct 20, 2023
1 parent 8540151 commit 409b397
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/connector-performance-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ on:
required: false
type: string
default: "full_refresh"
report-to-datadog:
description: "Whether to report the performance test results to Datadog."
required: false
default: "true"
workflow_dispatch:
inputs:
connector:
Expand Down Expand Up @@ -74,7 +78,7 @@ on:
- full_refresh
- incremental
default: "full_refresh"
reportToDatadog:
report-to-datadog:
description: "Whether to report the performance test results to Datadog."
required: false
default: "false"
Expand Down Expand Up @@ -207,7 +211,7 @@ jobs:
DS: ${{ inputs.dataset }}
STREAM_NUMBER: ${{ inputs.stream-number }}
SYNC_MODE: ${{ inputs.sync-mode }}
REPORT_TO_DATADOG: ${{ inputs.reportToDatadog }}
REPORT_TO_DATADOG: ${{ inputs.report-to-datadog }}
PREFIX: '{"type":"LOG","log":{"level":"INFO","message":"INFO i.a.i.p.PerformanceTest(runTest):165'
SUFFIX: '"}}'
HARNESS_TYPE: ${{ steps.which-harness.outputs.harness_type }}
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/connector-performance-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,24 @@ jobs:
connector: "connectors/source-mysql"
dataset: 1m
secrets: inherit
postgres-1m-run-incremental:
uses: ./.github/workflows/connector-performance-command.yml
with:
connector: "connectors/source-postgres"
dataset: 1m
sync-mode: "incremental"
secrets: inherit
mysql-1m-run-incremental:
uses: ./.github/workflows/connector-performance-command.yml
with:
connector: "connectors/source-mysql"
dataset: 1m
sync-mode: "incremental"
secrets: inherit
mongodb-1m-run-incremental:
uses: ./.github/workflows/connector-performance-command.yml
with:
connector: "connectors/source-mongodb-v2"
dataset: 1m
sync-mode: "incremental"
secrets: inherit

0 comments on commit 409b397

Please sign in to comment.