diff options
| author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-10-08 15:39:14 +0200 |
|---|---|---|
| committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-10-10 13:31:03 +0200 |
| commit | 991a291aa64acca38acacc5736c416e060aa29f2 (patch) | |
| tree | 36eeed0a3bb45ee46d40febb5a4c036f42f3ed3f /.gitlab-ci.yml | |
| parent | Bump version to 11.5.0 (diff) | |
| download | gitlab-runner-991a291aa64acca38acacc5736c416e060aa29f2.tar.gz | |
Add dependency check jobs
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf45aa3f..90a35fc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ stages: - cleanup variables: - CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-0 + CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-1 GOROOT: /usr/local/go before_script: @@ -29,7 +29,7 @@ image: $CI_IMAGE services: - docker:dind variables: &docker_variables - CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-0 + CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-1 DOCKER_DRIVER: overlay2 DOCKER_HOST: tcp://docker:2375 tags: @@ -155,6 +155,25 @@ tests definitions: tags: - gitlab-org +dep check: + <<: *except_docs + stage: prebuild + cache: {} + dependencies: + script: + - make dep_check + +dep status: + <<: *except_docs + stage: prebuild + cache: {} + dependencies: + script: + - make dep_status + only: + variables: + - $CI_DEP_STATUS_ENABLED + # # Test stage # @@ -480,3 +499,4 @@ static QA: jq -C . gl-code-quality-report.json exit 1 fi + |
