-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Corina Gum
committed
Nov 19, 2024
1 parent
3f95715
commit 85ad37a
Showing
6 changed files
with
152 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,5 @@ env/.env.*.user | |
env/.env.local | ||
appPackage/build | ||
.deployment | ||
.localConfigs.testTool | ||
devTools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
js/samples/04.ai-apps/e.assistants-orderBot/env/.env.testtool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TEAMSFX_ENV=testtool | ||
ASSISTANT_ID= | ||
SECRET_OPENAI_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
js/samples/04.ai-apps/e.assistants-orderBot/teamsapp.testtool.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# yaml-language-server: $schema=https://aka.ms/teams-toolkit/v1.5/yaml.schema.json | ||
# Visit https://aka.ms/teamsfx-v5.0-guide for details on this file | ||
# Visit https://aka.ms/teamsfx-actions for details on actions | ||
version: v1.5 | ||
|
||
deploy: | ||
# Install development tool(s) | ||
- uses: devTool/install | ||
with: | ||
testTool: | ||
version: ~0.2.1 | ||
symlinkDir: ./devTools/teamsapptester | ||
|
||
# Run npm command | ||
- uses: cli/runNpmCommand | ||
with: | ||
args: install --no-audit --workspaces=false | ||
|
||
# Generate runtime environment variables | ||
- uses: file/createOrUpdateEnvironmentFile | ||
with: | ||
target: ./.localConfigs.testTool | ||
envs: | ||
OPENAI_KEY: ${{SECRET_OPENAI_KEY}} | ||
ASSISTANT_ID: ${{ASSISTANT_ID}} | ||
# AZURE_OPENAI_KEY: ${{SECRET_AZURE_OPENAI_KEY}} | ||
# AZURE_OPENAI_ENDPOINT: ${{SECRET_AZURE_OPENAI_ENDPOINT}} |