Deploy multiple packages to a singe azure web app

mike.jarosch's Avatar

mike.jarosch

06 Jan, 2017 08:24 PM

We have a deployment process where we have taken vendor provided artifacts and created separate deployment packages from them. This has a couple benefits for us. One, simplifies the upgrade process when a vendor has a new release, as all our modifications are in our own custom project. Two it keeps package sizes down, the vendor packages are big, but don't change very often, while our custom package is small and created for every commit. The deployment process deploys the different packages to the same directory. This way our modifications overwrite any original files.

We are looking into moving the application to an azure web app and wondering how this deployment process will translate. Can we deploy multiple packages to a single azure web app or do we need to create a single package?

  1. Support Staff 1 Posted by Kenneth Bates on 09 Jan, 2017 03:11 AM

    Kenneth Bates's Avatar

    Hi Mike,

    Thanks for reaching out! I wasn't sure that Azure could support partial deployments, so I tested it with my webapp in order to confirm, and Azure does support partial deployments. However, it's not something we generally recommend. An example of why is if you added a new Azure account that you may want to deploy this app to, figuring out which releases you'd need to deploy to it in order to get it working could get difficult.

    An important thing to note when doing these partial deployments, is the Octopus.Action.Azure.RemoveAdditionalFiles variable as shown in our documentation. Ensure that variable is not enabled, as it will delete files which are not found in the source package.

    Let us know if you have any further questions!

    Kenny

  2. 2 Posted by mike.jarosch on 18 Jan, 2017 08:58 PM

    mike.jarosch's Avatar

    Hi Kenny,

    I don't think you understand. All of these packages make up a single install process.

    Step 7 is install package 1. Step 8 is install package 2. Step 9 is install package 3.

    Ideally there would be a Deploy Packages step where we choose multiple packages for the single deploy step.

    Thanks,
    Mike

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

Recent Discussions

20 Jan, 2017 05:23 AM
20 Jan, 2017 04:24 AM
20 Jan, 2017 03:16 AM
20 Jan, 2017 02:36 AM
20 Jan, 2017 02:32 AM