Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab-ci
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
infrastructure
gitlab-ci
Commits
69d604a4
Commit
69d604a4
authored
3 years ago
by
Jonas Höppner
Browse files
Options
Downloads
Patches
Plain Diff
CI: Fix merge pipeline
parent
31d6d7da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-5
26 additions, 5 deletions
.gitlab-ci.yml
with
26 additions
and
5 deletions
.gitlab-ci.yml
+
26
−
5
View file @
69d604a4
...
@@ -19,8 +19,8 @@ default:
...
@@ -19,8 +19,8 @@ default:
stages
:
stages
:
-
analyze
-
analyze
-
integrate
-
integrate
-
build
-
merge
-
merge
-
build
workflow
:
workflow
:
rules
:
rules
:
...
@@ -137,8 +137,6 @@ build-yocto:
...
@@ -137,8 +137,6 @@ build-yocto:
rules
:
rules
:
-
if
:
$CI_MERGE_REQUEST_IID
-
if
:
$CI_MERGE_REQUEST_IID
allow_failure
:
true
allow_failure
:
true
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
manual
trigger
:
trigger
:
project
:
SECO-Northern-Europe/yocto/manifest
project
:
SECO-Northern-Europe/yocto/manifest
branch
:
"
integrate/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}"
branch
:
"
integrate/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}"
...
@@ -150,8 +148,6 @@ build-ci-test:
...
@@ -150,8 +148,6 @@ build-ci-test:
rules
:
rules
:
-
if
:
$CI_MERGE_REQUEST_IID
-
if
:
$CI_MERGE_REQUEST_IID
allow_failure
:
true
allow_failure
:
true
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
manual
trigger
:
trigger
:
project
:
SECO-Northern-Europe/yocto/infrastructure/ci-test/minimal-manifest
project
:
SECO-Northern-Europe/yocto/infrastructure/ci-test/minimal-manifest
branch
:
"
integrate/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}"
branch
:
"
integrate/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}"
...
@@ -179,3 +175,28 @@ merge-yocto:
...
@@ -179,3 +175,28 @@ merge-yocto:
extends
:
extends
:
-
.merge
-
.merge
-
.yocto-projects
-
.yocto-projects
# --------------------------------------------------------------------------------------
# Stage: build
# --------------------------------------------------------------------------------------
build-master-yocto
:
stage
:
build
needs
:
[
merge-yocto
]
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
manual
trigger
:
project
:
SECO-Northern-Europe/yocto/manifest
branch
:
"
dunfell"
strategy
:
depend
build-master-ci-test
:
stage
:
build
needs
:
[
merge-ci-test
]
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
manual
trigger
:
project
:
SECO-Northern-Europe/yocto/infrastructure/ci-test/minimal-manifest
branch
:
"
master"
strategy
:
depend
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment