Deployment Order

Aristotle U's Avatar

Aristotle U

20 Sep, 2024 06:02 AM

Hi,

I have an environment and I am deploy a Windows App and Web App(IIS).

The Windows App is a DB schema update which needs to run first before the Web App deploy. Question is how will i make sure that the WebApp does not get deployed if the Windows Application exits with a non zero exit code.

Btw, i am running the WIndows App(DbUpgrade) in deploy.ps1 script.

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Sep, 2024 05:37 PM

    Feodor Fitsner's Avatar

    Hi Aristotle,

    You can control/pin the order of deployed applications with deploy_order setting (see here for more details).

    I would add before-deploy.ps1 into web app artifact, check the status of windows service and fail if it's not running. Hope that helps.

  2. Feodor Fitsner closed this discussion on 20 Nov, 2024 09:09 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac