Working deployment to appservice

This commit is contained in:
benjaminramey
2019-11-02 20:43:09 -05:00
parent 4096930b39
commit 59311217d6
3 changed files with 4 additions and 3 deletions

View File

@@ -14,10 +14,10 @@
}, },
"variables": { "variables": {
"environment": "[toLower(parameters('environment'))]", "environment": "[toLower(parameters('environment'))]",
"prefix": "[concat('safe-', variables('environment'))]", "prefix": "[concat('lunchrun-', variables('environment'))]",
"appServicePlan": "[concat(variables('prefix'), '-web-host')]", "appServicePlan": "[concat(variables('prefix'), '-web-host')]",
"web": "[concat(variables('prefix'), '-web')]", "web": "[concat(variables('prefix'), '-web')]",
"storage": "[concat('safe', variables('environment'), 'storage')]", "storage": "[concat('lunchrun', variables('environment'), 'storage')]",
"insights": "[concat(variables('prefix'), '-insights')]" "insights": "[concat(variables('prefix'), '-insights')]"
}, },
"resources": [ "resources": [

View File

@@ -132,7 +132,7 @@ let mutable deploymentOutputs : ArmOutput option = None
Target.create "ArmTemplate" (fun _ -> Target.create "ArmTemplate" (fun _ ->
let environment = Environment.environVarOrDefault "environment" (Guid.NewGuid().ToString().ToLower().Split '-' |> Array.head) let environment = Environment.environVarOrDefault "environment" (Guid.NewGuid().ToString().ToLower().Split '-' |> Array.head)
let armTemplate = @"arm-template.json" let armTemplate = @"arm-template.json"
let resourceGroupName = "safe-" + environment let resourceGroupName = "lunchrun-" + environment
let authCtx = let authCtx =
// You can safely replace these with your own subscription and client IDs hard-coded into this script. // You can safely replace these with your own subscription and client IDs hard-coded into this script.

View File

@@ -1,3 +1,4 @@
version 5.216.0
group Server group Server
source https://api.nuget.org/v3/index.json source https://api.nuget.org/v3/index.json
framework: netcoreapp2.2 framework: netcoreapp2.2