From 4f3a2347beb600c50043e4549454e7349824d7d3 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Mon, 27 Aug 2018 09:57:24 +0100 Subject: 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. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3