CI/CD configuration button in Project/Details does not reflect reality
Summary
In certain scenarios the CI/CD configuration
button in the Project/Details screen might be displayed even though repository does not have any .gitlab-ci.yml
.
Steps to reproduce
- Create repository
- You should see
Set up CI/CD
button in Project/Details - Commit & push
.gitlab-ci.yml
file - You should see
CI/CD configuration
button that will take you to respective file - Delete file
.gitlab-ci.yml
& commit & push - There is still a
CI/CD configuration
button, that goes to 404 - Page Not Found
Also I have auto-devops
enabled on my project, so that might play a role?
Example Project
https://gitlab.com/michal.bryxi/ember-intl-changeset-validations
- There a
CI/CD configuration
button, that goes to 404 - Page Not Found even though that the file was deleted
(What actually happens)
- The button should go back to
Set up CI/CD
?
Relevant logs and/or screenshots
Screen_Recording_2019-08-01_at_10.12.18
Output of checks
This bug happens on GitLab.com