I’ve noticed that my Azure deployments are doing more work than they possibly need to as the process seems to be:
- Download package from build server (check to see if this is new - if not, don’t download)
- Unpack package, and then unpack cloud deployment
- Run variable replacement
- Run transforms
- Re-pack deployment
- Upload to azure
- Check if deployment can be swapped from Staging to Prod
- Swap or Create new deployment
If Step 7 were moved to step 1, the bulk of the work could be short-circuited if the deployment can be swapped.
At the moment, I’ve got duplicate packages stored in blob storage which aren’t needed, and the bulk of the deployment time is taken up with the unpacking, transforming and re-packing.
ServerTasks-3905.log.txt (11 KB)