Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
e6dd45c
update readme
Vijendra123 Jun 2, 2025
a3eea74
Refine the prerequisites in readme.md for intent routing, exact qna a…
gxy001 Jun 4, 2025
3bae02f
fixing setup
fosteramanda Jun 4, 2025
faa4c0e
Update read me
Vijendra123 Jun 4, 2025
f1642b6
remove vscode vsix
qubitron Jun 6, 2025
247f3c5
updating readme
fosteramanda Jun 6, 2025
eaaaca3
Merge branch 'main' of https://github.com/azure-ai-foundry/foundry-sa…
fosteramanda Jun 6, 2025
68d0127
Update README.md
fosteramanda Jun 6, 2025
dfcca37
Update README.md
fosteramanda Jun 6, 2025
04a9e03
Update README.md
fosteramanda Jun 6, 2025
35b02b8
removing old testing instructions
fosteramanda Jun 9, 2025
8c5e9b8
Update README.md
mwhalin Jun 10, 2025
52f9065
Update README.md
mwhalin Jun 10, 2025
8e468cc
Update README.md
mwhalin Jun 10, 2025
0131bd7
Update README.md
mwhalin Jun 10, 2025
40971e2
Fix the custom deployment url for Language agent templates
gxy001 Jun 10, 2025
b41fcc7
Merge branch 'main' into main
Vijendra123 Jun 10, 2025
80aec3f
Merge pull request #167 from gxy001/main
mwhalin Jun 10, 2025
196555b
Merge pull request #164 from Vijendra123/main
mwhalin Jun 10, 2025
9a22915
adding new template
fosteramanda Jun 13, 2025
afaca02
renaming template
fosteramanda Jun 13, 2025
dc8070e
adding basic with customization
fosteramanda Jun 13, 2025
ecef7f9
renaming setup
fosteramanda Jun 13, 2025
223ab76
renaming
fosteramanda Jun 13, 2025
cb1e50c
A2A Agents Sample
splusq Jun 13, 2025
9d490ba
Merge pull request #178 from azure-ai-foundry/salmanq/a2a-agents
mwhalin Jun 13, 2025
722ea86
updates to use for docs
sdgilley Jun 16, 2025
da51864
add # TODO back
sdgilley Jun 16, 2025
0c8cb26
update codeowners
sdgilley Jun 16, 2025
8f9a96d
fix vars
sdgilley Jun 16, 2025
ac5ed38
fix
sdgilley Jun 16, 2025
53d3832
Merge pull request #182 from azure-ai-foundry/sdg-project
sdgilley Jun 16, 2025
938c775
add show_project
sdgilley Jun 16, 2025
e75957a
Merge pull request #183 from azure-ai-foundry/sdg-project
sdgilley Jun 16, 2025
1bae96c
Update create_project.py
sdgilley Jun 16, 2025
075394f
Update CODEOWNERS (#185)
sdgilley Jun 17, 2025
d597e99
add copilot instructions (#186)
sdgilley Jun 17, 2025
40cb0bc
Update copilot-instructions.md (#195)
sdgilley Jun 20, 2025
d01f166
Update copilot-instructions.md (#196)
sdgilley Jun 20, 2025
9d1cb49
Updating BYO Vnet template (#197)
fosteramanda Jun 23, 2025
d793672
Remove A2a sample for now (#201)
nick863 Jun 24, 2025
a1b346f
Updating Bicep Template Readmes (#202)
fosteramanda Jun 25, 2025
22c1bcc
test of issue automation (#205)
e-straight Jun 25, 2025
a59b170
Auto ado (#209)
e-straight Jun 26, 2025
5d5cd2f
Auto ado (#210)
e-straight Jun 26, 2025
d64a9e4
Delete .github/workflows/issue-automation.yml (#211)
e-straight Jun 26, 2025
7066613
Changes to optimize bicep templates to allow existing vnet and subnet…
sansinh Jun 26, 2025
0f5a7eb
Create mcp.py (#216)
lindazqli Jun 27, 2025
9ce8175
Codex/update java samples with new dependencies (#176)
bbenz Jun 30, 2025
c773b2b
Adding initial release of Terraform templates for Agent Private Netwo…
mattfeltonma Jun 30, 2025
f662eaa
Update CODEOWNERS (#221)
jonburchel Jul 1, 2025
f04640a
got rid of portfolio sample due to lack of code (#222)
e-straight Jul 1, 2025
1095c71
Allowing users to create agent with existing Vnet while having their …
geabdluca Jul 2, 2025
f0d3e66
PROJECT_ENDPOINT Updates (#233)
bbenz Jul 3, 2025
7dac04c
Update README.md (#229)
fosteramanda Jul 3, 2025
cc6f6f5
Update README.mds for all Network Secured Templates (#234)
fosteramanda Jul 3, 2025
dbc3a74
modified - updated READMEs (#231)
mattfeltonma Jul 7, 2025
6521da3
Update Network Secured README.md (#239)
fosteramanda Jul 8, 2025
d33f2b2
Update packages and integrate new AgentClient (#240)
DanWahlin Jul 9, 2025
f8b27fe
Add TypeScript QuickStart and Remove Old Files from Folder (#241)
DanWahlin Jul 9, 2025
01b5147
[Agents][Browser Automation Tool] Update Playwright RP references (#213)
aryaan-singh Jul 10, 2025
1102af8
Remove AgentsClient from JS/TS QuickStarts (#245)
DanWahlin Jul 10, 2025
9be1dea
Update to @azure/ai-agents 1.0.0 (#247)
DanWahlin Jul 14, 2025
8357d18
Adding Lexis API Solutions to Main (#105)
gslnna Jul 15, 2025
6d4964f
Update README.md (#253)
lindazqli Jul 15, 2025
43527f3
Update README.md (#250)
AhmadAbdullah91 Jul 18, 2025
15aea8e
Update README.md (#249)
AhmadAbdullah91 Jul 18, 2025
db5361e
removing agent catalog (#238)
e-straight Jul 21, 2025
2b40191
Updates (#256)
meerakurup Jul 22, 2025
96ee1b9
Add Foundry basic terraform sample (#267)
deeikele Jul 25, 2025
d14bd31
Update CODEOWNERS (#269)
jonburchel Jul 28, 2025
9f3d403
Add projects to CMK basic example (#272)
deeikele Jul 30, 2025
fee562e
Add project and fixes to basic CMK sample (#273)
deeikele Jul 31, 2025
5a89ea0
Add documentation for simple Foundry sample and stable API versions (…
deeikele Jul 31, 2025
29a6449
refactor(terraform): refresh samples, lint, apply best practices, fix…
DariuszPorowski Jul 31, 2025
a7dbac8
Clarify readme for CMK standard setup (#275)
deeikele Jul 31, 2025
71a60e8
fix: add AI Foundry account purger to prevent subnet deletion issues …
segraef Aug 1, 2025
e53f563
Updates (#277)
dargilco Aug 5, 2025
49a736e
Updated README, delete, and disableLocalAuth comment (#278)
meerakurup Aug 5, 2025
6a12e6a
Update Python Agent samples (#279)
dargilco Aug 5, 2025
ea50430
Mistral Document AI (#281)
optimalparams Aug 11, 2025
0c2d554
Update ai-projects to 1.0.0 and add comment about fileIDs usage for v…
DanWahlin Aug 18, 2025
9bdfe4f
Add APIM resource private endpoint (#285)
Vijendra123 Aug 22, 2025
348bea3
Add Central US to list of supported agent private network locations (…
JustinFirsching Aug 22, 2025
0b8644f
Update CODEOWNERS (#292)
lgayhardt Aug 29, 2025
dd7d20e
Revert "Add Central US to list of supported agent private network loc…
JustinFirsching Sep 2, 2025
4bced74
updating templates readme (#296)
fosteramanda Sep 3, 2025
030b93d
Foundry BYO Azure Key Vault connection bicep template (#291)
andyaviles121 Sep 3, 2025
a5caab7
Updating Allowed Regions in Bicep Templates (#297)
fosteramanda Sep 5, 2025
1942a6d
Add CODEOWNERS for various sample files (#298)
s-polly Sep 5, 2025
84ddce6
Removing model deployment from standard setup with byo aoai connectio…
fosteramanda Sep 9, 2025
7227d3a
Updating region list and readme (#303)
fosteramanda Sep 11, 2025
b37dcef
Updating regions supported for agent setup templates (#311)
fosteramanda Sep 23, 2025
5ad1ac7
Add CODEOWNERS for new Bicep connection file (#313)
s-polly Sep 26, 2025
c6ff3bd
Remove old .whl file. These packages are public now (#315)
dargilco Sep 30, 2025
86acb71
Updating Inference and instructions for Agent in the .NET Quickstart …
PabloNunes Sep 30, 2025
7607534
Updating Inference for .NET Quickstart. (#318)
PabloNunes Oct 1, 2025
2ba832f
Sample code for Developer Journey Stage 1 tutorial: Idea to prototype…
jonburchel Oct 3, 2025
41d9069
2025 10 06 updates to developer journey samples (#325)
jonburchel Oct 7, 2025
b18d33f
AzureRM basic sample (#327)
deeikele Oct 9, 2025
5441b48
Clean up terraform samples (#328)
deeikele Oct 9, 2025
17c6169
Removed code until ready for publication (#332)
jonburchel Oct 10, 2025
959d0e8
Adding Projects to Vnet Injected Foundry (#324)
geabdluca Oct 10, 2025
7e6a79f
Update README with VNET address space guidelines (#330)
AhmadAbdullah91 Oct 10, 2025
e5555cd
clarify network parameter behavior for new vs existing VNet in main.b…
KazuOnuki Oct 11, 2025
aaed501
Add new CODEOWNERS entries for Terraform files (#335)
s-polly Oct 17, 2025
9ca69e4
BYO Storage for Speech and Language in Foundry resources (#337)
andyaviles121 Oct 21, 2025
3e71489
Add UMI support for private network-secured setup for agents (#341)
sarajag Oct 23, 2025
748f913
Remove whitelisting note in README and main (#344)
meerakurup Oct 24, 2025
3642acb
Update README with additional reserved IP range (#346)
AhmadAbdullah91 Oct 27, 2025
30c4024
Policy samples (#349)
deeikele Oct 29, 2025
f8d7ccc
update readme for delete acc caphost (#353)
sarajag Nov 3, 2025
e4c2b47
Add policy sample to restrict to aiservices kind (#350)
deeikele Nov 5, 2025
4656206
update readme and scripts (#356)
sarajag Nov 7, 2025
4318cc2
Hosted agents/py samples (#360)
JC-386 Nov 12, 2025
1f22c8e
Add AI Foundry with Customer-Managed Keys and User-Assigned Identity …
aashishb Nov 13, 2025
8b2630b
Fix and improve python samples for hosted agents (#361)
SergeyMenshykh Nov 13, 2025
1306377
pin dependency to avoid conflict (#363)
jfomhover Nov 13, 2025
2122be1
fix env var substitution logic by parametrization (#366)
jfomhover Nov 14, 2025
940748a
rollback change to env vars until extension ready, fix bing grounding…
jfomhover Nov 14, 2025
5818799
Add Migration Script (#348)
nikhowlettMicrosoft Nov 14, 2025
53dc57c
use named resources in manifests (#369)
jfomhover Nov 14, 2025
06e8906
Remove test character (#370)
nikhowlettMicrosoft Nov 14, 2025
ab5e4c4
Add AF samples of hosted agents (#371)
SergeyMenshykh Nov 15, 2025
4f6f2aa
Add Agent Framework hosted agent samples (#372)
TaoChenOSU Nov 18, 2025
0d7b630
Ignite 2025 (#376)
meerakurup Nov 18, 2025
adcda6e
Add Python hosted agent READMEs (#379)
TaoChenOSU Nov 18, 2025
6d4fb80
Add readme files to .net samples (#378)
SergeyMenshykh Nov 18, 2025
0155993
foundry agent 365 sample (#380)
adyada Nov 18, 2025
8bf3161
hugging face tool agent (#381)
JC-386 Nov 18, 2025
b61d304
Move csharp and python samples to one folder (#383)
SergeyMenshykh Nov 19, 2025
07c8b78
cdb updates to standard (#382)
meerakurup Nov 19, 2025
2cbae5d
Restore files (#384)
jfomhover Nov 19, 2025
7daee33
duplicate hosted agents samples (#385)
SergeyMenshykh Nov 19, 2025
5c14b43
add missing samples (#386)
SergeyMenshykh Nov 19, 2025
56bf507
fix neget and build (#387)
adyada Nov 20, 2025
2cb2e07
Add CODEOWNERS for additional infrastructure files (#389)
jonburchel Nov 21, 2025
ba9236c
updates samples (#388)
Vijendra123 Dec 1, 2025
2037eea
update links and add some guides (#392)
Vijendra123 Dec 2, 2025
42f31a6
Mistral Large 3 sample notebook and Document AI updates (#395)
optimalparams Dec 3, 2025
7c09d68
update links (#396)
Vijendra123 Dec 3, 2025
a9b6bfe
Updating Standard Setup with new role assignment (#401)
fosteramanda Dec 4, 2025
37b4e66
Updating RBAC for all Standard Setup Templates (#402)
fosteramanda Dec 4, 2025
b514983
rename and reorder folders (#400)
sdgilley Dec 4, 2025
cb04b75
Merge nov25-updates (#403)
sdgilley Dec 4, 2025
9fd59c8
Update CODEOWNERS to reflect new file paths (#407)
sdgilley Dec 5, 2025
00b267c
Add a custom code interpreter code sample (#398)
ericsuh Dec 5, 2025
c9f973a
fix: agent initialization to use factory pattern (#409)
iuiaoin Dec 7, 2025
e630aa4
Fix hosted agent sample for workshop (#410)
iuiaoin Dec 7, 2025
4d2d285
[hosted-agents]misc: bump version (#412)
iuiaoin Dec 7, 2025
2dd406f
fix broken links due to restructure (#413)
Vijendra123 Dec 8, 2025
72b2bfc
Fix for creating agent before application (#406)
adyada Dec 8, 2025
6d90cbc
[hosted-agents]misc: remove hugging-face-tool-agent and msft-docs-age…
iuiaoin Dec 8, 2025
cde92be
[hosted-agents]docs: add troubleshooting section for ARM64 local Dock…
iuiaoin Dec 8, 2025
4ca316c
Move code-interpreter-custom to match new repo organization (#414)
ericsuh Dec 9, 2025
3a12ff2
add comments for imports section (#424)
sdgilley Dec 11, 2025
33cce81
Simplify samples (#420)
Vijendra123 Dec 12, 2025
82bcae4
Add foundry JavaScript quickstart code (#426)
bobogogo1990 Dec 13, 2025
0b682aa
update guide (#430)
Vijendra123 Dec 15, 2025
4bed274
Remove unused agent initialization (#429)
zzn2 Dec 15, 2025
5a5eeef
Fix EchoAgent echo_prefix initialization (#428)
zzn2 Dec 15, 2025
b9d620c
fix paths in bicep template deploy links (#433)
sdgilley Dec 15, 2025
18622e2
Adding managed vnet (Preview) template to foundry-samples (#422)
meerakurup Dec 16, 2025
4b8b473
Adding content for Agents v2 quickstarts (#435)
kaylieee Dec 16, 2025
df39b3c
Add CreateResponses.java for generating responses using Azure Agents …
brandom-msft Dec 16, 2025
af1f18c
Standardize env var naming across Agents samples (#437)
brandom-msft Dec 16, 2025
ea38243
Update C# quickstarts for Agents (#438)
brandom-msft Dec 17, 2025
f6fddbc
update CODEOWNERS (#439)
sdgilley Dec 17, 2025
c3540ee
Updates to docs (#440)
meerakurup Dec 17, 2025
3388486
add test script (#442)
Vijendra123 Dec 18, 2025
cdd5453
Update README for Managed VNET preview registration (#443)
sansinh Dec 19, 2025
9551912
Add caphost creation for creating hosted agents. (#447)
adyada Jan 6, 2026
c4c80bf
Jblaaa-codes-ms/managedvnet-tf (#446)
jblaaa-codes-ms Jan 7, 2026
5c9c953
Change CODEOWNERS to update file ownership (#452)
sdgilley Jan 8, 2026
806f16d
[Hosted Agents] Fix doc for building image from Mac (#456)
iuiaoin Jan 8, 2026
cac25dd
add a troubleshooting guide and comments to bicep params (#451)
Vijendra123 Jan 9, 2026
42b1200
update hosted agent samples (#445)
melionel Jan 10, 2026
ceb25ea
environment() fix (#457)
segraef Jan 12, 2026
36e9ebe
Updating A365 Sample Readme (#458)
fosteramanda Jan 13, 2026
49cafb3
Updating Agent Setup Templates (#462)
fosteramanda Jan 13, 2026
3956e36
add apim connection project managed identity (#461)
Vijendra123 Jan 15, 2026
4b254be
adding APIM PMI configuration (#463)
nbarreca004 Jan 15, 2026
fa24324
add PMI update in doc (#465)
Vijendra123 Jan 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 39 additions & 19 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
# See for instructions on this file https://help.github.com/articles/about-codeowners/

#### files referenced in docs (DO NOT EDIT, except for Docs team!!!) #############################################################################
/samples/microsoft/java/mslearn-resources/quickstart/.env.template @sdgilley
/samples/microsoft/javascript/mslearn-resources/quickstart/.env.template @sdgilley
/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example @sdgilley
/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py @sdgilley
/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java @sdgilley
/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js @sdgilley
/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs @sdgilley
/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh @sdgilley
/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py @sdgilley
/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/AgentSample.java @sdgilley
/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js @sdgilley
/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/AgentService.cs @sdgilley
/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh @sdgilley
/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py
/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/FileSearchAgentSample.java @sdgilley
/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js @sdgilley
/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/AgentFileSearch.cs @sdgilley
/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh @sdgilley
#### files referenced in docs (DO NOT EDIT, except for Docs team!!!) ##########################################
/infrastructure/infrastructure-setup-bicep/01-connections/connection-key-vault.bicep @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-bicep/05-custom-policy-definitions/deny-disallowed-connections.json @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic-azurerm/code/main.tf @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic-azurerm/code/providers.tf @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic-azurerm/code/variables.tf @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic/code/main.tf @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic/code/providers.tf @microsoft-foundry/AI-Platform-Docs
/infrastructure/infrastructure-setup-terraform/00-basic/code/variables.tf @microsoft-foundry/AI-Platform-Docs
/samples-classic/REST/quickstart/quickstart.sh @microsoft-foundry/AI-Platform-Docs
/samples-classic/csharp/quickstart/Samples/.env.example @microsoft-foundry/AI-Platform-Docs
/samples-classic/csharp/quickstart/Samples/AgentFileSearch.cs @microsoft-foundry/AI-Platform-Docs
/samples-classic/csharp/quickstart/Samples/AgentService.cs @microsoft-foundry/AI-Platform-Docs
/samples-classic/csharp/quickstart/Samples/SimpleInference.cs @microsoft-foundry/AI-Platform-Docs
/samples-classic/java/quickstart/src/main/java/com/azure/ai/foundry/samples/AgentSample.java @microsoft-foundry/AI-Platform-Docs
/samples-classic/java/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java @microsoft-foundry/AI-Platform-Docs
/samples-classic/java/quickstart/src/main/java/com/azure/ai/foundry/samples/FileSearchAgentSample.java @microsoft-foundry/AI-Platform-Docs
/samples-classic/python/quickstart/create_project.py @microsoft-foundry/AI-Platform-Docs
/samples-classic/python/quickstart/quickstart.py @microsoft-foundry/AI-Platform-Docs
/samples-classic/typescript/quickstart/.env.template @microsoft-foundry/AI-Platform-Docs
/samples-classic/typescript/quickstart/src/quickstart.ts @microsoft-foundry/AI-Platform-Docs
/samples/REST/quickstart/quickstart-chat-with-agent.sh @microsoft-foundry/AI-Platform-Docs
/samples/REST/quickstart/quickstart-create-agent.sh @microsoft-foundry/AI-Platform-Docs
/samples/REST/quickstart/quickstart-responses.sh @microsoft-foundry/AI-Platform-Docs
/samples/csharp/quickstart/quickstart-chat-with-agent.cs @microsoft-foundry/AI-Platform-Docs
/samples/csharp/quickstart/quickstart-create-agent.cs @microsoft-foundry/AI-Platform-Docs
/samples/csharp/quickstart/quickstart-responses.cs @microsoft-foundry/AI-Platform-Docs
/samples/java/quickstart/src/main/java/com/microsoft/foundry/samples/ChatWithAgent.java @microsoft-foundry/AI-Platform-Docs
/samples/java/quickstart/src/main/java/com/microsoft/foundry/samples/CreateAgent.java @microsoft-foundry/AI-Platform-Docs
/samples/java/quickstart/src/main/java/com/microsoft/foundry/samples/CreateResponses.java @microsoft-foundry/AI-Platform-Docs
/samples/python/enterprise-agent-tutorial/1-idea-to-prototype/evaluate.py @microsoft-foundry/AI-Platform-Docs
/samples/python/enterprise-agent-tutorial/1-idea-to-prototype/main.py @microsoft-foundry/AI-Platform-Docs
/samples/python/enterprise-agent-tutorial/1-idea-to-prototype/questions.jsonl @microsoft-foundry/AI-Platform-Docs
/samples/python/quickstart/quickstart-chat-with-agent.py @microsoft-foundry/AI-Platform-Docs
/samples/python/quickstart/quickstart-create-agent.py @microsoft-foundry/AI-Platform-Docs
/samples/python/quickstart/quickstart-responses.py @microsoft-foundry/AI-Platform-Docs
/samples/typescript/quickstart/src/quickstart-chat-with-agent.ts @microsoft-foundry/AI-Platform-Docs
/samples/typescript/quickstart/src/quickstart-create-agent.ts @microsoft-foundry/AI-Platform-Docs
/samples/typescript/quickstart/src/quickstart-responses.ts @microsoft-foundry/AI-Platform-Docs
12 changes: 12 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Files owned by the AI Platform Docs team

If a file is listed in the CODEOWNERS file with @azure-ai-foundry/ai-platform-docs as the owner, it is owned by the AI Platform Docs team. For these files:

- Do not change the filename or move the file.
- Do not remove any comments which contain <some_text> or </some_text> (for any text in between the tags)
- Do not remove any cell in a notebook if it contains metadata with "name:" in it.

In a code review, if any of the above rules are broken, please add the following text to your review:
🛑STOP! This PR contains changes that may break documentation. Please post a message on [ai-platform-docs](https://teams.microsoft.com/l/team/19%3AHhf4F_YfPn3kYGdmWvePNwlbF5-RR8wciQEUwwrcggw1%40thread.tacv2/conversations?groupId=fdaf4412-8993-4ea6-a7d4-aeaded7fc854&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47) to request help.

Only files owned by the AI Platform Docs team are subject to these rules.
52 changes: 52 additions & 0 deletions .github/workflows/ado-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Create ADO user story from GitHub issue
run-name: GitHub Issue #${{ github.event.issue.number }}

on:
issues:
types: [opened]

jobs:
create-ado-story:
runs-on: ubuntu-latest

steps:
- name: Build payload and call Azure DevOps
env:
ADO_ORG: ${{ secrets.ADO_ORG }}
ADO_PROJECT: ${{ secrets.ADO_PROJECT }}
ADO_PAT: ${{ secrets.ADO_PAT }}
DRI_EMAIL: ${{ secrets.DRI_EMAIL }}
ADO_AREA_PATH: ${{ secrets.ADO_AREA_PATH }}
ADO_ITERATION_PATH: ${{ secrets.ADO_ITERATION_PATH }}
ADO_TAG: ${{ secrets.ADO_TAG }}
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
DESCRIPTION="<div>${ISSUE_BODY//$'\n'/<br/>}<br/><br/><a href=\"$ISSUE_URL\">$ISSUE_URL</a></div>"

jq -n \
--arg title "$ISSUE_TITLE" \
--arg desc "$DESCRIPTION" \
--arg area "$ADO_AREA_PATH" \
--arg iter "$ADO_ITERATION_PATH" \
--arg assn "$DRI_EMAIL" \
--arg tags "$ADO_TAG" \
'[
{ "op":"add", "path":"/fields/System.Title", "value":$title },
{ "op":"add", "path":"/fields/System.Description", "value":$desc },
{ "op":"add", "path":"/fields/System.AreaPath", "value":$area },
{ "op":"add", "path":"/fields/System.IterationPath", "value":$iter },
{ "op":"add", "path":"/fields/System.AssignedTo", "value":$assn },
{ "op":"add", "path":"/fields/System.Tags", "value":$tags }
]' > /tmp/payload.json

AUTH=$(printf ":$ADO_PAT" | base64 | tr -d '\n')
WORK_ITEM_URL="https://dev.azure.com/${ADO_ORG}/${ADO_PROJECT}/_apis/wit/workitems/\$User%20Story?api-version=7.1-preview.3"

curl --fail-with-body -sS \
-H "Content-Type: application/json-patch+json" \
-H "Authorization: Basic $AUTH" \
-X POST \
--data-binary @/tmp/payload.json \
"$WORK_ITEM_URL"
135 changes: 135 additions & 0 deletions .github/workflows/run-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
name: Run Setup

on:
push:
branches: [main]
paths:
- infrastructure/infrastructure-setup-bicep/**
pull_request:
branches: [main]
paths:
- infrastructure/infrastructure-setup-bicep/**
workflow_dispatch:

permissions:
contents: write

jobs:
run-setup:
runs-on: ubuntu-latest

steps:
- name: Checkout source branch
uses: actions/checkout@v3
with:
# PR: checks out the PR branch, Push: checks out main, Dispatch: checks out default branch
ref: ${{ github.head_ref || github.ref_name }}
fetch-depth: 0

- name: Install Bicep
run: |
INSTALL_PATH="$RUNNER_TEMP/bicep"
BICEP_PATH="$RUNNER_TEMP/bicep/bicep"
mkdir -p "$INSTALL_PATH"
curl -sLo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
chmod +x ./bicep
sudo mv ./bicep "$INSTALL_PATH"
echo "BICEP_PATH=$BICEP_PATH" >> $GITHUB_ENV
$BICEP_PATH --version

- name: Determine changed main.bicep files
id: changes
run: |
set -e
cd "$GITHUB_WORKSPACE"

EVENT="${{ github.event_name }}"
echo "Event: $EVENT"

if [ "$EVENT" = "pull_request" ]; then
BASE="${{ github.event.pull_request.base.sha }}"
HEAD="${{ github.event.pull_request.head.sha }}"
elif [ "$EVENT" = "push" ]; then
BASE="${{ github.event.before }}"
HEAD="${{ github.sha }}"
else
# workflow_dispatch: use last commit as best-effort
BASE="$(git rev-parse HEAD~1 || echo '')"
HEAD="$(git rev-parse HEAD)"
fi

echo "Diff range: ${BASE}..${HEAD}"

# Only rebuild when main.bicep changes
if [ -n "$BASE" ]; then
MODIFIED=$(git diff --name-only "$BASE" "$HEAD" \
| grep -E "^infrastructure/infrastructure-setup-bicep/.*/main\.bicep$" || true)
else
MODIFIED=$(git show --name-only --pretty="" -1 \
| grep -E "^infrastructure/infrastructure-setup-bicep/.*/main\.bicep$" || true)
fi

if [ -z "$MODIFIED" ]; then
echo "No relevant Bicep changes detected."
echo "files=" >> $GITHUB_OUTPUT
exit 0
fi

echo "Changed main.bicep files:"
echo "$MODIFIED"

# Output as newline-delimited list
{
echo "files<<EOF"
echo "$MODIFIED"
echo "EOF"
} >> $GITHUB_OUTPUT

- name: Build changed Bicep files -> azuredeploy.json
if: steps.changes.outputs.files != ''
run: |
set -e
cd "$GITHUB_WORKSPACE"

while IFS= read -r BICEP_FILE; do
OUTFILE="$(dirname "$BICEP_FILE")/azuredeploy.json"
echo "Building: $BICEP_FILE -> $OUTFILE"
$BICEP_PATH build "$BICEP_FILE" --outfile "$OUTFILE"
done <<< "${{ steps.changes.outputs.files }}"

- name: Commit + push changes back to branch (PR) or main (push)
if: always()
run: |
set -e
cd "$GITHUB_WORKSPACE"

git config --global user.email "foundry-samples@noreply.github.com"
git config --global user.name "foundry-samples automation"

git add -A

if git diff-index --quiet HEAD --; then
echo "No changes to commit."
exit 0
fi

git commit -m "Automatic fixes"

EVENT="${{ github.event_name }}"

# If PR is from a fork, pushing will be rejected. Detect and skip.
if [ "$EVENT" = "pull_request" ]; then
if [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]; then
echo "PR is from a fork; cannot push changes back to fork branch. Skipping push."
exit 0
fi
BRANCH="${{ github.head_ref }}"
echo "Pushing fixes to PR branch: $BRANCH"
git push origin "HEAD:refs/heads/$BRANCH"
exit 0
fi

# push / workflow_dispatch
BRANCH="${{ github.ref_name }}"
echo "Pushing fixes to branch: $BRANCH"
git push origin "HEAD:refs/heads/$BRANCH"
55 changes: 53 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ PublishScripts/
*.nuget.props
*.nuget.targets

# Java Files
*.properties
*.class
*.lst
*.jar

# Microsoft Azure Build Output
csx/
*.build.csdef
Expand Down Expand Up @@ -381,7 +387,6 @@ FodyWeavers.xsd

# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
Expand All @@ -406,4 +411,50 @@ samples/agent-catalog/msft-agent-samples/foundry-agent-service-sdk/exact-qna-age
samples/agent-catalog/msft-agent-samples/foundry-agent-service-sdk/intent-routing-agent/config.dev.yaml

# python environments
.venv
.venv

# Terraform.gitignore

# Local .terraform directories
.terraform/

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
!example*.tfvars
!example*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Ignore transient lock info files created by terraform apply
.terraform.tfstate.lock.info
*.lock.hcl

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc
samples/microsoft/nul
samples/microsoft/microsoft.sln
samples/microsoft/developer-journey-stage-1-idea-to-prototype.md
Binary file not shown.
Loading