Skip to content

Commit 986f1d9

Browse files
fix(build): serve vscode_web env and requirements from non-ignored source files
- rename .env template to env.sample and point index.json at it - rename requirements.txt to endpoint-requirements.txt to escape global ignore - fixes 404s that broke the vscode.dev/azure guided deploy 🔧 - Generated by Copilot
1 parent d7d7b3e commit 986f1d9

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
azure-ai-projects==1.0.0b12
2+
azure-identity==1.20.0

‎infra/vscode_web/env.sample‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
AZURE_ENV_NAME="<%= playgroundName %>"
2+
# AZURE_LOCATION="<%= location %>"
3+
AZURE_SUBSCRIPTION_ID="<%= subscriptionId %>"
4+
# AZURE_EXISTING_AIPROJECT_ENDPOINT="<%= endpoint %>"
5+
AZD_ALLOW_NON_EMPTY_FOLDER=true

‎infra/vscode_web/index.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
{
1717
"name": "requirements.txt",
1818
"type": "dependencies",
19-
"path": "/requirements.txt"
19+
"path": "/endpoint-requirements.txt"
2020
},
2121
{
2222
"name": ".env",
2323
"type": "env",
24-
"path": "/.env"
24+
"path": "/env.sample"
2525
},
2626
{
2727
"name": "install.sh",

0 commit comments

Comments
 (0)