Commit 42d81035 authored by Mathieu Giraud's avatar Mathieu Giraud

.gitlab-ci.yml: feature branches can have several characters

Feature branches are now named 'feautre-[gacw]+/.*',
such as in 'feature-ga/', 'feature-ac/' or 'feature-cs/' (deprecates 'feature-w').

cc @RyanHerb @mikael-s
parent 742dc557
...@@ -38,7 +38,7 @@ test_germlines: ...@@ -38,7 +38,7 @@ test_germlines:
- make -C germline get-all-data - make -C germline get-all-data
- make -C algo/tests should_germline - make -C algo/tests should_germline
only: only:
- /^feature-g\/.*$/ - /^feature-.*g.*\/.*$/
# Algorithm # Algorithm
...@@ -47,31 +47,31 @@ test_algo_unit: ...@@ -47,31 +47,31 @@ test_algo_unit:
stage: test_unit stage: test_unit
script: make -C algo unit script: make -C algo unit
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
test_tools_unit: test_tools_unit:
stage: test_unit stage: test_unit
script: make -C tools/tests script: make -C tools/tests
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
test_algo_should: test_algo_should:
stage: test_functional stage: test_functional
script: make -C algo should script: make -C algo should
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
test_algo_shouldvdj: test_algo_shouldvdj:
stage: test_shouldvdj stage: test_shouldvdj
script: make -C algo shouldvdj script: make -C algo shouldvdj
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
algo_valgrind_unit: algo_valgrind_unit:
stage: valgrind_unit stage: valgrind_unit
script: make -C algo valgrind_unit script: make -C algo valgrind_unit
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
tags: tags:
- valgrind - valgrind
...@@ -80,7 +80,7 @@ algo_valgrind_functional: ...@@ -80,7 +80,7 @@ algo_valgrind_functional:
script: make -C algo valgrind_should script: make -C algo valgrind_should
when: manual when: manual
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
tags: tags:
- valgrind - valgrind
...@@ -89,14 +89,14 @@ prepare_release: ...@@ -89,14 +89,14 @@ prepare_release:
script: make -C algo release RELEASE_TAG='rc' script: make -C algo release RELEASE_TAG='rc'
when: manual when: manual
only: only:
- /^feature-a\/.*$/ - /^feature-.*a.*\/.*$/
release: release:
stage: release stage: release
script: make -C algo release RELEASE_TAG=`cat algo/release` script: make -C algo release RELEASE_TAG=`cat algo/release`
when: manual when: manual
only: only:
- /^feature-a\/release$/ - /^feature-.*a.*\/release$/
artifacts: artifacts:
paths: paths:
- algo/releases/vidjil-algo-`cat algo/release`.tar.gz - algo/releases/vidjil-algo-`cat algo/release`.tar.gz
...@@ -113,8 +113,8 @@ test_browser_unit: ...@@ -113,8 +113,8 @@ test_browser_unit:
paths: paths:
- browser/ - browser/
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
- prod-client - prod-client
- dev - dev
tags: tags:
...@@ -131,8 +131,8 @@ test_browser-functional: ...@@ -131,8 +131,8 @@ test_browser-functional:
paths: paths:
- browser/ - browser/
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
- prod-client - prod-client
tags: tags:
- web - web
...@@ -149,8 +149,8 @@ test_browser-functional-external: ...@@ -149,8 +149,8 @@ test_browser-functional-external:
paths: paths:
- browser/ - browser/
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
- prod-client - prod-client
tags: tags:
- web - web
...@@ -159,8 +159,8 @@ code_quality: ...@@ -159,8 +159,8 @@ code_quality:
stage: test_quality stage: test_quality
script: make -C browser quality script: make -C browser quality
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
- prod-client - prod-client
- dev - dev
tags: tags:
...@@ -198,8 +198,8 @@ deploy_review: ...@@ -198,8 +198,8 @@ deploy_review:
url: http://$CI_BUILD_REF_SLUG.ci.vidjil.org/?data=analysis-example.vidjil url: http://$CI_BUILD_REF_SLUG.ci.vidjil.org/?data=analysis-example.vidjil
on_stop: stop_deploy_review on_stop: stop_deploy_review
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
tags: tags:
- web - web
...@@ -232,7 +232,7 @@ stop_deploy_review: ...@@ -232,7 +232,7 @@ stop_deploy_review:
name: review/$CI_BUILD_REF_NAME name: review/$CI_BUILD_REF_NAME
action: stop action: stop
only: only:
- /^feature-[cw]\/.*$/ - /^feature-.*c.*\/.*$/
- /^hotfix-[cw]\/.*$/ - /^hotfix-.*c.*\/.*$/
tags: tags:
- web - web
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment