Skip to content

.gitlab-ci.yml templates outdated when selected from dropdown

I used the template dropdown to generate this .gitlab-ci.yml:

PatMyron/patmyron.gitlab.io@b68084f6

and it was missing this commit from ~half a year ago:

pages/jekyll@3a855c9b

The templates should stay synchronized automatically


Related code:

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/views/projects/blob/_template_selectors.html.haml#L12

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/api/templates.rb#L85


Request being made to this URL:

https://gitlab.com/api/v4/projects/10604407/templates/gitlab_ci_ymls/Jekyll

Doesn't look specific to my project though:

https://gitlab.com/api/v4/templates/gitlab_ci_ymls/Jekyll

Edited by Pat Myron