Repository navigation
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
115 lines (105 loc) · 3.74 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
115 lines (105 loc) · 3.74 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
stages:
- ci-image
- shared-pipeline-build
- shared-pipeline-test
- shared-pipeline-publish
- benchmarks
- benchmarks-pr-comment
- single-step-instrumentation-tests
- node-express-realworld-parallel
- node-express-realworld-parallel-slo
- node-hapi-redis-parallel
- node-hapi-redis-parallel-slo
# Config Registry CI jobs
validate_supported_configurations_v2_local_file:
extends: .validate_supported_configurations_v2_local_file
variables:
LOCAL_JSON_PATH: "packages/dd-trace/src/config/supported-configurations.json"
BACKFILLED: "true"
update_central_configurations_version_range_v2:
extends: .update_central_configurations_version_range_v2
variables:
LOCAL_REPO_NAME: "dd-trace-js"
LOCAL_JSON_PATH: "packages/dd-trace/src/config/supported-configurations.json"
LANGUAGE_NAME: "nodejs"
MULTIPLE_RELEASE_LINES: "true"
include:
- local: ".gitlab/one-pipeline.locked.yml"
- local: ".gitlab/benchmarks/gitlab-ci.yml"
- project: "ddoghq/llm-validation-platform"
ref: &llmval_platform_sha "4bb157a2cbb50ef608b9ec8e14b886e0cf838ca3" # v0.1.4
file: "/ci/llm-validation.gitlab-ci.yml"
- project: "DataDog/apm-reliability/apm-sdks-benchmarks"
file: ".gitlab/ci-node-express-realworld-parallel.yml"
ref: "main"
- project: "DataDog/apm-reliability/apm-sdks-benchmarks"
file: ".gitlab/ci-node-hapi-redis-parallel.yml"
ref: "main"
workflow:
auto_cancel:
on_new_commit: interruptible
rules:
- if: $CI_COMMIT_TAG =~ /^v?[0-9]+\.[0-9]+\.[0-9]+$/
variables:
DANGEROUSLY_SKIP_SHARED_PIPELINE_TESTS: "true"
- when: always
variables:
# dd-trace-js has some exceptions to the default names
AGENT_REPO_PRODUCT_NAME: auto_inject-node
SYSTEM_TESTS_LIBRARY: nodejs
REPO_NOTIFICATION_CHANNEL: "#notifications-apm-js"
# Test the OpenTelemetry Operator-compatible Node.js image jobs from one-pipeline.
CI_OTEL_OPERATOR_IMAGES_ENABLED: "true"
CI_OTEL_OPERATOR_LANGUAGE: nodejs
# One pipeline injection package size ratchet
OCI_PACKAGE_MAX_SIZE_BYTES: 30_000_000
LIB_INJECTION_IMAGE_MAX_SIZE_BYTES: 50_000_000
"llm validation":
variables:
LLMVAL_PLATFORM_PROJECT: "ddoghq/llm-validation-platform"
LLMVAL_PLATFORM_REF: *llmval_platform_sha
rules:
- &skip_llm_validation_on_release
if: '$CI_COMMIT_REF_NAME =~ /^v\d+\.(x|\d+\.\d+-proposal)$/'
when: never
- if: '$CI_COMMIT_REF_NAME == $LLMVAL_BASE_REF'
when: never
- when: on_success
allow_failure: false
llm validation definitions:
extends: llm validation
variables:
LLMVAL_WATCH_PATHS: ".llm-validation/config.yaml .llm-validation/suites"
LLMVAL_LEVEL: "minimum"
rules:
- *skip_llm_validation_on_release
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- .llm-validation/config.yaml
- .llm-validation/suites/**/*
configure_system_tests:
variables:
SYSTEM_TESTS_SCENARIOS_GROUPS: "simple_onboarding,simple_onboarding_profiling,simple_onboarding_appsec,docker-ssi,lib-injection"
rules:
- if: $SKIP_SHARED_PIPELINE == "true"
when: never
- if: $DANGEROUSLY_SKIP_SHARED_PIPELINE_TESTS == "true"
when: never
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH =~ /^v6\.\d+\.\d+-proposal$/
when: on_success
- when: never
system_tests:
rules:
- if: $SKIP_SHARED_PIPELINE == "true"
when: never
- if: $DANGEROUSLY_SKIP_SHARED_PIPELINE_TESTS == "true"
when: never
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH =~ /^v6\.\d+\.\d+-proposal$/
when: on_success
- when: never
requirements_json_test:
rules:
- when: on_success
variables:
REQUIREMENTS_BLOCK_JSON_PATH: ".gitlab/requirements_block.json"
REQUIREMENTS_ALLOW_JSON_PATH: ".gitlab/requirements_allow.json"