summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-09 09:56:24 -0300
committerdrebs <drebs@riseup.net>2017-10-09 09:56:24 -0300
commit9b62e2ffaba021dd7f4741178f3b6ce61ca714ea (patch)
treeae3fb1b8ac59668cebd94843a43ff45c084f06ea /.gitlab-ci.yml
parent002bec8e4bc91a7e6f7f8cc285dee289e03f1156 (diff)
[test] only run benchmark stage on scheduled pipelines
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 654d5381..9df3a32b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,8 @@ before_script:
code-check:
stage: code-check
+ except:
+ - schedules
image: 0xacab.org:4567/leap/soledad:latest
script:
- tox -e code-check
@@ -39,6 +41,8 @@ code-check:
build_docker_image:
stage: build
+ except:
+ - schedules
image: 0xacab.org:4567/leap/soledad:latest
services:
- docker:dind
@@ -54,6 +58,8 @@ build_docker_image:
tests:
stage: tests
+ except:
+ - schedules
image: 0xacab.org:4567/leap/soledad:latest
services:
- couchdb
@@ -62,6 +68,8 @@ tests:
e2e:
stage: tests
+ except:
+ - schedules
image: 0xacab.org:4567/leap/soledad:latest
script:
- tox -e e2e
@@ -73,6 +81,8 @@ e2e:
.job_template: &job_definition
stage: package
+ except:
+ - schedules
image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}"
script:
- "if [ -z \"$(git remote | grep upstream)\" ]; then git remote add upstream https://0xacab.org/leap/soledad; fi"