deployWebApp
It first connects to the intended Azure Tenant Subscription with provided credentials. Next, it updates Application Setting/Connection String properties in Azure Web App(optional). While doing so it performs environment and project-specific property replacement as well. This operation can either deploy a code archive or a docker container(including a multi-container). In case a code archive is provided the same is deployed to Azure Web App. In case docker image details are provided the same is updated in the Azure Web App configuration. You need to create a Web App artifact as part of the build workflow containing the Application Setting/Connection String properties file and code archive (whichever is applicable).
Show deployment log is an optional feature(only for code archive deployment), that allows the developer to retrieve execution logs in case someone wants to verify the deployment steps.
Remote Build is an optional feature to upload the code to the Azure Web App backend and build it there itself (e.g: .NET/Node.js).
This operation should return the status and response details of execution details from Azure.
Target PropertiesÂ
Property Name | Property Code | Required | Description |
Registry Account | FDDKR_REGISTRY_ACCOUNT_CODE | Yes | The Docker Registry account to use. |
Web App Slot Name | FDAZ_WEB_SLOT_NAME | Yes | Slot for Web App deployment |
Azure Cloud Account | FDAZ_ACCOUNT_CODE | Yes | Azure cloud account name |
Absolute path of Azure CLI | FDAZ_CLI_PATH | No | e.g. /u01/azure/bin/az or c:\\azure\cli\wbin\az |
Project PropertiesÂ
Property Name | Property Code | Required | Description |
Web App Name | FDAZ_WEB_APP_NAME | Yes | Azure Web App name |
Resource Group Name | FDAZ_RESOURCE_GROUP | Yes | Azure Resource Group name |
Execute Remote Build | FDAZ_REMOTE_BUILD | No | Select in case Remote Build is required |
Application Setting File Name | FDAZ_APP_SETTING_FILE | No | Name of Application Settings file |
Connection String File Name | FDAZ_CONNECTION_STRING_FILE | No | Name of Connection String file |
Show Deployment Log | FDAZ_SHOW_DEPLOYMENT_LOG | No | To get detailed deployment log(if available). |
Docker Image Name | FDDKR_IMAGE_NAME | No | The name of the docker image, including the repository if desired. i.e. foo/bar or bar. |
Docker Image Tag | FDDKR_IMAGE_TAG | No | The tag of the docker image. |
Multi Container Config Type | FDAZ_MULTICONTAINER_CONFIG_TYPE | No | Multi container config type for Web App |
Multi Container Config File | FDAZ_MULTICONTAINER_CONFIG_FILE | No | Multi container config file for Web App |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Application Setting Properties | FDAZ_INP_APP_SETTING_VALS | No | Upsert any Application Setting property(s) |
Connection String Properties | FDAZ_INP_CONNECTION_STRING_VALS | No | Upsert any Connection String property(s) |
Outputs
Output Name | Required | Description |
---|---|---|
FDAZ_OUT_DEPLOY_STATUS | Yes | Status of the deployment |
FDAZ_OUT_DEPLOY_RESP | Yes | Response of the deployment |
FDAZ_OUT_DEPLOY_ERR | No | Error (in case any) from the deployment |
FDAZ_OUT_DEPLOY_LOG | No | Detailed log (in case requested) of the deployment |
Artifacts
This operation consumes artifacts. Â
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style