summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCan Eldem <celdem@gitlab.com>2020-07-03 12:04:40 +0000
committerCan Eldem <celdem@gitlab.com>2020-07-03 12:04:40 +0000
commitdb1e559fe44e215c5ae2cd03f9ba2556728f75b6 (patch)
treec64efa451723d6324a8f25efcce748aa94455014
parent11c7187a0b9c290437d90af2d53b4d06ae8f4232 (diff)
parentc1bfd5ea561286bb7ceb3ac7423099ab9758ed34 (diff)
Merge branch 'jobs-needs' into 'master'
Specify what each job needs to ensure that jobs run as soon as possible See merge request gitlab-org/security-products/license-management!178
-rw-r--r--.gitlab/test.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 9ebb81d..ba09df2 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -16,6 +16,7 @@ size:
- echo $MAX_SIZE
- echo $CURRENT_SIZE
- test "$MAX_SIZE" -gt "$CURRENT_SIZE"
+ needs: ['build-docker-image']
.rspec:
stage: test
@@ -38,6 +39,7 @@ size:
reports:
cobertura: coverage/coverage.xml
junit: rspec.xml
+ needs: ['build-docker-image']
unit:
extends: .rspec
@@ -48,41 +50,53 @@ integration-c:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/c
+ needs:
+ - build-docker-image
+ - build-conan-pkg
integration-dotnet:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/dotnet
+ needs: ['build-docker-image']
integration-go:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/go
+ needs: ['build-docker-image']
integration-java:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/java
+ needs:
+ - build-docker-image
+ - build-mvn-pkg
integration-js:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/js
+ needs: ['build-docker-image']
integration-php:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/php
+ needs: ['build-docker-image']
integration-python:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/python
+ needs: ['build-docker-image']
integration-ruby:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/ruby
+ needs: ['build-docker-image']
.functional:
stage: test