Skip to content

Commit 361aaf6

Browse files
committed
tweak: Include benchmarkType in file name
1 parent 736aefd commit 361aaf6

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.gitlab/macrobenchmarks.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ include:
66
.macrobenchmarks:
77
stage: macrobenchmarks
88
rules:
9-
- if: $POPULATE_CACHE
10-
when: never
11-
- if: ($NIGHTLY_BENCHMARKS || $CI_PIPELINE_SOURCE != "schedule") && $CI_COMMIT_REF_NAME == "master"
12-
when: always
13-
- when: manual
14-
allow_failure: true
9+
- when: on_success # TODO: PLEASE revert before merging the PR
1510
tags: ["runner:apm-k8s-same-cpu"]
1611
needs: ["build"]
1712
interruptible: true
@@ -62,8 +57,6 @@ baseline:
6257

6358
only-tracing:
6459
extends: .macrobenchmarks
65-
rules:
66-
- when: on_success
6760
variables:
6861
BP_BENCHMARKS_CONFIGURATION: only-tracing
6962
TRACER_OPTS: -javaagent:/app/dd-java-agent.jar -Ddd.env=${BP_BENCHMARKS_CONFIGURATION} -Ddd.service=bp-java-petclinic
@@ -113,8 +106,8 @@ check-slo-breaches:
113106
*benchmark-baseline.json) type="baseline" ;;
114107
*benchmark-candidate.json) type="candidate" ;;
115108
esac
116-
echo "Moving $file to $ARTIFACTS_DIR/${type}-${prefix}.converted.json"
117-
cp "$file" "$ARTIFACTS_DIR/${type}-${prefix}.converted.json"
109+
echo "Moving $file to $ARTIFACTS_DIR/${type}-${benchmarkType}-${prefix}.converted.json"
110+
cp "$file" "$ARTIFACTS_DIR/${type}-${benchmarkType}-${prefix}.converted.json"
118111
done
119112
done
120113
- ls -lah "$ARTIFACTS_DIR"

0 commit comments

Comments
 (0)