Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
487 commits
Select commit Hold shift + click to select a range
bfffb2d
fix: Merge pull request #232 from microsoft/psl-bug-14480
Avijit-Microsoft Feb 19, 2025
27d449c
fixed pipeline
AjitPadhi-Microsoft Feb 19, 2025
03e58cb
fixed pipeline
AjitPadhi-Microsoft Feb 19, 2025
0ae899c
fixed pipeline
AjitPadhi-Microsoft Feb 19, 2025
62843b7
fixed pipeline
AjitPadhi-Microsoft Feb 19, 2025
7ffed24
fixed pipeline
AjitPadhi-Microsoft Feb 19, 2025
dab3d80
fix: Merge pull request #235 from microsoft/dev
Avijit-Microsoft Feb 19, 2025
886da63
update the readme deployment
malrose07 Feb 19, 2025
aa4a3a6
Merge pull request #236 from microsoft/readme-aitemplate
malrose07 Feb 19, 2025
34cf2a8
Update deploy-KMGeneric.yml
Harmanpreet-Microsoft Feb 20, 2025
b8485f9
added quota instructions
Rohini-Microsoft Feb 20, 2025
5900731
added header in small size
Rohini-Microsoft Feb 20, 2025
b0d0470
updated readme
Rohini-Microsoft Feb 20, 2025
bf09bdd
updated quota section
Rohini-Microsoft Feb 20, 2025
2cc8059
Merge pull request #238 from microsoft/updateCIworkflow
Roopan-Microsoft Feb 20, 2025
3982dc2
updated readme
Rohini-Microsoft Feb 20, 2025
26e6986
added pricing links in costs section in readme
Rohini-Microsoft Feb 20, 2025
2084c6c
updated image
Rohini-Microsoft Feb 20, 2025
3c572c3
docs: Merge pull request #239 from microsoft/bug_bash_pk
Avijit-Microsoft Feb 20, 2025
43632a0
docs: Merge pull request #240 from microsoft/dev
Avijit-Microsoft Feb 20, 2025
7090ae1
fix: update yaml
malrose07 Feb 20, 2025
07eb495
Merge pull request #241 from microsoft/azure_yaml_update
malrose07 Feb 20, 2025
c6d572b
fix: update yaml, readme and bicep
malrose07 Feb 20, 2025
efe4d10
Merge pull request #242 from microsoft/aitemplate_updates
malrose07 Feb 20, 2025
b9238b0
added model name in readme
Rohini-Microsoft Feb 21, 2025
20614a0
added model name
Rohini-Microsoft Feb 21, 2025
741b7f1
updated readme
Rohini-Microsoft Feb 21, 2025
25693a5
updated readme with model name
Rohini-Microsoft Feb 21, 2025
c5f1d49
added <> for model name
Rohini-Microsoft Feb 21, 2025
e75305d
updated readme with model name
Rohini-Microsoft Feb 21, 2025
f150cbd
docs: Merge pull request #243 from microsoft/bug_bash_pk
Avijit-Microsoft Feb 21, 2025
7aeed17
use aifoundry storage account for functionapps
Pavan-Microsoft Feb 21, 2025
fb37ca7
fix: Merge pull request #245 from microsoft/bug_bash_pk_14635
Avijit-Microsoft Feb 21, 2025
bd3746a
Keep only one app insights
AjitPadhi-Microsoft Feb 21, 2025
afee5a7
updated main for webapp url
AjitPadhi-Microsoft Feb 21, 2025
0dbca00
merged with dev
AjitPadhi-Microsoft Feb 21, 2025
89548a5
fix: Merge pull request #246 from microsoft/psl-bug-14637
Avijit-Microsoft Feb 21, 2025
94ff047
fix: Merge pull request #244 from microsoft/dev
Avijit-Microsoft Feb 21, 2025
e1b3d20
Update README.md
Roopan-Microsoft Feb 22, 2025
1875109
Update README.md
Roopan-Microsoft Feb 23, 2025
2bf21d5
Update README.md
Roopan-Microsoft Feb 24, 2025
233bf68
Update README.md
Roopan-Microsoft Feb 24, 2025
aa05543
added Primary and secondary location naming same style
Rohini-Microsoft Feb 24, 2025
58c930c
added golden path questions
Rohini-Microsoft Feb 24, 2025
ce9ffba
updated readme
Rohini-Microsoft Feb 24, 2025
db6125d
updated readme
Rohini-Microsoft Feb 24, 2025
d48c320
upsdated readme
Rohini-Microsoft Feb 24, 2025
a552b51
added tenant id command
Rohini-Microsoft Feb 24, 2025
acaf44b
delete RG steps
Rohini-Microsoft Feb 24, 2025
eab63dc
updated readme
Rohini-Microsoft Feb 24, 2025
c1c4735
updated img path
Rohini-Microsoft Feb 24, 2025
d41d97c
updated path
Rohini-Microsoft Feb 24, 2025
5cafa23
updated readme
Rohini-Microsoft Feb 24, 2025
4823426
Semantic Search Availabilit
Rohini-Microsoft Feb 24, 2025
2d3cb85
display web app url after azd deployment
AjitPadhi-Microsoft Feb 24, 2025
9da3559
updated readme
Rohini-Microsoft Feb 24, 2025
eb1ef0c
updated screenshot
Rohini-Microsoft Feb 24, 2025
6819936
updated font
Rohini-Microsoft Feb 24, 2025
f22f68f
updated font size
Rohini-Microsoft Feb 24, 2025
dd5ef5a
fix: Merge pull request #249 from microsoft/psl-bug-14641
Avijit-Microsoft Feb 24, 2025
b266132
updated readme
Rohini-Microsoft Feb 24, 2025
96c6ce0
docs: Merge pull request #250 from microsoft/bug_bash_pk
Avijit-Microsoft Feb 24, 2025
207bba2
Automatic pulling latest code from repo, Policy violation for CosmosD…
Pavan-Microsoft Feb 24, 2025
511a2f2
fix: Merge pull request #251 from microsoft/bug_bash_2402
Avijit-Microsoft Feb 24, 2025
b7d379b
fix: Merge pull request #252 from microsoft/dev
Avijit-Microsoft Feb 24, 2025
043017a
Updated workspace based insights
AjitPadhi-Microsoft Feb 24, 2025
c5d5833
fix: Merge pull request #253 from microsoft/psl-bug-14653
Avijit-Microsoft Feb 24, 2025
02d5916
AI Services like CU custom endpoint URI
Pavan-Microsoft Feb 24, 2025
794e11b
fix: Merge pull request #254 from microsoft/bug_bash_2402_1
Avijit-Microsoft Feb 24, 2025
7d7a243
fix: Merge pull request #255 from microsoft/dev
Avijit-Microsoft Feb 24, 2025
122b89b
fix: update search index id
malrose07 Feb 25, 2025
50b9e52
fix: Merge pull request #256 from microsoft/ai_template_updates
Avijit-Microsoft Feb 25, 2025
7c3afcf
Merge branch 'dev' of https://github.com/microsoft/Conversation-Knowl…
Rohini-Microsoft Feb 25, 2025
18236c1
fixed cu location issue
AjitPadhi-Microsoft Feb 25, 2025
d85be82
fixed cu location issue
AjitPadhi-Microsoft Feb 25, 2025
5522dd5
fixed cu location issue
AjitPadhi-Microsoft Feb 25, 2025
2c2d13c
updated bicep param
AjitPadhi-Microsoft Feb 25, 2025
dfb8ece
updated bicep
AjitPadhi-Microsoft Feb 25, 2025
022b2d1
Add quota check in CI pipeline to verify availability in supported re…
Priyanka-Microsoft Feb 25, 2025
310eceb
reverted readme changes
AjitPadhi-Microsoft Feb 25, 2025
ce51524
updated bicep
AjitPadhi-Microsoft Feb 25, 2025
e6fcc92
docs: Merge pull request #257 from microsoft/psl-readme-draft-table
Avijit-Microsoft Feb 25, 2025
3e0ed86
updated readme file
Rohini-Microsoft Feb 25, 2025
dd87ce0
added sematic search
Rohini-Microsoft Feb 25, 2025
df14d3d
updated readme
Rohini-Microsoft Feb 25, 2025
c285e87
updated Semantic search
Rohini-Microsoft Feb 25, 2025
39bc43b
updated sematic search
Rohini-Microsoft Feb 25, 2025
67bd213
change font style
Rohini-Microsoft Feb 25, 2025
a1eaa8b
updated search
Rohini-Microsoft Feb 25, 2025
5dbbe5b
removed text embedding
Rohini-Microsoft Feb 25, 2025
83683ca
removed bold
Rohini-Microsoft Feb 25, 2025
b32673c
Merge branch 'dev' of https://github.com/microsoft/Conversation-Knowl…
Rohini-Microsoft Feb 25, 2025
6104eff
docs: Merge pull request #260 from microsoft/psl-readme-draft-table
Avijit-Microsoft Feb 25, 2025
b825cc3
Merge pull request #258 from microsoft/task/ci-pipeline-quota-check-k…
Roopan-Microsoft Feb 25, 2025
c80c99c
Updated the script for identify and list the branches which are older…
Kanchan-Microsoft Feb 25, 2025
0002f0c
updated capacity according to bicep
Priyanka-Microsoft Feb 25, 2025
1d22b10
Merge pull request #262 from microsoft/fix/update-capacity-in-validat…
Roopan-Microsoft Feb 25, 2025
720c2e1
fix: Merge pull request #259 from microsoft/psl-bug-14720
Avijit-Microsoft Feb 26, 2025
f2aa57c
Merge pull request #261 from microsoft/psl-github-test
Roopan-Microsoft Feb 26, 2025
95e889a
Made region list dynamic using variables for better flexibility and s…
Priyanka-Microsoft Feb 26, 2025
6f846d8
comma separated values
Priyanka-Microsoft Feb 26, 2025
2de51cd
Merge pull request #265 from microsoft/fix/dynamic-region-list-ckm
Roopan-Microsoft Feb 26, 2025
e68f0d5
Update deploy-KMGeneric.yml to update region West US to westus
Pavan-Microsoft Feb 26, 2025
41490d8
Merge branch 'main' into dev
Pavan-Microsoft Feb 26, 2025
712a522
fix: Merge pull request #266 from microsoft/dev
Avijit-Microsoft Feb 26, 2025
284543f
Update README.md
Pavan-Microsoft Feb 26, 2025
73395e7
docs: Merge pull request #267 from microsoft/dev
Avijit-Microsoft Feb 26, 2025
076fc34
fix: SQL SFI issue fix and func app changes for the same
Prajwal-Microsoft Feb 26, 2025
eb655ff
docs: update readme
malrose07 Feb 26, 2025
e542637
Merge pull request #268 from microsoft/ai_template_updates
malrose07 Feb 26, 2025
d211819
docs: update readme
malrose07 Feb 27, 2025
25cfbd9
Merge pull request #269 from microsoft/readme_updates
malrose07 Feb 27, 2025
1c60c55
fix: Updated DB roles with only required permissions
Prajwal-Microsoft Feb 27, 2025
17204b2
Merge remote-tracking branch 'origin/main' into sql-sfi-fix
Prajwal-Microsoft Feb 27, 2025
6a71189
fix: Merge pull request #270 from microsoft/sql-sfi-fix
Avijit-Microsoft Feb 27, 2025
c931adf
resolved conflict
Rohini-Microsoft Feb 27, 2025
151671b
Merge branch 'main' of https://github.com/microsoft/Conversation-Know…
Rohini-Microsoft Feb 27, 2025
d34bfb2
resolved conflict and deleye addDatabaseUsers.md file
Rohini-Microsoft Feb 27, 2025
b7eb4f5
edited the script
Feb 27, 2025
4cb029d
removed spaces
Rohini-Microsoft Feb 27, 2025
567ab7d
updated env
Rohini-Microsoft Feb 27, 2025
ed093cb
updated readme
Rohini-Microsoft Feb 27, 2025
70231d4
Merge pull request #272 from microsoft/sql-sfi-fix
Prajwal-Microsoft Feb 27, 2025
841cdfd
fix: Updated main.json for 1 click deployment
Prajwal-Microsoft Feb 27, 2025
c3a8743
Merge pull request #273 from microsoft/sql-sfi-fix
Prajwal-Microsoft Feb 27, 2025
a780126
deleted files
Rohini-Microsoft Feb 27, 2025
6207f12
fix: Merge pull request #271 from microsoft/readme_update
Avijit-Microsoft Feb 27, 2025
bb7d4d9
Use container app instead deployment script to fix sfi issue related …
Pavan-Microsoft Feb 27, 2025
da6549f
fix: Merge pull request #274 from microsoft/PK_storage_sfi
Avijit-Microsoft Feb 27, 2025
c4d55b2
docs: update readme
malrose07 Feb 28, 2025
afb983b
fix: Removed Password based auth completely for SQL
Prajwal-Microsoft Feb 28, 2025
7285273
fix: Updated the odbc driver version
Prajwal-Microsoft Feb 28, 2025
d21d6cc
Removed cmds for testing
Prajwal-Microsoft Feb 28, 2025
052fbc0
fix: Code changes to support pyodbc connection
Prajwal-Microsoft Feb 28, 2025
052bfa6
fix: Code changes to support pyodbc
Prajwal-Microsoft Feb 28, 2025
7ef633d
fix: Code change for pyodbc
Prajwal-Microsoft Feb 28, 2025
b52edae
fix: Date issue for pyodbc
Prajwal-Microsoft Feb 28, 2025
442a52f
fix: Added back the scripts
Prajwal-Microsoft Feb 28, 2025
c82c15b
fix: Updated commands for SQL server connection through pyodbc driver
Prajwal-Microsoft Feb 28, 2025
c6485df
update state-bot.yml
Kanchan-Microsoft Feb 28, 2025
5ee4084
docs: update readme
Avijit-Microsoft Feb 28, 2025
dc9308b
Merge pull request #279 from microsoft/psl-github-test
Roopan-Microsoft Feb 28, 2025
ff4acb0
update stale-bot.yml
Kanchan-Microsoft Feb 28, 2025
2a8dd46
Merge pull request #280 from microsoft/psl-github-test
Roopan-Microsoft Feb 28, 2025
4a0d23e
commented unused output variable
Pavan-Microsoft Feb 28, 2025
8e694af
comment phiserverless deployment in bicep
Pavan-Microsoft Feb 28, 2025
305e7ee
fix: Remove and Comment Out Phiserverless Model Configurations in De…
Avijit-Microsoft Feb 28, 2025
383dae5
Update dependabot.yml
Harmanpreet-Microsoft Mar 3, 2025
978705e
docs: Update README.md
Avijit-Microsoft Mar 3, 2025
6f0b931
Merge pull request #293 from microsoft/updatePRLimitForDependabot
Roopan-Microsoft Mar 3, 2025
e5eb444
customSubDomainName for aiservice - openai endpoint
Pavan-Microsoft Mar 3, 2025
943ef46
Update README.md
Avijit-Microsoft Mar 3, 2025
69d098e
Merge pull request #298 from microsoft/psl-pk-subdomain-openai
aniaroramsft Mar 3, 2025
7aa0728
Merge pull request #294 from microsoft/psl-readme-1
aniaroramsft Mar 3, 2025
1fecd5f
resolve overlapping issue
Rohini-Microsoft Mar 4, 2025
8b98448
Update stale-bot.yml
Kanchan-Microsoft Mar 5, 2025
b637f3e
Merge pull request #303 from microsoft/psl-github-test
Roopan-Microsoft Mar 5, 2025
10b904e
fix: Chart titles are not aligned with x & y axis in chat panel with …
Avijit-Microsoft Mar 5, 2025
f5d8bdd
Update README.md for Environment Name description
Pavan-Microsoft Mar 6, 2025
32e9b93
Merge branch 'main' of https://github.com/microsoft/Conversation-Know…
Pavan-Microsoft Mar 6, 2025
65d63e2
Merge branch 'sql-sfi-fix' of https://github.com/microsoft/Conversati…
Pavan-Microsoft Mar 6, 2025
bea4d64
Merge branch 'main' of https://github.com/microsoft/Conversation-Know…
Pavan-Microsoft Mar 6, 2025
6d17e79
Merge pull request #306 from microsoft/donwmergfrommain0603
Prajwal-Microsoft Mar 6, 2025
03b361f
Refactor Deployment Scripts for create sql user to Use Azure Containe…
Pavan-Microsoft Mar 6, 2025
8effe1d
Update description for Environment Name setting
Pavan-Microsoft Mar 6, 2025
864e583
Merge pull request #304 from microsoft/pk_readme_environmentvariable
Vinay-Microsoft Mar 6, 2025
23c98c7
Add cognitiveServicesUser and aiDeveloperRole to usermanagedidentity
Pavan-Microsoft Mar 7, 2025
27e11e1
Merge branch 'main' of https://github.com/microsoft/Conversation-Know…
Pavan-Microsoft Mar 7, 2025
dd9b08a
created script to check for the quota validation
Priyanka-Microsoft Mar 7, 2025
b7fee51
Use secondary locations for deployment scripts
Pavan-Microsoft Mar 7, 2025
dd0e7fa
Merge pull request #308 from microsoft/deploy_script_second_loc
Vinay-Microsoft Mar 7, 2025
c2e0c98
Remove westus from Content Understanding Location
Pavan-Microsoft Mar 10, 2025
a6c49fb
Rename variable name from gptModelVersion to azureOpenAIApiVersion
Pavan-Microsoft Mar 10, 2025
7e1f274
Merge pull request #310 from microsoft/pk_region_update
Vinay-Microsoft Mar 10, 2025
ea5419f
docs: update readme
malrose07 Mar 11, 2025
674dec6
Merge pull request #312 from microsoft/readmeupdates
Vinay-Microsoft Mar 11, 2025
117ffc9
Merge branch 'main' of https://github.com/microsoft/Conversation-Know…
Pavan-Microsoft Mar 11, 2025
ea2d1ad
Integrate Azure Container Apps with Azure Monitor Log Analytics for L…
Pavan-Microsoft Mar 11, 2025
8ba2e00
Merge branch 'dev' into psl-pk-sqlsfi-mod
Pavan-Microsoft Mar 11, 2025
9debd16
Merge pull request #313 from microsoft/psl-pk-sqlsfi-mod
Pavan-Microsoft Mar 11, 2025
b439de8
docs: update architecture
malrose07 Mar 11, 2025
f409c6d
Merge pull request #315 from microsoft/readmeupdates
aniaroramsft Mar 11, 2025
c60f04c
fix failure when script long running
Pavan-Microsoft Mar 12, 2025
3b0b250
deactivate revision
Pavan-Microsoft Mar 12, 2025
cb1bb5e
Merge pull request #317 from microsoft/psl-pk-sqlsfi-1
Prajwal-Microsoft Mar 12, 2025
4883e4f
updated the guideline to check the quota in readme
Priyanka-Microsoft Mar 13, 2025
e74c57f
added new parameter region as optional
Priyanka-Microsoft Mar 13, 2025
002d5f3
USE AI PROJECT CLIENT or openaiclient
Pavan-Microsoft Mar 14, 2025
46ab547
Merge pull request #319 from microsoft/psl-pk-useopenaiclient
Prajwal-Microsoft Mar 14, 2025
5777efb
handling multiple model
Priyanka-Microsoft Mar 17, 2025
da56138
multple model capacity
Priyanka-Microsoft Mar 17, 2025
0b7c39f
updated script
Priyanka-Microsoft Mar 18, 2025
7ed7158
updated readme
Priyanka-Microsoft Mar 18, 2025
182e73a
Update check_azure_quota_public.sh
Roopan-Microsoft Mar 18, 2025
ff1eed8
Create quota_check.sh
Roopan-Microsoft Mar 18, 2025
7a95d0f
Update quota_check.sh
Roopan-Microsoft Mar 18, 2025
523cc0a
Delete infra/scripts/check_azure_quota_public.sh
Roopan-Microsoft Mar 18, 2025
5cf1c6a
Update README.md
Roopan-Microsoft Mar 18, 2025
bdfbdc8
Update README.md
Roopan-Microsoft Mar 18, 2025
47569ff
Update README.md
Roopan-Microsoft Mar 18, 2025
6e06810
fix: Refactor Deployment Scripts to Use Azure Container Apps and Mana…
Avijit-Microsoft Mar 19, 2025
7001350
Create quota_check_all_regions.sh
Roopan-Microsoft Mar 20, 2025
9f3b0ba
Update quota_check_all_regions.sh
Roopan-Microsoft Mar 20, 2025
567d1cd
Create quota_check_params.sh
Roopan-Microsoft Mar 20, 2025
60c6cfd
Update quota_check_params.sh
Roopan-Microsoft Mar 20, 2025
b9d9a09
Delete infra/scripts/quota_check.sh
Roopan-Microsoft Mar 20, 2025
2741655
Create quota_check.md
Roopan-Microsoft Mar 20, 2025
318e058
Update quota_check.md
Roopan-Microsoft Mar 20, 2025
bc34742
Update README.md
Roopan-Microsoft Mar 20, 2025
9aeebdd
Update README.md
Roopan-Microsoft Mar 20, 2025
1f4543b
Update quota_check.md
Roopan-Microsoft Mar 20, 2025
ea0e55b
Update README.md
Roopan-Microsoft Mar 20, 2025
65db51f
Merge pull request #321 from microsoft/psl-gpt-quota-check
Roopan-Microsoft Mar 20, 2025
6ad6446
Update quota_check_all_regions.sh
Roopan-Microsoft Mar 20, 2025
50fb8d5
Merge pull request #323 from microsoft/psl-gpt-quota-check
Roopan-Microsoft Mar 20, 2025
66ddf33
Update quota_check_all_regions.sh
Roopan-Microsoft Mar 21, 2025
b676db9
Update quota_check_params.sh
Roopan-Microsoft Mar 21, 2025
32854d0
Merge pull request #324 from microsoft/psl-gpt-quota-check
Roopan-Microsoft Mar 21, 2025
618cf25
Comment deploy to azure bluebutton
Pavan-Microsoft Mar 21, 2025
984fe36
Update README.md
Pavan-Microsoft Mar 21, 2025
ada5226
Update README.md
Pavan-Microsoft Mar 21, 2025
1d42725
Merge pull request #325 from microsoft/comment_deploytoazure
Avijit-Microsoft Mar 21, 2025
c731f98
Update quota check script to list regions with available models and c…
Priyanka-Microsoft Mar 28, 2025
ee3b120
updated the script and documentation for the quota check
Priyanka-Microsoft Apr 1, 2025
5f2071a
removed / from thr doc
Priyanka-Microsoft Apr 1, 2025
30bd86d
updated image
Priyanka-Microsoft Apr 1, 2025
d44b384
updated script
Priyanka-Microsoft Apr 1, 2025
d0fb707
updated script
Priyanka-Microsoft Apr 1, 2025
b6b06d0
updated image
Priyanka-Microsoft Apr 1, 2025
66c0062
Update quota_check.md
Roopan-Microsoft Apr 1, 2025
3d9e987
Update quota_check.md
Roopan-Microsoft Apr 1, 2025
705b23b
Update quota_check.md
Roopan-Microsoft Apr 1, 2025
6fa8315
Update quota_check_params.sh
Roopan-Microsoft Apr 1, 2025
1649ceb
Merge pull request #327 from microsoft/fix/quota_check_script_update_…
Roopan-Microsoft Apr 1, 2025
ed4df08
error handling im provement in the script
Priyanka-Microsoft Apr 2, 2025
409bb7d
Merge pull request #344 from microsoft/fix/improvement-error-handling…
Roopan-Microsoft Apr 2, 2025
764dca5
add permission for quota_check_params.sh in dev container
Priyanka-Microsoft Apr 3, 2025
648f904
Merge pull request #346 from microsoft/fix/devcontainer-chmod-quota-s…
Roopan-Microsoft Apr 3, 2025
4b15079
create release pipeline added
AjitPadhi-Microsoft Apr 4, 2025
f450aa1
feat: create release pipeline added
Avijit-Microsoft Apr 4, 2025
fcb7a1e
fix in create release
AjitPadhi-Microsoft Apr 4, 2025
467bba1
fix: Minor fix in create release
Avijit-Microsoft Apr 4, 2025
720f552
docs: add PowerShell setup guide for Windows users
Harsh-Microsoft Apr 4, 2025
da0ceaa
Update README.md
Avijit-Microsoft Apr 4, 2025
b04c60c
Merge pull request #350 from microsoft/gh-issue-345
Avijit-Microsoft Apr 4, 2025
68230d0
Update azure.yaml to remove deployment section
Pavan-Microsoft Apr 8, 2025
4c92ba7
fix: remove parameters and the deployment section in azure.yaml
Avijit-Microsoft Apr 8, 2025
58e6d0e
default host plan change
Pavan-Microsoft Apr 9, 2025
0deccc5
install setuptools wheel in docker file
Pavan-Microsoft Apr 9, 2025
aed17d1
fix: Improve Deployment Process with Documentation and Hosting Plan U…
Avijit-Microsoft Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .azdo/pipelines/azure-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Run when commits are pushed to mainline branch (main or master)
# Set this to the mainline branch you are using
trigger:
- main
- master

# Azure Pipelines workflow to deploy to Azure using azd
# To configure required secrets and service connection for connecting to Azure, simply run `azd pipeline config --provider azdo`
# Task "Install azd" needs to install setup-azd extension for azdo - https://marketplace.visualstudio.com/items?itemName=ms-azuretools.azd
# See below for alternative task to install azd if you can't install above task in your organization

pool:
vmImage: ubuntu-latest

steps:
- task: setup-azd@0
displayName: Install azd

# If you can't install above task in your organization, you can comment it and uncomment below task to install azd
# - task: Bash@3
# displayName: Install azd
# inputs:
# targetType: 'inline'
# script: |
# curl -fsSL https://aka.ms/install-azd.sh | bash

# azd delegate auth to az to use service connection with AzureCLI@2
- pwsh: |
azd config set auth.useAzCliAuth "true"
displayName: Configure AZD to Use AZ CLI Authentication.

- task: AzureCLI@2
displayName: Provision Infrastructure
inputs:
azureSubscription: azconnection
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
azd provision --no-prompt
env:

AZURE_SUBSCRIPTION_ID: $(AZURE_SUBSCRIPTION_ID)
AZURE_ENV_NAME: $(AZURE_ENV_NAME)
AZURE_LOCATION: $(AZURE_LOCATION)
# Project specific environment variables
# AZURE_RESOURCE_GROUP: $(AZURE_RESOURCE_GROUP)
# AZURE_AIHUB_NAME: $(AZURE_AIHUB_NAME)
# AZURE_AIPROJECT_NAME: $(AZURE_AIPROJECT_NAME)
# AZURE_AISERVICES_NAME: $(AZURE_AISERVICES_NAME)
# AZURE_SEARCH_SERVICE_NAME: $(AZURE_SEARCH_SERVICE_NAME)
# AZURE_APPLICATION_INSIGHTS_NAME: $(AZURE_APPLICATION_INSIGHTS_NAME)
# AZURE_CONTAINER_REGISTRY_NAME: $(AZURE_CONTAINER_REGISTRY_NAME)
# AZURE_KEYVAULT_NAME: $(AZURE_KEYVAULT_NAME)
# AZURE_STORAGE_ACCOUNT_NAME: $(AZURE_STORAGE_ACCOUNT_NAME)
# AZURE_LOG_ANALYTICS_WORKSPACE_NAME: $(AZURE_LOG_ANALYTICS_WORKSPACE_NAME)
# USE_CONTAINER_REGISTRY: $(USE_CONTAINER_REGISTRY)
# USE_APPLICATION_INSIGHTS: $(USE_APPLICATION_INSIGHTS)
# USE_SEARCH_SERVICE: $(USE_SEARCH_SERVICE)
# AZURE_AI_CHAT_DEPLOYMENT_NAME: $(AZURE_AI_CHAT_DEPLOYMENT_NAME)
# AZURE_AI_CHAT_DEPLOYMENT_SKU: $(AZURE_AI_CHAT_DEPLOYMENT_SKU)
# AZURE_AI_CHAT_DEPLOYMENT_CAPACITY: $(AZURE_AI_CHAT_DEPLOYMENT_CAPACITY)
# AZURE_AI_CHAT_MODEL_FORMAT: $(AZURE_AI_CHAT_MODEL_FORMAT)
# AZURE_AI_CHAT_MODEL_NAME: $(AZURE_AI_CHAT_MODEL)
# AZURE_AI_CHAT_MODEL_VERSION: $(AZURE_AI_CHAT_MODEL_VERSION)
# AZURE_AI_EMBED_DEPLOYMENT_NAME: $(AZURE_AI_EMBED_DEPLOYMENT_NAME)
# AZURE_AI_EMBED_DEPLOYMENT_SKU: $(AZURE_AI_EMBED_DEPLOYMENT_SKU)
# AZURE_AI_EMBED_DEPLOYMENT_CAPACITY: $(AZURE_AI_EMBED_DEPLOYMENT_CAPACITY)
# AZURE_AI_EMBED_MODEL_FORMAT: $(AZURE_AI_EMBED_MODEL_FORMAT)
# AZURE_AI_EMBED_MODEL_NAME: $(AZURE_AI_EMBED_MODEL_NAME)
# AZURE_AI_EMBED_MODEL_VERSION: $(AZURE_AI_EMBED_MODEL_VERSION)
# AZURE_EXISTING_AIPROJECT_CONNECTION_STRING: $(AZURE_EXISTING_AIPROJECT_CONNECTION_STRING)
- task: AzureCLI@2
displayName: Deploy Application
inputs:
azureSubscription: azconnection
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
azd deploy --no-prompt
env:
AZURE_SUBSCRIPTION_ID: $(AZURE_SUBSCRIPTION_ID)
AZURE_ENV_NAME: $(AZURE_ENV_NAME)
AZURE_LOCATION: $(AZURE_LOCATION)
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
*/test_*.py
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "azd-template",
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
"forwardPorts": [50505],
"features": {
"ghcr.io/azure/azure-dev/azd:latest": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.azure-dev",
"ms-azuretools.vscode-bicep",
"ms-python.python",
"ms-toolsai.jupyter",
"GitHub.vscode-github-actions"
]
}
},
"postStartCommand": "git pull origin main && python3 -m pip install -r infra/scripts/index_scripts/requirements.txt && curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash && chmod +x ./infra/scripts/quota_check_params.sh",
"remoteUser": "vscode",
"hostRequirements": {
"memory": "4gb"
}
}
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore = E501
exclude = .venv, frontend
ignore = E203, W503, G004, G200
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in the repo.
* @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft @aniaroramsft @brittneek
* @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft @aniaroramsft @brittneek @Vinay-Microsoft
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ Verify that the following are valid
* ...

## Other Information

<!-- Add any other helpful information that may be needed here. -->

37 changes: 37 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
updates:
# GitHub Actions dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
commit-message:
prefix: "build"
target-branch: "dependabotchanges"
open-pull-requests-limit: 100

- package-ecosystem: "pip"
directory: "/App"
schedule:
interval: "monthly"
commit-message:
prefix: "build"
target-branch: "dependabotchanges"
open-pull-requests-limit: 100

- package-ecosystem: "npm"
directory: "/App/frontend"
schedule:
interval: "monthly"
commit-message:
prefix: "build"
target-branch: "dependabotchanges"
open-pull-requests-limit: 100
registries:
- npm_public_registry # Only use public npm registry

registries:
npm_public_registry:
type: "npm-registry"
url: "https://registry.npmjs.org/"
token: ${{ secrets.TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/azure-dev-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Azure Template Validation
on:
workflow_dispatch:

permissions:
contents: read
id-token: write
pull-requests: write

jobs:
template_validation_job:
runs-on: ubuntu-latest
name: Template validation

steps:
# Step 1: Checkout the code from your repository
- name: Checkout code
uses: actions/checkout@v4

# Step 2: Validate the Azure template using microsoft/template-validation-action
- name: Validate Azure Template
uses: microsoft/template-validation-action@v0.3.5
id: validation
env:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Step 3: Print the result of the validation
- name: Print result
run: cat ${{ steps.validation.outputs.resultFile }}
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CI-Validate Deployment
name: Validate Deployment - CKM V2
on:
push:
branches:
- main
schedule:
- cron: '0 6,18 * * *' # Runs at 6:00 AM and 6:00 PM GMT
- ckm-v2


jobs:
deploy:
Expand All @@ -13,6 +12,49 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Run Quota Check
id: quota-check
run: |
export AZURE_CLIENT_ID=${{ secrets.AZURE_CLIENT_ID }}
export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }}
export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }}
export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
export GPT_MIN_CAPACITY="30"
export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"

chmod +x infra/scripts/checkquota_ckmv2.sh
if ! infra/scripts/checkquota_ckmv2.sh; then
# If quota check fails due to insufficient quota, set the flag
if grep -q "No region with sufficient quota found" infra/scripts/checkquota_ckmv2.sh; then
echo "QUOTA_FAILED=true" >> $GITHUB_ENV
fi
exit 1 # Fail the pipeline if any other failure occurs
fi

- name: Send Notification on Quota Failure
if: env.QUOTA_FAILED == 'true'
run: |
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
EMAIL_BODY=$(cat <<EOF
{
"body": "<p>Dear Team,</p><p>The quota check has failed, and the pipeline cannot proceed.</p><p><strong>Build URL:</strong> ${RUN_URL}</p><p>Please take necessary action.</p><p>Best regards,<br>Your Automation Team</p>"
}
EOF
)

curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
-H "Content-Type: application/json" \
-d "$EMAIL_BODY" || echo "Failed to send notification"

- name: Fail Pipeline if Quota Check Fails
if: env.QUOTA_FAILED == 'true'
run: exit 1

- name: Set Deployment Region
run: |
echo "Selected Region: $VALID_REGION"
echo "AZURE_LOCATION=$VALID_REGION" >> $GITHUB_ENV

- name: Setup Azure CLI
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Expand All @@ -37,7 +79,7 @@ jobs:

- name: Create Resource Group
run: |
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location eastus
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }}

- name: Generate Unique Solution Prefix
id: generate_solution_prefix
Expand All @@ -56,8 +98,8 @@ jobs:
set -e
az deployment group create \
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
--template-file Deployment/bicep/main.bicep \
--parameters solutionPrefix=${{ env.SOLUTION_PREFIX }} location=eastus
--template-file infra/main.bicep \
--parameters solutionPrefix=${{ env.SOLUTION_PREFIX }} location=${{ env.AZURE_LOCATION }}

- name: Delete Bicep Deployment
if: success()
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: "Create Release"

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}

- uses: codfish/semantic-release-action@v3
id: semantic
with:
tag-format: 'v${version}'
additional-packages: |
['conventional-changelog-conventionalcommits@7']
plugins: |
[
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ type: 'feat', section: 'Features', hidden: false },
{ type: 'fix', section: 'Bug Fixes', hidden: false },
{ type: 'perf', section: 'Performance Improvements', hidden: false },
{ type: 'revert', section: 'Reverts', hidden: false },
{ type: 'docs', section: 'Other Updates', hidden: false },
{ type: 'style', section: 'Other Updates', hidden: false },
{ type: 'chore', section: 'Other Updates', hidden: false },
{ type: 'refactor', section: 'Other Updates', hidden: false },
{ type: 'test', section: 'Other Updates', hidden: false },
{ type: 'build', section: 'Other Updates', hidden: false },
{ type: 'ci', section: 'Other Updates', hidden: false }
]
}
}
],
'@semantic-release/github'
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.semantic.outputs.release-version }}

- run: echo "$OUTPUTS"
env:
OUTPUTS: ${{ toJson(steps.semantic.outputs) }}
Loading
Loading