Hi, I have a question and was hoping this might be a good place to ask.
Drone promotions allow us to add custom parameters to promotions (which get passed in as environment vars). I see that these env vars can be passed in as build parameters via the Drone UI.
However, I’ve found that a user running a promotion needs to manually enter each parameter key and its value. Ideally, we’d like to be able to have keys pre-populated in the UI, and only enter the value (or even have default values pre-populated as well). This would allow us to not have to keep a reference at hand for each supported/required parameter key name for a given promotion.
For example-- suppose we have a drone pipeline that reads a
DATA_TYPE environment variable, and behaves differently depending on whether
DATA_TYPE is set to
BC. If a user clicks “promote” in UI, I’d like
DATA_TYPE to already be visible in the “keys”, so the user would only have to fill out the value, say
AB (currently, the user has to input both
AB which is not ideal).
Is this possible? Thanks in advance.