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.
This commit is contained in:
Sean McGivern 2018-08-27 09:57:24 +01:00
parent 5846c02dea
commit 4f3a2347be

View file

@ -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