Skip to content

Commit 40a4c3d

Browse files
committed
ci(one-pipeline)!: split shared-pipeline into build, test, publish stages
1 parent f46b265 commit 40a4c3d

2 files changed

Lines changed: 6 additions & 24 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ include:
2222

2323
stages:
2424
- build
25-
- shared-pipeline-system-tests
26-
- publish
2725
- java-spring-petclinic-parallel
2826
- java-spring-petclinic-parallel-slo
2927
- java-startup-parallel
@@ -33,7 +31,10 @@ stages:
3331
- java-dacapo-parallel
3432
- java-dacapo-parallel-slo
3533
- java-post-pr-comment
36-
- shared-pipeline
34+
- shared-pipeline-build
35+
- shared-pipeline-test
36+
- publish
37+
- shared-pipeline-publish
3738
- benchmarks
3839
- tests
3940
- tests-arm64
@@ -1326,7 +1327,6 @@ requirements_json_test:
13261327
REQUIREMENTS_ALLOW_JSON_PATH: "metadata/requirements-allow.json"
13271328

13281329
package-oci:
1329-
stage: shared-pipeline-system-tests
13301330
needs: [ build ]
13311331

13321332
override_verify_maven_central:
@@ -1402,34 +1402,15 @@ verify_maven_central_deployment:
14021402
done
14031403
14041404
publishing-gate:
1405-
stage: publish
14061405
needs:
14071406
- job: verify_maven_central_deployment
14081407
optional: true # Required for releases only
14091408

14101409
configure_system_tests:
1411-
stage: shared-pipeline-system-tests
14121410
variables:
14131411
SYSTEM_TESTS_REF: "main" # system tests are pinned on release branches only
14141412
SYSTEM_TESTS_SCENARIOS_GROUPS: "simple_onboarding,simple_onboarding_profiling,simple_onboarding_appsec,docker-ssi,lib-injection"
14151413

1416-
# Restage from default `shared-pipeline` to local `shared-pipeline-system-tests`
1417-
# Run before the `publish` stage so that Maven/GitHub publishing can depend on system-tests results
1418-
system_tests:
1419-
stage: shared-pipeline-system-tests
1420-
1421-
oci-internal-publish:
1422-
stage: shared-pipeline-system-tests
1423-
1424-
oci-internal-test-publish:
1425-
stage: shared-pipeline-system-tests
1426-
1427-
kubernetes-injection-test-ecr-publish:
1428-
stage: shared-pipeline-system-tests
1429-
1430-
create-multiarch-lib-injection-image:
1431-
stage: shared-pipeline-system-tests
1432-
14331414
create_key:
14341415
stage: generate-signing-key
14351416
when: manual

.gitlab/one-pipeline.locked.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# DO NOT EDIT THIS FILE MANUALLY
22
# This file is auto-generated by automation.
33
include:
4-
- remote: https://gitlab-templates.ddbuild.io/libdatadog/include/versions/1.0.0/one-pipeline.yml
4+
# TEMP: testing libdatadog-build branch
5+
- remote: https://gitlab-templates.ddbuild.io/libdatadog/include-wip/sarahchen6/separate-shared-pipeline-into-multiple-stages/one-pipeline.yml

0 commit comments

Comments
 (0)