Skip to content

Commit

Permalink
Update Service Directory tests.yml (#15843)
Browse files Browse the repository at this point in the history
* Adding test.yml files for packages with live tests

* Formatting yaml files

* Formatting yaml files

* Merging all tests.yml file into one

* Removing sms live tests automation

* Update ServiceDirectory

* Adding the correct output variables

* Fixing endpoint output

Co-authored-by: Minnie Liu <peiliu@microsoft.com>
  • Loading branch information
minnieliu and Minnie Liu authored Oct 1, 2020
1 parent 21a83c0 commit 774da5b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions sdk/communication/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryConnectionString]"
},
"ADMINISTRATION_SERVICE_ENDPOINT": {
"type": "string",
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
},
"ADMINISTRATION_SERVICE_ACCESS_TOKEN": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
},
"CHAT_SERVICE_ENDPOINT": {
"type": "string",
"value": "[concat('https://', parameters('baseName'), '-', parameters('endpointPrefix'), '.communication.azure.com')]"
},
"COMMUNICATION_SERVICES_CONNECTION_STRING": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Communication/CommunicationServices',variables('uniqueSubDomainName')), '2020-08-20-preview').primaryKey]"
},
"RESOURCE_GROUP_NAME": {
"type": "string",
"value": "[resourceGroup().Name]"
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- name: azure-communication-chat
groupId: com.azure
safeName: azurecommunicationchatclient
ResourceServiceDirectory: communication
ServiceDirectory: communication
EnvVars:
AZURE_TEST_MODE: RECORD

0 comments on commit 774da5b

Please sign in to comment.