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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM