Skip to content

In ci inputs allow to select multiple of predefined options for an array

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

Release notes

The input feature allows to specify inputs of different types. One is the type array, that allows to specify multiple values in an array. It is also possible to provide predefined options. It should be possible to select several of the predefined options.

Problem to solve

It should allow to populate an array with a selection of predefined options.

Proposal

spec:
  inputs:
    targets:
      type: array
      options:
        - target_1
        - target_2
        - target_3
      multiple: true

This should allow to specify multiple of the prefined options. This should create multiple check boxes with the predefined values in the inputs section in pipeline and pipeline schedules. Currently it is only possible to select only one of the predefined options.

The resulting array could then be used in a matrix build.

Intended users

Developers Maintainers

Edited by 🤖 GitLab Bot 🤖