We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d4a24e + cc07bcd commit d10ba27Copy full SHA for d10ba27
.gitlab-ci.yml
@@ -9,10 +9,6 @@ stages:
9
# Build and test with ANOD
10
# TODO: add a build and test based on Alire in parallel to this.
11
build_and_test:
12
- rules:
13
- # Let's do the job only for merge request events: that's
14
- # when we know whether the target branch is 'edge'.
15
- - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
16
services:
17
- image:sandbox
18
- cpu:8
@@ -26,7 +22,7 @@ build_and_test:
26
22
# Check whether we're in an MR targeting 'edge' and setup some
27
23
# variables if so.
28
24
- TARGET_BRANCH="master"
29
- - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" = "edge" ]; then
25
+ - if [ "x$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" = "xedge" ]; then
30
echo "Targeting the edge branch." ;
31
REPO_SUFFIX="-edge" ;
32
BUILD_SPACE_SUFFIX="_edge" ;
0 commit comments