Write-Host "Checking if '$(legacy_functionapp_name) exists"
$functionAppCheck = az functionapp list --query "[?name=='$(legacy_functionapp_name)']" | ConvertFrom-Json
$functionAppExists = $functionAppCheck.Length -gt 0
Write-Host "Exists: $functionAppExists"
if ($functionAppExists) {
Write-Host "Deleting legacy function app"
az functionapp delete -n $(legacy_functionapp_name) -g $(resourcegroup_name)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: <project_name> | |
services: | |
storage: | |
image: mcr.microsoft.com/azure-storage/azurite | |
container_name: <project_name>-azurite | |
command: "azurite -l /data --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck" | |
ports: | |
- 10000:10000 | |
- 10001:10001 | |
- 10002:10002 |
${{ if eq(variables['Build.Reason'], 'PullRequest') }}
The current version of AzCopy no longer supports copying data from Azure Table Storage.
With that in mind, we are left using an earlier version developed using the .NET Framework which introduces a different set of problems.
Instructions follow:
- Download and install AzCopy 7.3
- Navigate to the relevant install directory eg.
C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy
- AzCopy 7.3 does not support the latest TLS version OOTB and will fail without enabling it. To do so, copy the following with the filename: AzCopy.exe.config into the install directory
OlderNewer