Skip to content

Commit

Permalink
enable ci in westus2 and new SKU (#17061)
Browse files Browse the repository at this point in the history
  • Loading branch information
maririos authored Nov 19, 2020
1 parent 9484af6 commit a9b3e99
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
15 changes: 13 additions & 2 deletions sdk/textanalytics/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
},
"variables": {
"uniqueSubDomainName": "[format('{0}-{1}', parameters('baseName'), parameters('endpointPrefix'))]",
"endpointValue": "[format('https://{0}-{1}{2}', parameters('baseName'), parameters('endpointPrefix'), parameters('endpointSuffix'))]"
},
"resources": [
{
Expand All @@ -59,12 +60,22 @@
"name": "[variables('uniqueSubDomainName')]",
"location":"[parameters('location')]",
"sku": {
"name": "S0"
"name": "S"
},
"kind": "TextAnalytics",
"properties": {
"customSubDomainName": "[variables('uniqueSubDomainName')]"
}
}
]
],
"outputs": {
"TEXT_ANALYTICS_API_KEY": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts',variables('uniqueSubDomainName')), '2017-04-18').key1]"
},
"TEXT_ANALYTICS_ENDPOINT": {
"type": "string",
"value": "[variables('endpointValue')]"
}
}
}
5 changes: 2 additions & 3 deletions sdk/textanalytics/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
ServiceDirectory: textanalytics
EnvVars:
TEXT_ANALYTICS_API_KEY: $(net-textanalytics-test-api-key)
TEXT_ANALYTICS_ENDPOINT: $(net-textanalytics-test-ppe-endpoint-string)
Clouds: 'Preview'
UnsupportedClouds: 'China'

0 comments on commit a9b3e99

Please sign in to comment.