Import GitHub repo stuck
Summary
Project import is stuck after trying to import a GitHub private project with no credentials.
Steps to reproduce
- Go to the create new project screen.
- Add a private GitHub project url with no credentials
- Import
What is the current bug behavior?
Project import is not failing or finishing. The UI shows it's still importing.
What is the expected correct behavior?
We expect the import to fail considering the url did not include credentials.
Relevant logs and/or screenshots
==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/code/xxxxxx/xxxxxx/import" for xx.xx.xx.xx at 2017-02-13 23:26:42 +0000
Processing by Projects::ImportsController#show as HTML
Parameters: {"namespace_id"=>"xxxxxx", "project_id"=>"xxxxxx"}
Started POST "/code/ci/api/v1/builds/register.json" for xx.xx.xx.xx at 2017-02-13 23:26:42 +0000
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
pending
Results of GitLab application Check
pending