File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ variables:
44
55stages :
66 - build_and_test
7+ - run_downstream_ci
78
89.detect-branches :
910 # Version 2.
@@ -156,3 +157,23 @@ build_and_test:
156157 reports :
157158 junit : xunit_output.xml
158159 lsif : dump.lsif
160+
161+ .run_ci_common : &run_ci_common
162+ stage : run_downstream_ci
163+ rules :
164+ - if : $CI_PIPELINE_SOURCE == 'merge_request_event'
165+ when : manual
166+ trigger :
167+ strategy : depend
168+ inherit :
169+ variables : false
170+ variables :
171+ ACI_UPSTREAM_PROJECT_PATH : $CI_PROJECT_PATH
172+ ACI_UPSTREAM_REF_NAME : $CI_COMMIT_REF_NAME
173+ ACI_UPSTREAM_SOURCE_BRANCH : $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
174+ ACI_UPSTREAM_TARGET_BRANCH : $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
175+
176+ run_gs_ci :
177+ << : *run_ci_common
178+ trigger :
179+ project : eng/ide/gnatstudio
You can’t perform that action at this time.
0 commit comments