forked from openjdk/jdk
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
43 lines (39 loc) · 1.01 KB
/
.gitlab-ci.yml
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
image: alpine
stages: [prepare, trigger]
prepare:
stage: prepare
image: "486234852809.dkr.ecr.us-east-1.amazonaws.com/images/docker:24.0.4-gbi-focal"
tags: [ "arch:arm64" ]
script:
- echo "Preparing to trigger the build pipeline"
- echo "FEATURE_VERSION=$(cat make/conf/version-numbers.conf | grep 'DEFAULT_VERSION_FEATURE=' | cut -d '=' -f 2)" > build.env
artifacts:
reports:
dotenv: build.env
expire_in: 1 day
build:
stage: trigger
needs: [prepare]
variables:
JDK_VERSION: "latest"
DEBUG_LEVEL: "fastdebug"
HASH: "${CI_COMMIT_SHORT_SHA}"
trigger:
project: DataDog/openjdk-build
strategy: depend
branch: main
forward:
pipeline_variables: true
test:
stage: trigger
needs: [prepare, build]
variables:
JDK_VERSION: "${FEATURE_VERSION}"
DEBUG_LEVEL: "fastdebug"
HASH: "${CI_COMMIT_SHORT_SHA}"
trigger:
project: DataDog/apm-reliability/async-profiler-build
strategy: depend
branch: main
forward:
pipeline_variables: true