Skip to content

Commit e95bb60

Browse files
authored
ci: Remove unsupported YAML anchors (elastic#17219)
Remove use of YAML anchors because GH actions doesn't support it.
1 parent c1961a2 commit e95bb60

File tree

1 file changed

+54
-2
lines changed

1 file changed

+54
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: benchmarks
22

33
on:
44
workflow_dispatch:
5-
inputs: &benchmark_inputs
5+
inputs:
66
runStandalone:
77
description: 'Benchmark against standalone APM Server with Moxy'
88
required: false
@@ -54,7 +54,59 @@ on:
5454
type: boolean
5555
default: false
5656
workflow_call:
57-
inputs: *benchmark_inputs
57+
# Identical to workflow_dispatch inputs
58+
# GH Actions YAML parser doesn't support anchors yet: https://github.com/actions/runner/issues/1182
59+
inputs:
60+
runStandalone:
61+
description: 'Benchmark against standalone APM Server with Moxy'
62+
required: false
63+
type: boolean
64+
default: false
65+
enableTailSampling:
66+
description: 'Enable tail-based sampling on APM server'
67+
required: false
68+
type: boolean
69+
default: false
70+
tailSamplingStorageLimit:
71+
description: 'Storage size limit of tail-based sampling on APM server'
72+
required: false
73+
type: string
74+
default: "10GB"
75+
profile:
76+
description: 'System profile for benchmark, e.g. system-profiles/8GBx1zone.tfvars'
77+
required: false
78+
type: string
79+
# defaults set below (TFVARS_SOURCE)
80+
essRegion:
81+
description: 'ESS region of deployment, e.g. gcp-us-west2'
82+
required: false
83+
type: string
84+
# defaults set below
85+
runOnStable:
86+
description: 'Benchmark on latest stable version'
87+
required: false
88+
type: boolean
89+
default: false
90+
benchmarkAgents:
91+
description: 'Number of benchmark agents sending data to APM Server'
92+
required: false
93+
type: string
94+
# defaults set in Makefile
95+
benchmarkRun:
96+
description: 'Benchmark scenarios that only match regex, e.g. BenchmarkAgentAll'
97+
required: false
98+
type: string
99+
# defaults set in Makefile
100+
warmupTime:
101+
description: 'Benchmark warmup time for APM Server e.g. 3s, 5m, 2h'
102+
required: false
103+
type: string
104+
# defaults set below (Set up env)
105+
pgoExport:
106+
description: 'Benchmark with PGO export'
107+
required: false
108+
type: boolean
109+
default: false
58110
schedule:
59111
- cron: '0 17 * * *' # Scheduled regular benchmarks.
60112
- cron: '0 0 1 * *' # Scheduled PGO benchmarks.

0 commit comments

Comments
 (0)