minor edits to the performance test scripts
This commit is contained in:
Родитель
bf31804b23
Коммит
a885596ba3
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче