Requiring pipeline to succeed before merging MR no longer works with external CI
Summary
The option "Only allow merge requests to be merged if the pipeline succeeds" no longer appears in Merge request settings.
We use external CI for our testing.
We do not have GitLab built-in pipelines enabled.
This was working fine in self-hosted GitLab 10.x EES, no longer works with 11.0.3.
Steps to reproduce
- Add external CI to a project (i.e. TeamCity)
- Go enable the option, it's not there
What is the current bug behavior?
Not possible to require green pipeline before merging with external CI.
What is the expected correct behavior?
Should work with external CIs (pipelines).
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Debian 9.4 Proxy: no Current User: git Using RVM: no Ruby Version: 2.4.4p296 Gem Version: 2.7.6 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.2.11 Git Version: 2.17.1 Sidekiq Version:5.1.3 Go Version: unknown
GitLab information Version: 11.0.3-ee Revision: f25aa33 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: ~ HTTP Clone URL: ~ SSH Clone URL: ~ Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no
GitLab Shell Version: 7.1.4 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...
GitLab Shell version >= 7.1.4 ? ... OK (7.1.4) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 2/1 ... ok 17/2 ... ok 17/8 ... ok 2/18 ... ok 2/19 ... ok 2/20 ... ok 2/21 ... ok 2/22 ... ok 2/23 ... ok 2/24 ... ok 15/26 ... ok 15/27 ... ok 15/28 ... ok 15/29 ... ok 15/30 ... ok 2/31 ... ok 2/32 ... ok 14/33 ... ok 14/34 ... ok 24/35 ... ok 24/36 ... ok 2/37 ... ok 2/38 ... ok 2/39 ... ok 4/40 ... ok 3/42 ... ok 2/43 ... ok 17/44 ... ok 17/45 ... ok 19/47 ... ok 3/48 ... ok 4/49 ... ok 27/50 ... ok 4/51 ... ok 3/52 ... ok 29/53 ... ok 2/54 ... ok 2/55 ... ok 2/56 ... ok 2/57 ... ok 2/58 ... ok 2/59 ... ok 4/60 ... ok 4/61 ... ok 4/62 ... ok 32/63 ... ok 32/64 ... ok 3/65 ... ok 3/66 ... repository is empty 2/67 ... ok 2/68 ... ok 2/69 ... ok 29/71 ... ok 15/72 ... ok 15/73 ... ok 15/74 ... ok 24/75 ... ok 15/76 ... ok 3/77 ... repository is empty 2/78 ... ok 32/79 ... ok 29/80 ... repository is empty 3/81 ... ok 38/82 ... ok 2/83 ... ok 38/84 ... ok 2/85 ... ok 39/86 ... ok 39/87 ... ok 39/88 ... ok 40/89 ... ok 3/90 ... ok 2/91 ... ok 47/92 ... ok 47/93 ... ok 47/94 ... ok 40/95 ... ok 40/96 ... ok 40/97 ... ok 40/98 ... ok 40/99 ... ok 40/100 ... ok 17/101 ... ok 16/102 ... ok 16/103 ... ok 16/104 ... ok 39/105 ... ok 39/106 ... ok 39/107 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
IMAP server credentials are correct? ... yes Init.d configured correctly? ... skipped MailRoom running? ... skipped
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 2/1 ... yes 17/2 ... yes 17/8 ... yes 2/18 ... yes 2/19 ... yes 2/20 ... yes 2/21 ... yes 2/22 ... yes 2/23 ... yes 2/24 ... yes 15/26 ... yes 15/27 ... yes 15/28 ... yes 15/29 ... yes 15/30 ... yes 2/31 ... yes 2/32 ... yes 14/33 ... yes 14/34 ... yes 24/35 ... yes 24/36 ... yes 2/37 ... yes 2/38 ... yes 2/39 ... yes 4/40 ... yes 3/42 ... yes 2/43 ... yes 17/44 ... yes 17/45 ... yes 19/47 ... yes 3/48 ... yes 4/49 ... yes 27/50 ... yes 4/51 ... yes 3/52 ... yes 29/53 ... yes 2/54 ... yes 2/55 ... yes 2/56 ... yes 2/57 ... yes 2/58 ... yes 2/59 ... yes 4/60 ... yes 4/61 ... yes 4/62 ... yes 32/63 ... yes 32/64 ... yes 3/65 ... yes 3/66 ... yes 2/67 ... yes 2/68 ... yes 2/69 ... yes 29/71 ... yes 15/72 ... yes 15/73 ... yes 15/74 ... yes 24/75 ... yes 15/76 ... yes 3/77 ... yes 2/78 ... yes 32/79 ... yes 29/80 ... yes 3/81 ... yes 38/82 ... yes 2/83 ... yes 38/84 ... yes 2/85 ... yes 39/86 ... yes 39/87 ... yes 39/88 ... yes 40/89 ... yes 3/90 ... yes 2/91 ... yes 47/92 ... yes 47/93 ... yes 47/94 ... yes 40/95 ... yes 40/96 ... yes 40/97 ... yes 40/98 ... yes 40/99 ... yes 40/100 ... yes 17/101 ... yes 16/102 ... yes 16/103 ... yes 16/104 ... yes 39/105 ... yes 39/106 ... yes 39/107 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.4) Git version >= 2.9.5 ? ... yes (2.17.1) Git user has default SSH configuration? ... yes Active users: ... 28 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)
Checking GitLab ... Finished