View launch.json
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"compounds": [ | |
// For more information, visit: https://code.visualstudio.com/docs/editor/debugging#_compound-launch-configurations | |
{ | |
"name": "All Services", | |
"preLaunchTask": "build", |
View getK8sVersion.ps1
This file contains 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
Write-Output 'Finding version of K8s' | |
$location = 'eastus' | |
# Use index -1 to get the last entry which should be | |
# the latest version | |
$k8sversion = $(az aks get-versions --location $location ` | |
--query orchestrators[-1].orchestratorVersion ` | |
--output tsv) | |
Write-Verbose "k8s version = $k8sversion" |
View development.js
This file contains 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
development: { | |
host: '127.0.0.1', | |
port: 8545, | |
network_id: '*' | |
} |
View templatepack.csproj
This file contains 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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<Title></Title> | |
<Authors></Authors> | |
<Description></Description> | |
<PackageId></PackageId> | |
<PackageTags></PackageTags> | |
<PackageType>Template</PackageType> | |
<PackageVersion>1.0</PackageVersion> | |
<TargetFramework>netcoreapp3.1</TargetFramework> |
View Deploy-AzureResourceGroup.ps1
This file contains 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
#Requires -Version 6.0 | |
Param( | |
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation, | |
[string] $ResourceGroupName = 'AppServiceAndSql', | |
[switch] $UploadArtifacts, | |
[string] $StorageAccountName, | |
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts', | |
[string] $TemplateFile = 'WebSiteSQLDatabase.json', | |
[string] $TemplateParametersFile = 'WebSiteSQLDatabase.parameters.json', |