From 9b62e2ffaba021dd7f4741178f3b6ce61ca714ea Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 9 Oct 2017 09:56:24 -0300 Subject: [test] only run benchmark stage on scheduled pipelines --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.gitlab-ci.yml') 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" -- cgit v1.2.3