diff options
author | Sean McGivern <sean@gitlab.com> | 2018-08-27 09:57:24 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-08-28 09:17:26 +0100 |
commit | 4f3a2347beb600c50043e4549454e7349824d7d3 (patch) | |
tree | 9998c25f07f7602f1a3151d14be04d7c96da0254 /.gitlab-ci.yml | |
parent | 5846c02dea6f57c1e4fb2a05ba1251177a6856f2 (diff) | |
download | gitlab-ce-4f3a2347beb600c50043e4549454e7349824d7d3.tar.gz |
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.yml | 2 |
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 |