Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
heptapod
heptapod
Commits
8d2969e128c1
Commit
f3716d91
authored
Dec 14, 2020
by
Georges Racinet
🦑
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Heptapod CI: more explicit workflow:rules
--HG-- branch : heptapod
parent
fbe2df8f6421
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
heptapod-ci.yml
heptapod-ci.yml
+8
-5
No files found.
heptapod-ci.yml
View file @
8d2969e1
...
...
@@ -12,13 +12,16 @@ stages:
workflow
:
rules
:
-
if
:
'
$CI_COMMIT_TAG
=~
/^heptapod-/'
when
:
always
# in practice, we're interested in MR events and occasional runs
# from the web. Push runs have a tendency to be skipped even
# from the web.
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"web"'
#Push runs have a tendency to be skipped even
# before the MR is written, and then there's no subsequent pipeline
-
if
:
'
$CI_PIPELINE_SOURCE
!=
"push"'
# let's not forget tags!
-
if
:
'
$CI_COMMIT_TAG
=~
/^heptapod-/'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"'
when
:
never
variables
:
# copied from .gitlab-ci.yml, some of these may not be useful yet,
...
...
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