4 ms·
Sorry for being a little off-topic, but speaking of GitLab CI's, I really wish Auto DevOps wouldn't be enabled by default/mysteriously when there's no .gitlab-c
by ahreflink 8y ago
Sorry for being a little off-topic, but speaking of GitLab CI's, I really wish Auto DevOps wouldn't be enabled by default/mysteriously when there's no .gitlab-ci.yml and it hasn't been manually enabled. You end up with the red 'build: failed' icon which appears to be impossible to delete/hide even if you disable Pipelines under project permissions and disable everything under CI/CD.
I believe one thing that cause it is changing a repo from private to public without unchecking Pipelines permission (enabled by default). The new GitLab profile pages looks absolutely gorgeous, but I suspect many will be turned off by the highly visible 'build: failed' icons next to the repos, even if those repos contain nothing but a JSON file.. I personally had to resort to deleting the repo and creating a new one to get rid of it. And on that note, clicking on the '/users/username/projects?limit=10&page=2' next button results in the Overview tab turning blank.
- sytse 8y agoMmm, I agree that if Auto DevOps runs once, fails, and is disabled it shouldn't show a failed icon. Anyone that has a link to an issue or fix?
- Snappy 8y agoThat is weird behavior. Here's an issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/52778 https://gitlab.com/gitlab-org/gitlab-ce/issues/52778
- Snappy 8y agoFWIW, if you disable Pipelines and push another commit to the repo, you'll clear the failed icon from the project page. The project page only shows the last commit and the failed status is associated with the specific commit, not the project as a whole. The profile page, however, doesn't seem to update. My guess is that it's a caching problem. I've logged https://gitlab.com/gitlab-org/gitlab-ce/issues/52780 https://gitlab.com/gitlab-org/gitlab-ce/issues/52780 for this.
- Snappy 8y agoAlso created https://gitlab.com/gitlab-org/gitlab-ce/issues/52779 https://gitlab.com/gitlab-org/gitlab-ce/issues/52779 to discuss not making Auto DevOps pipelines show failure at all.