guardian / riff-raff

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

fix: Fail a deployment if an AMI cannot be located #1296

Closed akash1810 closed 8 months ago

akash1810 commented 8 months ago

What does this change?

Extends the changes of https://github.com/guardian/riff-raff/pull/1141, converting a warning to a failure. With this change, if an AMI cannot be found the deployment is stopped, and marked as failed.

image

How to test

github-actions[bot] commented 8 months ago

Deploy build 3225 of tools::riffraff to CODE

All deployment options - [Deploy build 3225 of `tools::riffraff` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=tools%3A%3Ariffraff&build=3225&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 3225 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=tools%3A%3Ariffraff&build=3225&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=tools%3A%3Ariffraff&stage=CODE)

From guardian/actions-riff-raff.