Родитель
60f9c38739
Коммит
b65e2bf176
|
@ -19,7 +19,7 @@ jobs:
|
|||
- sudo apt-get install azure-cli
|
||||
# - az --help
|
||||
# - chmod +x install.sh && ./install.sh
|
||||
- set -o pipefail && mvn -P travis-ci-test clean cobertura:cobertura-integration-test | grep -v "DEBUG"
|
||||
- travis_wait 30 set -o pipefail && mvn -P travis-ci-test clean cobertura:cobertura-integration-test | grep -v "DEBUG"
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- stage: performance-test
|
||||
script:
|
||||
|
|
|
@ -29,7 +29,7 @@ set createcmd='az cosmosdb create --name %dbname% --resource-group %resourcegrou
|
|||
|
||||
for /f "tokens=*" %%a in (%createcmd%) do (set cosmosdburi=%%a)
|
||||
|
||||
set listcmd='az cosmosdb list-keys --name %dbname% --resource-group %resourcegroup% --query primaryMasterKey'
|
||||
set listcmd='az cosmosdb keys list --name %dbname% --resource-group %resourcegroup% --query primaryMasterKey'
|
||||
for /f "tokens=*" %%a in (%listcmd%) do (set cosmosdbkey=%%a)
|
||||
echo %cosmosdbkey%
|
||||
|
||||
|
|
|
@ -16,6 +16,6 @@ fi
|
|||
az login --service-principal -u $CLIENT_ID -p $CLIENT_KEY --tenant $TENANT_ID >> tmp.txt
|
||||
az group create -l westus -n $resourcegroup 2>1 > /dev/null
|
||||
cosmosDbUri=$(az cosmosdb create --name $dbname --resource-group $resourcegroup --kind GlobalDocumentDB --query documentEndpoint)
|
||||
cosmosDbKey=$(az cosmosdb list-keys --name $dbname --resource-group $resourcegroup --query primaryMasterKey)
|
||||
cosmosDbKey=$(az cosmosdb keys list --name $dbname --resource-group $resourcegroup --query primaryMasterKey)
|
||||
|
||||
echo $cosmosDbKey
|
||||
|
|
Загрузка…
Ссылка в новой задаче