-
Notifications
You must be signed in to change notification settings - Fork 545
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
88 lines (79 loc) · 2.87 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
88 lines (79 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
stages:
- ci-image
- docker-images-reliability-env
- config-validation
- generate
- microbenchmarks
- macrobenchmarks
# These benchmarks are planned to replace the legacy macrobenchmarks long term
- go-go-prof-app-parallel
- go-go-prof-app-parallel-slo
- gates
- test-apps
variables:
INDEX_FILE: index.txt
# For CuSim (used by deploy_to_cusim). These are normally provided by
# libdatadog-build's one-pipeline.yml template, which
# dd-trace-go does not include, so they are declared here directly.
BUILD_JOB_NAME:
value: ""
description: "[Optional] Name of the job to retrieve artifacts for CuSim"
RELIABILITY_ENV_BRANCH:
value: "master"
description: "Run a specific datadog-reliability-env branch downstream"
workflow:
auto_cancel:
on_new_commit: interruptible
# Config Registry CI Jobs
validate_supported_configurations_v2_local_file:
stage: config-validation
image: registry.ddbuild.io/ci/libdatadog-build/packaging:100425777
tags: ["runner:apm-k8s-tweaked-metal"]
rules:
- when: on_success
extends: .validate_supported_configurations_v2_local_file
variables:
LOCAL_JSON_PATH: internal/env/supported_configurations.json
BACKFILLED: true
update_central_configurations_version_range_v2:
stage: config-validation
image: registry.ddbuild.io/ci/libdatadog-build/packaging:100425777
tags: ["runner:apm-k8s-tweaked-metal"]
extends: .update_central_configurations_version_range_v2
variables:
LOCAL_REPO_NAME: "dd-trace-go"
LOCAL_JSON_PATH: "internal/env/supported_configurations.json"
LANGUAGE_NAME: "golang"
include:
- local: ".gitlab/benchmarks/macro/gitlab-ci.yml"
- local: ".gitlab/benchmarks/micro/gitlab-ci.yml"
- local: ".gitlab/benchmarks/test-apps/test-apps.yml"
- local: ".gitlab/docker-images-reliability-env.yml"
- local: ".gitlab/configuration-central-validation.yml"
- project: 'DataDog/apm-reliability/apm-sdks-benchmarks'
file: '.gitlab/ci-go-go-prof-app-parallel.yml'
ref: 'main'
# Pin the benchmarking-platform image for the go-go-prof-app-parallel jobs
# included from DataDog/apm-reliability/apm-sdks-benchmarks above.
linux-go-go-prof-app-parallel:
image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:6845f3c7
go-go-prof-app-parallel-check-slo-breaches:
image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:6845f3c7
deploy_to_cusim:
stage: test-apps
needs: []
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: on_success
- when: manual
allow_failure: true
trigger:
project: DataDog/apm-reliability/datadog-reliability-env
branch: $RELIABILITY_ENV_BRANCH
variables:
UPSTREAM_PACKAGE_JOB: $BUILD_JOB_NAME
UPSTREAM_PROJECT_ID: $CI_PROJECT_ID
UPSTREAM_PROJECT_NAME: $CI_PROJECT_NAME
UPSTREAM_PIPELINE_ID: $CI_PIPELINE_ID
UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA