From 26e5bde085d0982c2340f1a2509cb74b0855d257 Mon Sep 17 00:00:00 2001 From: Mike Wasson Date: Mon, 15 Apr 2019 12:38:37 -0700 Subject: [PATCH] Update deployment steps for drone scheduler (#125) The deployment steps try to get the Resource ID and Client ID from the "azuredeploy" deployment but these are actually returned in the "azuredeploy-identities" deployment --- deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment.md b/deployment.md index 48d24bce..b859d810 100644 --- a/deployment.md +++ b/deployment.md @@ -391,8 +391,8 @@ Create and set up pod identity ```bash # Extract outputs from deployment -export DRONESCHEDULER_PRINCIPAL_RESOURCE_ID=$(az group deployment show -g $RESOURCE_GROUP -n azuredeploy --query properties.outputs.droneSchedulerPrincipalResourceId.value -o tsv) && \ -export DRONESCHEDULER_PRINCIPAL_CLIENT_ID=$(az group deployment show -g $RESOURCE_GROUP -n azuredeploy --query properties.outputs.droneSchedulerPrincipalClientId.value -o tsv) +export DRONESCHEDULER_PRINCIPAL_RESOURCE_ID=$(az group deployment show -g $RESOURCE_GROUP -n azuredeploy-identities --query properties.outputs.droneSchedulerPrincipalResourceId.value -o tsv) && \ +export DRONESCHEDULER_PRINCIPAL_CLIENT_ID=$(az group deployment show -g $RESOURCE_GROUP -n azuredeploy-identities --query properties.outputs.droneSchedulerPrincipalClientId.value -o tsv) ``` Build and publish the container image