File tree 1 file changed +25
-3
lines changed
1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
1
variables :
2
2
BASE_CI_IMAGE : 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:dd-wasm-js-rewriter
3
3
4
- benchmarks :
4
+ . benchmarks :
5
5
stage : benchmarks
6
6
when : on_success
7
7
tags : ["runner:apm-k8s-tweaked-metal"]
@@ -16,7 +16,6 @@ benchmarks:
16
16
- ./steps/run-benchmarks.sh
17
17
- ./steps/analyze-results.sh
18
18
- " ./steps/upload-results-to-s3.sh || :"
19
- - " ./steps/post-pr-comment.sh || :"
20
19
artifacts :
21
20
name : " artifacts"
22
21
when : always
@@ -30,5 +29,28 @@ benchmarks:
30
29
UPSTREAM_COMMIT_SHA : $CI_COMMIT_SHA # The commit revision the project is built for.
31
30
UPSTREAM_PROJECT_ID : $CI_PROJECT_ID # The ID of the current project. This ID is unique across all projects on the GitLab instance.
32
31
UPSTREAM_PROJECT_NAME : $CI_PROJECT_NAME # "dd-wasm-js-rewriter"
33
- MAJOR_VERSION : 22
34
32
33
+ benchmark :
34
+ extends : .benchmarks
35
+ parallel :
36
+ matrix :
37
+ - MAJOR_VERSION : 18
38
+ - MAJOR_VERSION : 20
39
+ - MAJOR_VERSION : 22
40
+
41
+ benchmarks-pr-comment :
42
+ stage : benchmarks-pr-comment
43
+ needs : [ benchmark ]
44
+ when : on_success
45
+ tags : ["arch:amd64"]
46
+ image : $BASE_CI_IMAGE
47
+ script :
48
+ - export ARTIFACTS_DIR="$(pwd)/artifacts" && (mkdir "${ARTIFACTS_DIR}" || :)
49
+ - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/".insteadOf "https://github.com/DataDog/"
50
+ - git clone --branch dd-wasm-js-rewriter https://github.com/DataDog/benchmarking-platform platform && cd platform
51
+ - ./steps/download-results-from-s3.sh
52
+ - ./steps/post-pr-comment.sh
53
+ allow_failure : true
54
+ variables :
55
+ # Gitlab and BP specific env vars. Do not modify.
56
+ KUBERNETES_SERVICE_ACCOUNT_OVERWRITE : dd-wasm-js-rewriter
You can’t perform that action at this time.
0 commit comments