Skip to content

Dependencies doesn't work as expected

Summary

Job with dependency starts automatically. Instead of wait for dependency.

Steps to reproduce

stages:
  - compile
  - build

compile:
  stage: compile
  script:
    - bin/compile
  artifacts:
    when: on_success
    expire_in: 1 week
    paths:
      - .
  when: maual

build:
  stage: build
  dependencies:
    - compile
  script:
    - bin/build

Actual behavior

build job started automatically. Not waiting for compile job.

Expected behavior

build job sould wait for success compile job.

Relevant logs and/or screenshots

gitlab

Environment description

Gitlab CE (8.16.4 - omnibus) - self hosted with Gitlab CI Multi Runner - docker.

Used GitLab Runner version

Running with gitlab-ci-multi-runner 1.10.4 (b32125f)
Using Docker executor with image docker:git ...