Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-08-27 11:57:24 +0300
committerSean McGivern <sean@gitlab.com>2018-08-28 11:17:26 +0300
commit4f3a2347beb600c50043e4549454e7349824d7d3 (patch)
tree9998c25f07f7602f1a3151d14be04d7c96da0254 /.gitlab-ci.yml
parent5846c02dea6f57c1e4fb2a05ba1251177a6856f2 (diff)
Move package-and-qa to the test phase
The problem is this: when each phase starts, it checks if all jobs in earlier phases are complete. package-and-qa is slow. As build is the first phase, if you trigger package-and-qa before the prepare phase is finished, the entire test phase will be blocked until package-and-qa completes, which isn't what we want. But equally, if build came _after_ test, then package-and-qa couldn't be started until the tests were finished. Putting it in the same stage as the tests means we can have our cake and eat it.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 797a20ef16e..23d71675ae4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -131,7 +131,7 @@ stages:
.single-script-job: &single-script-job
image: ruby:2.4-alpine
before_script: []
- stage: build
+ stage: test
cache: {}
dependencies: []
variables: &single-script-job-variables