go-vela / community

Community Information for Vela (Target's official Pipeline Automation Framework)
https://go-vela.github.io/docs/
Apache License 2.0
23 stars 3 forks source link

server/ui: support typed deployment parameters with dynamic forms #1002

Open plyr4 opened 1 month ago

plyr4 commented 1 month ago

Description

support a better process for creating deployments.

the idea is to have yaml keys that define how a dynamic form should render in the UI.

deployment:
  deployRegion
    inputs:
      region:
        type: string
        description: which fake region to deploy to
        default: east
      options:
        type: stringarray
        description: some list of string options
        default: [ foo, bar ]

Spinnaker screenshot for inspiration: image

JordanSussman commented 1 month ago

You could also draw inspiration from GitHub issue forms for the YAML schema.