Skip to content

Commit

Permalink
Fix environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Jan 14, 2022
1 parent a1d9ae0 commit 2780279
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 27 deletions.
52 changes: 28 additions & 24 deletions sdk/cognitivelanguage/test-resources.json
Expand Up @@ -20,29 +20,33 @@
"variables": {},
"resources": [],
"outputs": {
"CONVERSATIONS_KEY": {
"type": "string",
"value": ""
},
"CONVERSATIONS_PROJECT": {
"type": "string",
"value": "antischOne"
},
"CONVERSATIONS_URI": {
"type": "string",
"value": ""
},
"QUESTIONANSWERING_ENDPOINT": {
"type": "string",
"value": "https://wuppe.api.cognitive.microsoft.com"
},
"QUESTIONANSWERING_KEY": {
"type": "string",
"value": ""
},
"QUESTIONANSWERING_PROJECT": {
"type": "string",
"value": "190a9e13-8ede-4e4b-a8fd-c4d7f2aeab6c"
}
// TODO: Uncomment and define when test resources are deployed dynamically.
// Developers should define the following environment variables to run tests locally.
// Live test CIs will use environment variables defined via tests.yml.
//
// "CONVERSATIONS_KEY": {
// "type": "string",
// "value": ""
// },
// "CONVERSATIONS_PROJECT": {
// "type": "string",
// "value": "antischOne"
// },
// "CONVERSATIONS_URI": {
// "type": "string",
// "value": ""
// },
// "QUESTIONANSWERING_ENDPOINT": {
// "type": "string",
// "value": "https://wuppe.api.cognitive.microsoft.com"
// },
// "QUESTIONANSWERING_KEY": {
// "type": "string",
// "value": ""
// },
// "QUESTIONANSWERING_PROJECT": {
// "type": "string",
// "value": "190a9e13-8ede-4e4b-a8fd-c4d7f2aeab6c"
// }
}
}
6 changes: 3 additions & 3 deletions sdk/cognitivelanguage/tests.yml
Expand Up @@ -7,7 +7,7 @@ extends:
CONVERSATIONS_KEY: $(clu-key)
CONVERSATIONS_PROJECT: antischOne
CONVERSATIONS_URI: $(clu-uri)
QNAMAKER_API_KEY: $(qna-key)
QNAMAKER_PROJECT: 190a9e13-8ede-4e4b-a8fd-c4d7f2aeab6c
QNAMAKER_URI: $(qna-uri)
QUESTIONANSWERING_KEY: $(qna-key)
QUESTIONANSWERING_PROJECT: 190a9e13-8ede-4e4b-a8fd-c4d7f2aeab6c
QUESTIONANSWERING_ENDPOINT: $(qna-uri)
ServiceDirectory: cognitivelanguage

0 comments on commit 2780279

Please sign in to comment.