Skip to content

AzZipGo – Azure ☁️ Zip πŸ“¦ and Go πŸš€

License

Notifications You must be signed in to change notification settings

glueckkanja/azzipgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AzZipGo – Azure ☁️ Zip πŸ“¦ and Go πŸš€

  • Deploy all the things: Azure Websites, Function Apps and WebJobs!
  • Runs everywhere
  • Uses Kudu's ZipDeploy feature
  • Uses an auto-generated Deployment Slot and Auto-Swap when using the deploy-with-slot command
  • Or deploys directly to a WebSite slot using the deploy-in-place command

Usage

azzipgo COMMAND [OPTIONS]+

COMMAND deploy-with-slot

Deploy Site using ZipDeploy and a newly created slot.

  • cleanup-after-success -- Delete temporary slot after deployment. This will add a wait period of 2 minutes. Default = false
  • stop-webjobs -- Set sticky app setting WEBJOBS_STOPPED=1 for the new temporary slot. Default = true

COMMAND deploy-in-place

Deploy Site using ZipDeploy and run the deployment in-place without a temporary slot and auto-swap.

Generic Options

  • u|user -- Service principal ID. Create in Azure using az ad sp create-for-rbac.

  • p|password -- Service principal password

  • t|tenant -- The tenant ID or name

  • environment -- The Azure environment. One of: global (default), germany, china, usgov

  • s|subscription -- The subscription ID

  • g|resource-group -- The resource group of the website

  • d|directory -- The path to the directory to deploy

  • site -- The site name to deploy to

  • target-slot -- The slot name to deploy to. Use production to deploy to the specified website directly.

  • run-from-package -- Set or remove app setting WEBSITE_RUN_FROM_PACKAGE for the target or temp slot. This will enable or disable the Run From Package feature. Default = false