Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
COVID-19
models
Commits
3433e2c7
Verified
Commit
3433e2c7
authored
Jul 14, 2020
by
Laurent Heirendt
✈
Browse files
fix rules (2)
parent
acd1d919
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3433e2c7
...
...
@@ -6,7 +6,7 @@ convert:
image
:
python
stage
:
convert
rules
:
-
if
:
$CI_
MERGE_REQUEST_ID
&& $CI_COMMIT_MESSAGE !~
"/Merge branch '
tmpBranch
'/"
&& $CI_COMMIT_MESSAGE !~
"
/Update models/
"
-
if
:
'
$CI_
PIPELINE_SOURCE
==
"merge_request_event"
&&
$CI_COMMIT_MESSAGE
!~
/
tmpBranch
/
&&
$CI_COMMIT_MESSAGE
!~
/Update
models/
'
before_script
:
-
pip install casq
script
:
...
...
@@ -22,7 +22,7 @@ commit:
entrypoint
:
[
"
"
]
stage
:
deploy
rules
:
-
if
:
$CI_
MERGE_REQUEST_ID
&& $CI_COMMIT_MESSAGE !~
"/Merge branch '
tmpBranch
'/"
&& $CI_COMMIT_MESSAGE !~
"
/Update models/
"
-
if
:
'
$CI_
PIPELINE_SOURCE
==
"merge_request_event"
&&
$CI_COMMIT_MESSAGE
!~
/
tmpBranch
/
&&
$CI_COMMIT_MESSAGE
!~
/Update
models/
'
before_script
:
-
env
-
url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment