Make composable Auto DevOps elements easy to find and use - multiple selection

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

Problem to solve

Auto DevOps contains many interesting elements, especially now that teams are able to use composable pieces (i.e., the template list in https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml). We can also use this same Auto DevOps composability for solutions to problems like &1804.

The problem with all of this, however, is that the discoverability of these to improve your CD pipeline is very poor. You have to know about this feature, and then you have to go read the template .gitlab-ci.yml and understand it, then you need to guess what all the different templates actually do and how to integrate them.

Instead, in the .gitlab-ci.yml editor, we should provide an easy to use way to:

  • See the list of available templates that can be mixed in
  • Add/remove them in an easy way

Intended users

This will help users get the most out of GitLab CD.

Further details

Proposal

Allow multiple selection of templates to the WebIDE when editing an existing .gitlab-ci.yml file.

The current flow:

image

If a user selects the .gitlab-ci.yml named file in the WebIDE image

Allow choosing the multiple templates image

each one should me marked with a next to it in the drill down

the templates should be fully copied in this scenario and the user will need to manually remove the duplicate/non desired sections from the combined .gitlab-ci.yml template

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

Links / references

Edited by 🤖 GitLab Bot 🤖