minor edits to the performance test scripts

This commit is contained in:
Sebastian Burckhardt 2021-02-23 06:35:19 -08:00
Родитель bf31804b23
Коммит a885596ba3
7 изменённых файлов: 17 добавлений и 6 удалений

Просмотреть файл

@ -1,6 +1,6 @@
#!/usr/bin/pwsh
# import the parameter settings from the file in the same directory
# read the settings that are common to all scripts
. ./settings.ps1
Write-Host "Clearing storage account..."

Просмотреть файл

@ -1,6 +1,6 @@
#!/usr/bin/pwsh
# import the parameter settings from the file in the same directory
# read the settings that are common to all scripts
. ./settings.ps1
Write-Host "Deleting Resource Group..."

Просмотреть файл

@ -5,7 +5,7 @@ param (
$Configuration="Release"
)
# read the settings
# read the settings that are common to all scripts
. ./settings.ps1
Write-Host Building $Configuration Configuration...

Просмотреть файл

@ -1,6 +1,6 @@
#!/usr/bin/pwsh
# import the parameter settings from the file in the same directory
# read the settings that are common to all scripts
. ./settings.ps1
if ((az group exists --name $groupName) -ne "true")

Просмотреть файл

@ -0,0 +1,11 @@
#!/usr/bin/pwsh
# read the settings that are common to all scripts
. ./settings.ps1
# look up the two connection strings and assign them to the respective environment variables
$Env:AzureWebJobsStorage = (az storage account show-connection-string --name $storageName --resource-group $groupName | ConvertFrom-Json).connectionString
$Env:EventHubsConnection = (az eventhubs namespace authorization-rule keys list --resource-group $groupName --namespace-name $namespaceName --name RootManageSharedAccessKey | ConvertFrom-Json).primaryConnectionString
# open visual studio
devenv ..\..\DurableTask.Netherite.sln

Просмотреть файл

@ -3,7 +3,7 @@ param (
$Configuration="Release"
)
# read the parameters
# read the settings that are common to all scripts
. ./settings.ps1
# enter the directory with the binaries

Просмотреть файл

@ -11,7 +11,7 @@ param (
$DelayAfterRun=25
)
# import the parameter settings from the file in the same directory
# read the settings that are common to all scripts
. ./settings.ps1
# create the resources