ci: Fixes to benchmarks in cloud (#10626)

This commit is contained in:
Tomi Turtiainen
2024-08-30 17:49:50 +03:00
committed by GitHub
parent a20c915e57
commit 15f311c890
7 changed files with 28 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ name: Destroy Benchmark Env
on:
schedule:
- cron: '0 1 * * *'
- cron: '0 4 * * *'
workflow_dispatch:
permissions:

View File

@@ -58,6 +58,10 @@ jobs:
tenant-id: ${{ env.ARM_TENANT_ID }}
subscription-id: ${{ env.ARM_SUBSCRIPTION_ID }}
- name: Destroy any existing environment
run: pnpm destroy-cloud-env
working-directory: packages/@n8n/benchmark
- name: Run the benchmark with debug logging
if: github.event.inputs.debug == 'true'
run: pnpm benchmark-in-cloud --n8nTag ${{ inputs.n8n_tag || 'nightly' }} --benchmarkTag ${{ inputs.benchmark_tag || 'latest' }} --debug