Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
manifest-rules
Commits
e788d30a
Commit
e788d30a
authored
Jul 30, 2021
by
Paul McCarthy
🚵
Browse files
Merge branch 'ci/workflow_rules' into 'master'
Ci/workflow rules See merge request fsl/conda/manifest-rules!9
parents
b91a18e5
e136ca15
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e788d30a
...
@@ -3,10 +3,12 @@ stages:
...
@@ -3,10 +3,12 @@ stages:
-
check-version
-
check-version
# Don't run
on merge request
s
# Don't run
pipeline on MR
s
workflow
:
workflow
:
rules
:
rules
:
-
if
:
'
$CI_MERGE_REQUEST_ID
==
null'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
when
:
never
-
when
:
always
test
:
test
:
...
...
manifest-gitlab-ci.yml
View file @
e788d30a
...
@@ -18,10 +18,12 @@ default:
...
@@ -18,10 +18,12 @@ default:
-
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git
-
python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git
# Don't run pipeline on
merge request
s
# Don't run pipeline on
MR
s
workflow
:
workflow
:
rules
:
rules
:
-
if
:
'
$CI_COMMIT_TAG
!=
null
||
$CI_COMMIT_BRANCH
!=
null'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
when
:
never
-
when
:
always
# Manifest and environment files can only be published
# Manifest and environment files can only be published
...
...
manifest_rules/__init__.py
View file @
e788d30a
#!/usr/bin/env python
#!/usr/bin/env python
__version__
=
'0.3.
5
'
__version__
=
'0.3.
6
'
Write
Preview
Supports
Markdown
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