Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
wr2rf-vme
Commits
605fef2a
Commit
605fef2a
authored
Jun 06, 2023
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci.yml: add workflow rules
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
75551559
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
.gitlab-ci.yml
.gitlab-ci.yml
+14
-0
No files found.
.gitlab-ci.yml
View file @
605fef2a
...
...
@@ -7,6 +7,20 @@ include:
file
:
-
include/publish-gitlab-ci.yml
# Run the pipeline on merge requests, tag commits and commits to permanent branches.
# Also allow it to be run manually via the web UI.
# Note: in our current branching strategy there is no 'develop'/'proposed_master'.
# Still, we keep the rule in case of older/existing repositories that could benefit
# from this.
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_PIPELINE_SOURCE == "web"
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_COMMIT_BRANCH =~ /(master|develop|proposed_master)/
-
if
:
$CI_COMMIT_BRANCH =~ /.*-test$/
stages
:
# List of stages for jobs, and their order of execution
-
build-sw
-
build-hw
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment