Selecting Auto DevOps Deploy Strategy to manual makes build job spin

Summary

When setting up Auto DevOps for a project, if you select the second option under Deploy Strategy (Automatic deployment to staging, manual deployment to production) then build jobs spin endlessly.

Steps to reproduce

  1. Make a new project
  2. Set the project's CI/CD Auto DevOps settings
  3. For Deploy Strategy select "Automatic deployment to staging, manual deployment to production" option
  4. run a pipeline to build a simple project
  5. build stage will spin forever, with no output
  6. Changing the setting back to "Continuous deployment to production" makes the problem go away.

Example Project

https://gitlab.com/dangordon/minimal-ruby-app/

What is the current bug behavior?

described above

What is the expected correct behavior?

build stage should run and build code

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

No access to GitLab server shell, but here's version info from the help page: GitLab Enterprise Edition 11.0.0-rc13-ee 19c1c49

Results of GitLab application Check

Expand for output related to the GitLab application check

No access to GitLab server shell

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading