summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-01-25 20:05:42 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2021-01-25 20:05:42 +0100
commita818e2f207ef8255d27e8c2201c013c009a0107a (patch)
tree34fcfac0709ca46c4da7fcefa988fb20c997603d /.gitlab-ci.yml
parentb3caa532978b6337b6015b08c17ec0466d6f9670 (diff)
downloadEAAF-Components-a818e2f207ef8255d27e8c2201c013c009a0107a.tar.gz
EAAF-Components-a818e2f207ef8255d27e8c2201c013c009a0107a.tar.bz2
EAAF-Components-a818e2f207ef8255d27e8c2201c013c009a0107a.zip
update GitLab CI to tag every stage to 'docker' runner
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79c510b2..82dd4609 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,6 @@ include:
stages:
- assemble
- - visualize
- test
- package
- release
@@ -31,6 +30,8 @@ assemble:
stage: assemble
except:
- tags
+ tags:
+ - docker
script: |
mvn $MAVEN_CLI_OPTS compile test
artifacts:
@@ -42,8 +43,10 @@ assemble:
- build_reporting/target/site/jacoco-aggregate-ut/jacoco.csv
coverage:
- stage: visualize
+ stage: test
image: haynes/jacoco2cobertura:1.0.4
+ tags:
+ - docker
script:
- mkdir -p target/site
# convert report from jacoco to cobertura
@@ -62,6 +65,8 @@ coverage:
publishToGitlab:
stage: package
+ tags:
+ - docker
except:
- tags
- /^feature/.*$/i
@@ -82,6 +87,8 @@ publishToGitlab:
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
+ tags:
+ - docker
needs:
- job: publishToGitlab
artifacts: true