Skip to content

benchmarks-matrix

benchmarks-matrix #2

name: benchmarks-matrix
on:
workflow_dispatch:
inputs:
profilesJSON:
description: 'JSON list of system profiles for benchmark, e.g. ["system-profiles/8GBx1zone.tfvars"]'
required: true
type: string
essRegionsJSON:
description: 'JSON list of ESS regions, e.g. ["gcp-us-west2", "azure-westus2", "us-west-2"]'
required: true
type: string
runStandalone:
description: 'Benchmark against standalone APM Server with Moxy'
required: false
type: boolean
default: false
enableTailSampling:
description: 'Enable tail-based sampling on APM server'
required: false
type: boolean
default: false
tailSamplingStorageLimit:
description: 'Storage size limit of tail-based sampling on APM server'
required: false
type: string
runOnStable:
description: 'Benchmark on latest stable version'
required: false
type: boolean
default: false
benchmarkAgents:
description: 'Number of benchmark agents sending data to APM Server'
required: false
type: string
benchmarkRun:
description: 'Benchmark scenarios that only match regex, e.g. BenchmarkAgentAll'
required: false
type: string
warmupTime:
description: 'Benchmark warmup time for APM Server e.g. 3s, 5m, 2h'
required: false
type: string
permissions:
contents: read
jobs:
bench-matrix:

Check failure on line 50 in .github/workflows/benchmarks-matrix.yml

View workflow run for this annotation

GitHub Actions / benchmarks-matrix

Invalid workflow file

The workflow is not valid. .github/workflows/benchmarks-matrix.yml (Line: 50, Col: 3): Error calling workflow 'elastic/apm-server/.github/workflows/benchmarks.yml@e95bb60f69efe154829c59455875ba5d63776810'. The nested job 'benchmarks' is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
strategy:
matrix:
profile: ${{ fromJSON(inputs.profilesJSON)}}
essRegion: ${{ fromJSON(inputs.essRegionsJSON)}}
uses: ./.github/workflows/benchmarks.yml
with:
profile: ${{ matrix.profile }}
essRegion: ${{ matrix.essRegion }}
benchmarkAgents: ${{ inputs.benchmarkAgents }}
runStandalone: ${{ inputs.runStandalone }}
enableTailSampling: ${{ inputs.enableTailSampling }}
tailSamplingStorageLimit: ${{ inputs.tailSamplingStorageLimit }}
runOnStable: ${{ inputs.runOnStable }}
benchmarkRun: ${{ inputs.benchmarkRun }}
warmupTime: ${{ inputs.warmupTime }}