-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
38 lines (33 loc) · 852 Bytes
/
.gitlab-ci.yml
File metadata and controls
38 lines (33 loc) · 852 Bytes
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
stages:
- ci_downstream
- check_ok
trigger_ci_downstream:
stage: ci_downstream
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
variables:
PARENT_MR_ID: $CI_MERGE_REQUEST_IID
- if: '$CI_PIPELINE_SOURCE == "push"'
variables:
REF_BRANCH: $CI_COMMIT_REF_NAME
- if: '$CI_PIPELINE_SOURCE == "schedule"'
variables:
REF_BRANCH: $CI_COMMIT_REF_NAME
- if: '$DEPLOY_CODE == "1"'
variables:
DEPLOY_CODE_PASS: $DEPLOY_CODE
trigger:
project: NJOY/common_ci
branch: main
strategy: depend
variables:
MERGE_TYPE: $CI_PIPELINE_SOURCE
PARENT_MR_ID: "$CI_MERGE_REQUEST_IID"
PROJECT_ROOT_NAME: "ACEtk"
PROJECT_LIB_NAME: "ACEtk"
PROJECT_TEST_OPTION: "ACEtk.tests"
check:
stage: check_ok
script:
- printenv
- echo "Looks good..."