Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 52 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,15 @@ check_debugger:

muzzle:
extends: .gradle_build
needs: [ build_tests ]
# needs:parallel:matrix limits this job to a specific build_tests combination.
# Keep matrix vars exact and in build_tests declaration order:
# https://docs.gitlab.com/ci/yaml/#needsparallelmatrix
needs: &needs_build_tests_inst
- job: build_tests
parallel:
matrix:
- GRADLE_TARGET: ":instrumentationTest"
CACHE_TYPE: "inst"
stage: tests
rules:
- if: '$CI_COMMIT_BRANCH =~ /^mq-working-branch-/'
Expand Down Expand Up @@ -580,7 +588,7 @@ muzzle:

muzzle-dep-report:
extends: .gradle_build
needs: [ build_tests ]
needs: *needs_build_tests_inst
stage: tests
rules:
- if: '$CI_COMMIT_BRANCH =~ /^mq-working-branch-/'
Expand Down Expand Up @@ -731,6 +739,15 @@ agent_integration_tests:

test_base:
extends: .test_job
# needs:parallel:matrix limits this job to a specific build_tests combination.
# Keep matrix vars exact and in build_tests declaration order:
# https://docs.gitlab.com/ci/yaml/#needsparallelmatrix
needs:
- job: build_tests
parallel:
matrix:
- GRADLE_TARGET: ":baseTest"
CACHE_TYPE: "base"
variables:
GRADLE_TARGET: ":baseTest"
CACHE_TYPE: "base"
Expand All @@ -742,6 +759,7 @@ test_base:

test_inst:
extends: .test_job_with_test_agent
needs: *needs_build_tests_inst
variables:
GRADLE_TARGET: ":instrumentationTest"
CACHE_TYPE: "inst"
Expand All @@ -750,6 +768,15 @@ test_inst:

test_inst_latest:
extends: .test_job_with_test_agent
# needs:parallel:matrix limits this job to a specific build_tests combination.
# Keep matrix vars exact and in build_tests declaration order:
# https://docs.gitlab.com/ci/yaml/#needsparallelmatrix
needs:
- job: build_tests
parallel:
matrix:
- GRADLE_TARGET: ":instrumentationLatestDepTest"
CACHE_TYPE: "latestdep"
variables:
GRADLE_TARGET: ":instrumentationLatestDepTest"
CACHE_TYPE: "latestdep"
Expand Down Expand Up @@ -780,6 +807,7 @@ test_flaky:

test_flaky_inst:
extends: .test_job
needs: *needs_build_tests_inst
variables:
GRADLE_TARGET: ":instrumentationTest"
GRADLE_PARAMS: "-PrunFlakyTests"
Expand All @@ -794,6 +822,15 @@ test_flaky_inst:

test_profiling:
extends: .test_job
# needs:parallel:matrix limits this job to a specific build_tests combination.
# Keep matrix vars exact and in build_tests declaration order:
# https://docs.gitlab.com/ci/yaml/#needsparallelmatrix
needs:
- job: build_tests
parallel:
matrix:
- GRADLE_TARGET: ":profilingTest"
CACHE_TYPE: "profiling"
variables:
GRADLE_TARGET: ":profilingTest"
CACHE_TYPE: "profiling"
Expand All @@ -813,6 +850,16 @@ test_debugger:

test_smoke:
extends: .test_job
# needs:parallel:matrix limits this job to a specific build_tests combination.
# Keep matrix vars exact and in build_tests declaration order:
# https://docs.gitlab.com/ci/yaml/#needsparallelmatrix
needs: &needs_build_tests_smoke
- job: build_tests
parallel:
matrix:
- GRADLE_TARGET: ":smokeTest"
CACHE_TYPE: "smoke"
MAVEN_OPTS: "-Xms256M -Xmx1024M"
variables:
GRADLE_TARGET: "stageMainDist :smokeTest"
GRADLE_PARAMS: "-PskipFlakyTests"
Expand All @@ -822,6 +869,7 @@ test_smoke:

test_ssi_smoke:
extends: .test_job
needs: *needs_build_tests_smoke
rules:
- if: $CI_COMMIT_BRANCH == "master"
when: on_success
Expand All @@ -839,6 +887,7 @@ test_ssi_smoke:

test_smoke_graalvm:
extends: .test_job
needs: *needs_build_tests_smoke
tags: [ "arch:amd64" ]
variables:
GRADLE_TARGET: "stageMainDist :dd-smoke-test:spring-boot-3.0-native:test"
Expand All @@ -851,6 +900,7 @@ test_smoke_graalvm:

test_smoke_semeru8_debugger:
extends: .test_job
needs: *needs_build_tests_smoke
tags: [ "arch:amd64" ]
variables:
GRADLE_TARGET: "stageMainDist dd-smoke-tests:debugger-integration-tests:test"
Expand Down