Skip to content

Commit d9d7f2d

Browse files
committed
Add dependencies for load benchmarks as well
1 parent 414b810 commit d9d7f2d

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.gitlab/benchmarks.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,29 @@ convert-dacapo-benchmarks:
301301
convert-load-benchmarks:
302302
extends: .convert-benchmarks
303303
stage: benchmark-conversion
304-
needs: []
304+
needs:
305+
- job: linux-java-spring-petclinic-microbenchmark-load-tracing
306+
artifacts: true
307+
- job: linux-java-spring-petclinic-microbenchmark-load-profiling
308+
artifacts: true
309+
- job: linux-java-spring-petclinic-microbenchmark-load-appsec
310+
artifacts: true
311+
- job: linux-java-spring-petclinic-microbenchmark-load-iast
312+
artifacts: true
313+
- job: linux-java-spring-petclinic-microbenchmark-load-code_origins
314+
artifacts: true
315+
- job: linux-java-insecure-bank-microbenchmark-load-no_agent
316+
artifacts: true
317+
- job: linux-java-insecure-bank-microbenchmark-load-tracing
318+
artifacts: true
319+
- job: linux-java-insecure-bank-microbenchmark-load-profiling
320+
artifacts: true
321+
- job: linux-java-insecure-bank-microbenchmark-load-iast
322+
artifacts: true
323+
- job: linux-java-insecure-bank-microbenchmark-load-iast_GLOBAL
324+
artifacts: true
325+
- job: linux-java-insecure-bank-microbenchmark-load-iast_FULL
326+
artifacts: true
305327
rules:
306328
- if: '$POPULATE_CACHE'
307329
when: never
@@ -317,6 +339,11 @@ convert-load-benchmarks:
317339
- !reference [.convert-benchmarks, before_script]
318340
- |
319341
echo "=== Processing load benchmark artifacts ==="
342+
# Check if artifacts directory exists
343+
if [ ! -d "artifacts" ]; then
344+
echo "WARNING: artifacts directory not found. No load benchmark artifacts to process."
345+
exit 0
346+
fi
320347
find artifacts -name "candidate-*.converted.json" -o -name "baseline-*.converted.json" 2>/dev/null | while read json_file; do
321348
echo "Processing load benchmark file: $json_file"
322349

0 commit comments

Comments
 (0)