Shopify / shipit-engine

Deployment coordination
https://shopify.engineering/introducing-shipit
MIT License
1.41k stars 144 forks source link

Allow overrides for default task values via URL parameters #1320

Closed kovyrin closed 8 months ago

kovyrin commented 8 months ago

Allow new task page to accept default value overrides for task variables. This should allow users to construct urls like https://shipit.example.com/something/production/tasks/restart/new?REGION=gcp-us-east1 and provide their parameters with a default value.

One very important use-case here is links from documentation/playbooks, where we'd want to hardcode specific values for a task and allow the operator to review those and then click the button without having to re-type the values every time (especially dangerous when under fire).

kovyrin commented 8 months ago

Fine by me, just think the implementation could be improved a bit.

Great suggestion, thank you!