Preview button for instance templates no longer works
Summary
When creating a project from template, the Preview
button no longer works for custom instance templates. Clicking on the button does nothing. This issue exists in 16.6.1, but appears to be working prior to 16.3 and may be the result of the Pajamas migration.
Steps to reproduce
- Create instance templates if none exist
- Go to Create a new project
- Select Create from template
- Select the instance tab
- Click
Preview
for the template and note that it does nothing.
Example Project
What is the current bug behavior?
Clicking on the Preview
button for an instance template does nothing.
What is the expected correct behavior?
Clickng on the Preview
button should take you to the template project to preview it
Relevant logs and/or screenshots
Output of checks
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`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
Edited by Cleveland Bledsoe Jr