summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-26 21:10:52 +0200
committerVarac <varac@leap.se>2017-06-26 21:10:52 +0200
commit1c00a62a89301866cd68900e25e1a45a108f67d4 (patch)
treec9cc1adcef966f66b0639e0aabc082ccf4cc2289
parent4895539041b7cd4c6ba65bba56e2e41acfa3de34 (diff)
Lint .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml20
1 files changed, 14 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d622d1c..c4de7086 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,9 @@
+---
image: 0xacab.org:4567/leap/docker/ruby:latest
-# This is for caching the gems not only between the stages, but also persistent
-# on the gitlab-runner so we don't need to install from scratch on every pipeline
+# This is for caching the gems not only between the stages, but also
+# persistent on the gitlab-runner so we don't need to install from
+# scratch on every pipeline
cache:
key: "$CI_BUILD_REF_NAME"
untracked: true
@@ -46,7 +48,7 @@ catalog:
script:
- su -c '/usr/local/bin/bundle exec rake catalog' cirunner
-#rspec:
+# rspec:
# stage: rspec
# script:
# - /usr/local/bin/bundle exec rake spec
@@ -74,7 +76,9 @@ ci.leap.se:
only:
- master@leap/platform
script:
- - su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh | /usr/bin/ts' cirunner
+ - >
+ su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh |
+ /usr/bin/ts' cirunner
demo.bitmask.net:
stage: deploy
@@ -84,7 +88,9 @@ demo.bitmask.net:
- master
when: manual
script:
- - su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh | /usr/bin/ts' cirunner
+ - >
+ su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh |
+ /usr/bin/ts' cirunner
mail.bitmask.net:
stage: deploy
@@ -94,4 +100,6 @@ mail.bitmask.net:
- master
when: manual
script:
- - su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh | /usr/bin/ts' cirunner
+ - >
+ su -c '/usr/bin/unbuffer /bin/bash -o pipefail ./ci-build.sh |
+ /usr/bin/ts' cirunner