File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,16 @@ stages:
1717 - ci-visibility-tests
1818 - generate-signing-key
1919
20+ workflow :
21+ rules :
22+ - if : $POPULATE_CACHE == "true"
23+ variables :
24+ SKIP_SHARED_PIPELINE : " true"
25+ - when : always
26+
2027variables :
2128 REGISTRY : 486234852809.dkr.ecr.us-east-1.amazonaws.com
2229 BUILD_JOB_NAME : " build"
23- SKIP_SHARED_PIPELINE : $POPULATE_CACHE
2430
2531.common : &common
2632 tags : [ "runner:main", "size:large" ]
@@ -53,10 +59,6 @@ variables:
5359build : &build
5460 << : *gradle_build
5561 stage : build
56- rules :
57- - if : ' $POPULATE_CACHE'
58- when : never
59- - when : on_success
6062 script :
6163 - ./gradlew clean :dd-java-agent:shadowJar :dd-trace-api:jar :dd-trace-ot:shadowJar $GRADLE_ARGS
6264 - echo UPSTREAM_TRACER_VERSION=$(java -jar workspace/dd-java-agent/build/libs/*.jar) >> upstream.env
@@ -82,9 +84,6 @@ build_with_cache:
8284 << : *default_cache
8385 policy : push
8486
85- deploy_to_reliability_env :
86- stage : publish
87-
8887deploy_to_profiling_backend :
8988 stage : publish
9089 needs : [ build ]
@@ -161,6 +160,8 @@ deploy_to_sonatype:
161160 stage : publish
162161 needs : [ build ]
163162 rules :
163+ - if : ' $POPULATE_CACHE'
164+ when : never
164165 - if : ' $CI_COMMIT_BRANCH == "master"'
165166 when : on_success
166167 # Do not deploy release candidate versions
Original file line number Diff line number Diff line change 11.macrobenchmarks :
22 stage : macrobenchmarks
33 rules :
4+ - if : $POPULATE_CACHE
5+ when : never
46 - if : ($NIGHTLY_BENCHMARKS || $CI_PIPELINE_SOURCE != "schedule") && $CI_COMMIT_REF_NAME == "master"
57 when : always
68 - when : manual
9+ allow_failure : true
710 tags : ["runner:apm-k8s-same-cpu"]
811 needs : ["build"]
912 interruptible : true
You can’t perform that action at this time.
0 commit comments