guardian / riff-raff

The Guardian's deployment platform
Apache License 2.0
265 stars 18 forks source link

feat: Enable deep-linking to deployment form #1281

Closed akash1810 closed 9 months ago

akash1810 commented 9 months ago

What does this change?

This change allows supplying query strings to fill in the deployment request form.

For example: /deployment/request?project=deploy::service-catalogue&build=2000&stage=CODE&updateStrategy=MostlyHarmless.

This change changes the UX of the /deployment/request (no query string) from:

image

To:

image

This does not impact behaviour, but it might cause confusion?

How to test

TBD.

How can we measure success?

This change would allow https://github.com/guardian/actions-riff-raff to produce a "Deploy now" link, extending the functionality added in https://github.com/guardian/actions-riff-raff/pull/20.

akash1810 commented 9 months ago

This feature already (sort of) exists via the /deployment/deployAgain endpoint. Closing.