azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az webapp deploy

Open jvano opened this issue 7 years ago • 6 comments

We need a command to deploy: az webapp deploy --src {FilePathLocation}

The FilePathLocation, should be a local or remote file (http://) If extension is .zip -> use /zipdeploy as today If extension is .war -> use /wardeploy Else case -> add the file to a zip and use /zipdeploy (this is useful to transfer .jar files or any other file).

Ideally the context should be passed from previous create, so we should not need to type other parameter to explain where are we deploying to

jvano avatar Mar 08 '19 23:03 jvano

There is an existing deployment command https://docs.microsoft.com/en-us/cli/azure/webapp/deployment/source?view=azure-cli-latest#az-webapp-deployment-source-config-zip that already does zip deploy the wardeployment support will be added to this.

the remote file support is tracked here https://github.com/Azure/azure-cli/issues/9291

panchagnula avatar Jul 05 '19 23:07 panchagnula

@btardif this is request for a command for war deploy

panchagnula avatar Jul 24 '19 05:07 panchagnula

we will add support for this to the existing deployment command

panchagnula avatar Sep 20 '19 18:09 panchagnula

@btardif can you let me know when this ready with the new deployment command? so that we add support for JAVA with zip deploy?

panchagnula avatar Jun 11 '20 17:06 panchagnula

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

ghost avatar Sep 23 '20 20:09 ghost

Closing this since the changes are merged.

panchagnula avatar Feb 24 '21 17:02 panchagnula