Skip to content

Offer Instance and Group Level gitlab-ci.yml file templates in the GitlabCI initial setup prompt and pipeline editor

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Gitlab allows you to define file templates at the Instance or Group level, that individual projects can then use as a starting point. One of the key template types is for .gitlab-ci.yml.

However, the GitLab UI does not always make these templates available to the user.

The templates are not offered on the initial GitLabCI setup screen. Only GitLab's own hosted templates are offered: Screen_Shot_2022-10-05_at_10.19.43_AM

The templates are also not offered in the Pipeline editor. Only GitLab's own hosted templates are offered: Screen_Shot_2022-10-05_at_10.21.07_AM

The templates are offered in the regular file editor: Screen_Shot_2022-10-05_at_10.24.19_AM

And the templates are offered in the WebIDE: Screen_Shot_2022-10-05_at_10.24.52_AM

Proposal

Suggested fix: Add the same drop down option to offer custom templates to both the initial GitlabCI setup screen and the Pipeline editor.

Intended users

Feature Usage Metrics

Analytics should be able to determine whether users interact with the new custom templates option in these 2 places.

Edited by 🤖 GitLab Bot 🤖