Anthony Chu [email protected]
Anthony Chu - Microsoft
@nthonyChu
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
#!/bin/bash | |
APPS=$(az functionapp list --query "[].{group: resourceGroup, name: name}" --output tsv) | |
IFS=$'\n' | |
for APP in $APPS | |
do | |
GROUP=$(echo $APP | cut -f 1) | |
NAME=$(echo $APP | cut -f 2) | |
VERSION=$(az functionapp config appsettings list -g $GROUP -n $NAME --query "[?name == 'FUNCTIONS_EXTENSION_VERSION'].value" --output tsv) |
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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"location": { | |
"type": "string", | |
"defaultValue": "eastus", | |
"metadata": { | |
"description": "Location of the resources." | |
} |
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
FROM microsoft/aspnet | |
WORKDIR /inetpub/wwwroot | |
COPY . . | |
ENTRYPOINT ["powershell.exe", ".\\Startup.ps1"] |