Creating a critical step in a deployment project

(Kieran Jaunay) #1

Hi there, I want to create a critical step in a deployment process. I know how to make subsequent steps rely on success of a previous step but I’m wanting to know is if there is a way of having a deployment immediately halt/exit if a one critical step fails?

I want to check if content exists in a CDN, if it doesn’t upload it, if I can’t upload, gracefully exit the deployment.

Thanks in advance

(Ziaul Islam) #3

Hi Kieran,

Welcome to Octopus!

That’s something we can most definitely assist you with.

We have a feature called “Run Conditions” which you can use in the step template, by default it is set only to allow successful deployments.

Additionally, we have a feature which is called Guided failures. If something goes wrong during the deployment, Octopus will interrupt the deployment and request guidance for how to handle the failure. I have posted a link below for you to have a look at:

I would personally recommend having a manual intervention in your process step.

I hope this information is useful to you :slight_smile:

Kind regards,
Ziaul