Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
50fc39a
Prompt-Bug
UtkarshMishra-Microsoft Jun 26, 2025
37c62a0
Added code changes related azd quota check
Abdul-Microsoft Jun 26, 2025
37125bd
Add gptModelCapacity parameter and update model capacity references
Abdul-Microsoft Jun 26, 2025
e34db32
Merge pull request #288 from microsoft/psl-azdquotacheck
Roopan-Microsoft Jun 26, 2025
798dded
Rename azureOpenAILocation to aiDeploymentsLocation in deployment scr…
Abdul-Microsoft Jun 26, 2025
2ba411a
Merge pull request #289 from microsoft/dev
Roopan-Microsoft Jun 26, 2025
1c98b7d
Update DeploymentGuide.md
Roopan-Microsoft Jun 26, 2025
f02cf48
Add files via upload
Roopan-Microsoft Jun 26, 2025
cf2349d
Update DeploymentGuide.md
Roopan-Microsoft Jun 26, 2025
7fdb1af
Merge pull request #290 from microsoft/docs_update_waf
Roopan-Microsoft Jun 26, 2025
7e6903d
Update deployment configurations to set WAF architecture parameters
Abdul-Microsoft Jun 27, 2025
0b60e5b
Reduce GPT minimum capacity to 5 in deployment workflows
Abdul-Microsoft Jun 27, 2025
1ab88d8
Merge pull request #291 from microsoft/psl-deploymentpipeline-fix
Roopan-Microsoft Jun 27, 2025
6f7e81b
p2/p3 Bug fixes
Ravikirana-Microsoft Jun 30, 2025
1929b00
minifiest file not using anywhere removed linking
Ravikirana-Microsoft Jun 30, 2025
516dac4
comments fix
Ravikirana-Microsoft Jul 1, 2025
34f5a49
Merge pull request #287 from microsoft/Exception-Prompt-BUG
Roopan-Microsoft Jul 1, 2025
9cc880f
Merge pull request #292 from microsoft/Bugs-fixing
Roopan-Microsoft Jul 1, 2025
a8332e1
Enable Azure monitoring by uncommenting the configuration lines in ap…
Abdul-Microsoft Jul 1, 2025
50945d1
Merge pull request #293 from microsoft/psl-fix-telemetryissue
Roopan-Microsoft Jul 1, 2025
beffa99
Add files via upload
Thanusree-Microsoft Jul 1, 2025
dfcfd92
Create example.md
Thanusree-Microsoft Jul 1, 2025
eefe6a0
Add files via upload
Thanusree-Microsoft Jul 1, 2025
76f2b16
Update DeploymentGuide.md
Thanusree-Microsoft Jul 1, 2025
e4e92d8
added fix for not creating task for input like "x" or "abcd" or meani…
Dhruvkumar-Microsoft Jul 2, 2025
974bea8
Merge pull request #294 from microsoft/psl-bug-19543
Roopan-Microsoft Jul 2, 2025
16cbd9a
Bug Fixes #19515,#19278,#19330
Ravikirana-Microsoft Jul 2, 2025
b028c6e
commented code removed
Ravikirana-Microsoft Jul 2, 2025
a76c584
Merge remote-tracking branch 'origin/dev' into Bugs-fixing
Ravikirana-Microsoft Jul 2, 2025
9b833ec
Merge pull request #295 from microsoft/dev
Roopan-Microsoft Jul 2, 2025
c1c41ba
Merge pull request #296 from microsoft/Bugs-fixing
Roopan-Microsoft Jul 2, 2025
2c8f72f
DateFormat_backend
UtkarshMishra-Microsoft Jul 3, 2025
48c1809
Update utils_date.py
UtkarshMishra-Microsoft Jul 3, 2025
2be752c
edit
Kanchan-Microsoft Jul 3, 2025
45b791b
edit
Kanchan-Microsoft Jul 3, 2025
dd87813
updated deploy-waf
Kanchan-Microsoft Jul 4, 2025
e827d52
Bugs fixes of 19597,19553,19524,19330,19278,19238
Ravikirana-Microsoft Jul 4, 2025
f555a83
Merge remote-tracking branch 'origin/dev' into Bugs-fixing
Ravikirana-Microsoft Jul 4, 2025
e3e229c
copilot comments resolved
Ravikirana-Microsoft Jul 4, 2025
ef5665d
missed file added
Ravikirana-Microsoft Jul 4, 2025
4089d85
crpto reverted
Ravikirana-Microsoft Jul 4, 2025
5dff284
Merge pull request #299 from microsoft/Bugs-fixing
Roopan-Microsoft Jul 4, 2025
f7ad2c2
edit
Kanchan-Microsoft Jul 4, 2025
095ee5b
Merge pull request #297 from microsoft/DateFormat-Bug
Roopan-Microsoft Jul 4, 2025
aa98299
changed api version
Kanchan-Microsoft Jul 4, 2025
d039b91
edit1
Kanchan-Microsoft Jul 4, 2025
b0e74c9
edit1
Kanchan-Microsoft Jul 4, 2025
fb4827e
Reuse Ai Foundry for MACAE
NirajC-Microsoft Jul 4, 2025
39597cf
added missing parameter
VishalS-Microsoft Jul 4, 2025
d8a6806
Add AZURE_ENV_FOUNDRY_PROJECT_ID in CustomizingAzdParameters.md file
NirajC-Microsoft Jul 4, 2025
c3017f9
Delete docs/images/re_use_log/example.md
Thanusree-Microsoft Jul 4, 2025
3f8a243
Merge pull request #298 from microsoft/psl-reuselog-file
Roopan-Microsoft Jul 4, 2025
268e63d
Merge pull request #300 from microsoft/psl-reuse-aif
Roopan-Microsoft Jul 4, 2025
1ff08b3
Merge pull request #301 from microsoft/psl-missingparameter-macae
Roopan-Microsoft Jul 4, 2025
5eee086
Update re-use-log-analytics.md
Thanusree-Microsoft Jul 4, 2025
31ea324
Merge pull request #302 from microsoft/psl-linkupdate
Roopan-Microsoft Jul 4, 2025
ffa63e6
edit
Kanchan-Microsoft Jul 7, 2025
10ef654
edit
Kanchan-Microsoft Jul 7, 2025
229500e
edit
Kanchan-Microsoft Jul 7, 2025
78432fe
edit
Kanchan-Microsoft Jul 7, 2025
9936f27
edit
Kanchan-Microsoft Jul 8, 2025
ff5b366
test: MACAE - updated script per new UX/UI
Ritesh-Microsoft Jul 8, 2025
560a356
test: MACAE - updated script per new UX/UI
Avijit-Microsoft Jul 8, 2025
2d5d447
edit
Kanchan-Microsoft Jul 8, 2025
b2de79b
edit
Kanchan-Microsoft Jul 8, 2025
6fe8692
Added condition for Azure openAI and Azure Ai Project name selection …
NirajC-Microsoft Jul 8, 2025
72f412e
remove type from existingAiFounryName
NirajC-Microsoft Jul 8, 2025
7a68739
Bug fix # 20359
Ravikirana-Microsoft Jul 8, 2025
503b983
Merge pull request #305 from microsoft/macae-bug-fixes-2.0
Roopan-Microsoft Jul 8, 2025
b566ffa
Private Connection should get used only for deployment which is creat…
NirajC-Microsoft Jul 8, 2025
841f890
added brokenlink checker yml file
Rohini-Microsoft Jul 9, 2025
b0ef25a
update
Kanchan-Microsoft Jul 9, 2025
478f690
update
Kanchan-Microsoft Jul 9, 2025
2c63e5b
refactor: Code clean up for roleassignments
Prajwal-Microsoft Jul 9, 2025
6313547
update
Kanchan-Microsoft Jul 9, 2025
fafb7bf
update
Kanchan-Microsoft Jul 9, 2025
855c397
Merge pull request #306 from microsoft/psl-githubaction
Roopan-Microsoft Jul 9, 2025
678d77e
Merge pull request #304 from microsoft/psl-bug-20357
Prajwal-Microsoft Jul 9, 2025
4ed85f1
edit
Kanchan-Microsoft Jul 9, 2025
9629d00
edit
Kanchan-Microsoft Jul 9, 2025
b5ad293
update
Kanchan-Microsoft Jul 9, 2025
12d46db
edit
Kanchan-Microsoft Jul 9, 2025
e85c9cb
added file nondevcontainer and changed path of resources.bicep in docs
Rohini-Microsoft Jul 9, 2025
3b410c1
Update NON_DEVCONTAINER_SETUP.md
Rohini-Microsoft Jul 9, 2025
e99a1cd
Update deploy.yml
Kanchan-Microsoft Jul 9, 2025
03c56cf
Update test-automation.yml
Harmanpreet-Microsoft Jul 9, 2025
b8d8cd8
Update deploy.yml
Harmanpreet-Microsoft Jul 9, 2025
a37ea77
updated deploy.yml
Kanchan-Microsoft Jul 9, 2025
ed9debd
Merge branch 'hotfix' of https://github.com/Kanchan-Microsoft/Multi-A…
Kanchan-Microsoft Jul 9, 2025
39b03b3
updated test-automation
Kanchan-Microsoft Jul 9, 2025
3539f67
Merge pull request #307 from microsoft/psl-githubaction
Roopan-Microsoft Jul 9, 2025
245e703
Update deploy.yml1
Harmanpreet-Microsoft Jul 9, 2025
49ed5cb
Update deploy.yml2
Harmanpreet-Microsoft Jul 9, 2025
29f9e96
Update test-automation.yml1
Harmanpreet-Microsoft Jul 9, 2025
02153f0
Update deploy.yml3
Harmanpreet-Microsoft Jul 9, 2025
305e738
edit
Kanchan-Microsoft Jul 9, 2025
be89d9a
Update test-automation.yml5
Harmanpreet-Microsoft Jul 9, 2025
73edca4
update
Kanchan-Microsoft Jul 9, 2025
15edb3b
update
Kanchan-Microsoft Jul 9, 2025
da4380a
Bug fix of #20088
Ravikirana-Microsoft Jul 9, 2025
38f05fc
Merge branch 'macae-bug-fixes-2.0' of https://github.com/microsoft/Mu…
Ravikirana-Microsoft Jul 9, 2025
8a2fcfc
edit
Kanchan-Microsoft Jul 9, 2025
a9d1b21
Update test-automation.yml
Harmanpreet-Microsoft Jul 9, 2025
b263202
edit1
Kanchan-Microsoft Jul 9, 2025
5428e72
Update test-automation.yml4
Harmanpreet-Microsoft Jul 9, 2025
8b8c39b
Merge pull request #308 from microsoft/macae-bug-fixes-2.0
Roopan-Microsoft Jul 9, 2025
4e6850a
Update deploy.yml5
Harmanpreet-Microsoft Jul 9, 2025
4aee56e
Update deploy.yml9
Harmanpreet-Microsoft Jul 9, 2025
50939de
Update constants.py
Harmanpreet-Microsoft Jul 9, 2025
a23ae16
edit1
Kanchan-Microsoft Jul 9, 2025
92e2b61
Merge branch 'hotfix' of https://github.com/Kanchan-Microsoft/Multi-A…
Kanchan-Microsoft Jul 9, 2025
f1fec95
updated deploy-waf
Kanchan-Microsoft Jul 9, 2025
33d56ee
updated e2e tests
Kanchan-Microsoft Jul 10, 2025
c9a59ab
updated requirements.txt
Kanchan-Microsoft Jul 10, 2025
8da81e5
edit
Kanchan-Microsoft Jul 10, 2025
a12740e
edit
Kanchan-Microsoft Jul 10, 2025
26dab82
added required azd version in azure.yml file and updated DeploymentGu…
NirajC-Microsoft Jul 10, 2025
c0051cc
Tooltip Issue fix
Ravikirana-Microsoft Jul 10, 2025
bb4e212
Merge branch 'main' into dev
Roopan-Microsoft Jul 10, 2025
a675c61
commented cleanup deployment
Kanchan-Microsoft Jul 10, 2025
13feee6
Merge pull request #312 from microsoft/macae-bug-fixes-2.0
Roopan-Microsoft Jul 10, 2025
2dbe915
Merge pull request #311 from microsoft/psl-macae-azdversion
Roopan-Microsoft Jul 10, 2025
84d0d43
Update deploy.yml
Harmanpreet-Microsoft Jul 10, 2025
ffdceff
Merge pull request #310 from microsoft/dev
Prajwal-Microsoft Jul 10, 2025
5bc07d3
update
Kanchan-Microsoft Jul 10, 2025
84951bb
Merge branch 'hotfix' of https://github.com/Kanchan-Microsoft/Multi-A…
Kanchan-Microsoft Jul 10, 2025
134e147
uncommented cleanup deployment
Kanchan-Microsoft Jul 10, 2025
c5c102c
update
Kanchan-Microsoft Jul 10, 2025
298115c
edit
Kanchan-Microsoft Jul 10, 2025
0d74aef
edit
Kanchan-Microsoft Jul 10, 2025
4c4685b
edit
Kanchan-Microsoft Jul 10, 2025
75af1fe
edit
Kanchan-Microsoft Jul 10, 2025
88e6cc9
update azure.yaml file
NirajC-Microsoft Jul 10, 2025
b3073cc
Merge pull request #317 from microsoft/psl-macae-azd
Roopan-Microsoft Jul 10, 2025
80440ba
Merge branch 'dev' into hotfix
Kanchan-Microsoft Jul 11, 2025
5669000
edit
Kanchan-Microsoft Jul 11, 2025
c6e3806
edit
Kanchan-Microsoft Jul 11, 2025
4ef14b1
edit
Kanchan-Microsoft Jul 11, 2025
4c2c0ad
edit
Kanchan-Microsoft Jul 11, 2025
cd29617
edit
Kanchan-Microsoft Jul 11, 2025
c8fd0e5
edit
Kanchan-Microsoft Jul 11, 2025
e4fb178
edit
Kanchan-Microsoft Jul 11, 2025
ee20734
edit
Kanchan-Microsoft Jul 11, 2025
1629f89
edit
Kanchan-Microsoft Jul 11, 2025
f2a8a5a
Merge pull request #319 from microsoft/dev
Roopan-Microsoft Jul 11, 2025
9f4c9e8
Added templateName tag on rg
Ragini-Microsoft Jul 11, 2025
e2f7f72
Delete infra/main.json
Kanchan-Microsoft Jul 11, 2025
3363588
ci: enhance MACAE deployment and testing workflows
Avijit-Microsoft Jul 11, 2025
af9e5b5
Bug fix of #20489
Ravikirana-Microsoft Jul 11, 2025
ee6daf4
build error fix
Ravikirana-Microsoft Jul 11, 2025
ff81b0c
Updated tag name typo
Ragini-Microsoft Jul 11, 2025
50da8d3
added workflow for telemetry template check in azure.yaml file while …
Dhruvkumar-Microsoft Jul 11, 2025
5affea6
Merge pull request #321 from microsoft/macae-bu-fixes
Roopan-Microsoft Jul 11, 2025
c31a047
Merge pull request #320 from microsoft/rc-templatetag-macae-main
Roopan-Microsoft Jul 11, 2025
b3e1084
Merge pull request #322 from microsoft/psl-us-20458
Roopan-Microsoft Jul 11, 2025
64203ff
test: MACAE_Updated_locator_send_button
Ritesh-Microsoft Jul 11, 2025
ea8b266
Merge branch 'dev' of https://github.com/Ritesh-Microsoft/MACAE_test_…
Ritesh-Microsoft Jul 11, 2025
847baa7
test: MACAE_updated_Locator_send_button
Ritesh-Microsoft Jul 11, 2025
a7426da
test: MACAE_updated_Locator_send_button
Avijit-Microsoft Jul 11, 2025
9844255
Merge branch 'main' into dev
Roopan-Microsoft Jul 14, 2025
2bd23a4
updated quota capacity minimum to 150
Priyanka-Microsoft Jul 14, 2025
f151593
Merge pull request #325 from microsoft/model-capacity-update-in-files
Roopan-Microsoft Jul 14, 2025
e10aa37
ci: integrate deployment and test automation workflow
Avijit-Microsoft Jul 15, 2025
1e1aea6
Fix zone availability issue in public IP and make solutionPrefix as u…
Abdul-Microsoft Jul 15, 2025
9a7d049
fix: update parameter name from solutionPrefix to environmentName in …
Abdul-Microsoft Jul 15, 2025
b7e20ed
feat: add workflow_dispatch trigger and generate unique solution pref…
Abdul-Microsoft Jul 15, 2025
c523824
feat: add workflow_dispatch trigger for manual deployment
Abdul-Microsoft Jul 15, 2025
e5e69ce
Update CustomizingAzdParameters.md
Thanusree-Microsoft Jul 15, 2025
246c689
removed the deploy-waf testing code
Abdul-Microsoft Jul 15, 2025
6b5681e
remove push trigger from deploy workflow
Harsh-Microsoft Jul 15, 2025
aa5eb59
Merge pull request #328 from microsoft/hb-wf-minor-fix
Roopan-Microsoft Jul 15, 2025
9add3a7
fix: change storage account type from Premium_ZRS to Standard_LRS for…
Abdul-Microsoft Jul 16, 2025
8494ea9
Merge pull request #327 from microsoft/psl-telemetryerrorfix
Roopan-Microsoft Jul 16, 2025
ce5c9f3
Merge pull request #329 from microsoft/main
Roopan-Microsoft Jul 16, 2025
733759b
added current step action and function with history to execute correc…
Dhruvkumar-Microsoft Jul 16, 2025
529970f
Merge pull request #333 from microsoft/psl-azdlink-update
Roopan-Microsoft Jul 16, 2025
51c84be
Merge pull request #330 from microsoft/dev
Roopan-Microsoft Jul 17, 2025
5831ae8
migrate model type to global standard
Priyanka-Microsoft Jul 17, 2025
1e47ba8
Merge pull request #331 from microsoft/psl-bug-19514
Roopan-Microsoft Jul 18, 2025
00268ba
fix: add principalType as 'ServicePrincipal' for role assignments in …
Abdul-Microsoft Jul 18, 2025
e51be80
Merge pull request #337 from microsoft/dev
Roopan-Microsoft Jul 18, 2025
26647a1
add reuse guide for existing Azure AI Foundry project
Prasanjeet-Microsoft Jul 18, 2025
d56d6e5
Updated 'Back to DEPLOYMENT guide' links in reuse documentation
Prasanjeet-Microsoft Jul 21, 2025
601907b
Merge pull request #336 from microsoft/migrate-modeltype-to-globalsta…
Roopan-Microsoft Jul 22, 2025
22b01a3
Merge pull request #338 from microsoft/psl-fixPrincipalTypeIssue
Prajwal-Microsoft Jul 22, 2025
49434b6
Updated solutionPrefix param in main.bicep
NirajC-Microsoft Jul 23, 2025
ec23bc8
Merge pull request #343 from microsoft/psl-solPrefix-fix
Roopan-Microsoft Jul 23, 2025
8e86123
Updated 'Continue Deployment' links in reuse documentation
Prasanjeet-Microsoft Jul 24, 2025
cd1cf07
Merge pull request #344 from microsoft/dev
Roopan-Microsoft Jul 24, 2025
d6c8f15
added RAI check in user clarification endpoint
Dhruvkumar-Microsoft Jul 28, 2025
d97404e
removed the extra lines
Dhruvkumar-Microsoft Jul 28, 2025
d737ff5
removed the extra white space
Dhruvkumar-Microsoft Jul 28, 2025
603347c
removed the whitespaces
Dhruvkumar-Microsoft Jul 28, 2025
e84ab5c
date issue fix
Ravikirana-Microsoft Jul 28, 2025
0ba8780
replacing DefaultAzureCredential with ManagedIdentityCredential
Ragini-Microsoft Jul 29, 2025
fb6bb20
rate limit error fix
Ravikirana-Microsoft Jul 29, 2025
902a656
Merge pull request #350 from microsoft/rc-psl-sfi-dev
Prajwal-Microsoft Jul 29, 2025
140a32e
Updated 'Back to DEPLOYMENT guide' links
Prasanjeet-Microsoft Jul 29, 2025
cc650b1
Merge pull request #348 from microsoft/psl-bug-19304
Roopan-Microsoft Jul 30, 2025
aa3c9dc
date changes
Ravikirana-Microsoft Jul 30, 2025
645b945
code clean up
Ravikirana-Microsoft Jul 30, 2025
3954e56
config reverted
Ravikirana-Microsoft Jul 30, 2025
93e0530
Merge remote-tracking branch 'origin/dev' into userstory-changes
Ravikirana-Microsoft Jul 30, 2025
8bec36e
lint issue fix
Ravikirana-Microsoft Jul 30, 2025
40b5ec5
lint issue fix
Ravikirana-Microsoft Jul 30, 2025
deca2f4
Merge pull request #352 from microsoft/userstory-changes
Roopan-Microsoft Jul 30, 2025
15b8fbf
bug fix
Ravikirana-Microsoft Jul 30, 2025
91ea5df
Merge pull request #353 from microsoft/bug-fixes
Roopan-Microsoft Jul 30, 2025
3b8de8e
Merge pull request #355 from microsoft/dev
Prajwal-Microsoft Jul 31, 2025
f5f8cb7
rate limit error message change
Ravikirana-Microsoft Jul 31, 2025
2141bfa
Merge pull request #358 from microsoft/main
Prajwal-Microsoft Aug 1, 2025
760c42c
Merge pull request #356 from microsoft/bug-fixes
Roopan-Microsoft Aug 3, 2025
11938a3
Removed outdated container publishing instructions
Vamshi-Microsoft Aug 5, 2025
fb1490d
Merge pull request #365 from microsoft/psl-readmeUpdate
Roopan-Microsoft Aug 5, 2025
2479f84
updated the azure-ai-agents version
Dhruvkumar-Microsoft Aug 6, 2025
725eb07
Merge pull request #368 from microsoft/psl-updated-version
Roopan-Microsoft Aug 6, 2025
8697c6c
Merge pull request #370 from microsoft/dev
Prajwal-Microsoft Aug 6, 2025
2595c2d
Merge pull request #339 from microsoft/psl_add_resuse_foundry_project…
Prasanjeet-Microsoft Aug 11, 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
57 changes: 57 additions & 0 deletions .github/workflows/broken-links-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Broken Link Checker

on:
pull_request:
paths:
- '**/*.md'
workflow_dispatch:

permissions:
contents: read

jobs:
markdown-link-check:
name: Check Markdown Broken Links
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0

# For PR : Get only changed markdown files
- name: Get changed markdown files (PR only)
id: changed-markdown-files
if: github.event_name == 'pull_request'
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with:
files: |
**/*.md
# For PR: Check broken links only in changed files
- name: Check Broken Links in Changed Markdown Files
id: lychee-check-pr
if: github.event_name == 'pull_request' && steps.changed-markdown-files.outputs.any_changed == 'true'
uses: lycheeverse/[email protected]
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
${{ steps.changed-markdown-files.outputs.all_changed_files }}
failIfEmpty: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# For manual trigger: Check all markdown files in repo
- name: Check Broken Links in All Markdown Files in Entire Repo (Manual Trigger)
id: lychee-check-manual
if: github.event_name == 'workflow_dispatch'
uses: lycheeverse/[email protected]
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
'**/*.md'
failIfEmpty: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40 changes: 22 additions & 18 deletions .github/workflows/deploy-waf.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Validate WAF Deployment
name: Validate WAF Deployment

on:
push:
branches:
- main
schedule:
- cron: '0 11,23 * * *' # Runs at 11:00 AM and 11:00 PM GMT
- cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT

jobs:
deploy:
Expand All @@ -21,7 +21,7 @@ jobs:
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="140"
export GPT_MIN_CAPACITY="150"
export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"

chmod +x infra/scripts/checkquota.sh
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Set Deployment Region
run: |
echo "Selected Region: $VALID_REGION"
echo "AZURE_LOCATION=$VALID_REGION" >> $GITHUB_ENV
echo "AZURE_LOCATION=$VALID_REGION" >> $GITHUB_ENV

- name: Setup Azure CLI
run: |
Expand All @@ -77,8 +77,7 @@ jobs:
SHORT_UUID=$(uuidgen | cut -d'-' -f1)
UNIQUE_RG_NAME="arg-${ACCL_NAME}-${SHORT_UUID}"
echo "RESOURCE_GROUP_NAME=${UNIQUE_RG_NAME}" >> $GITHUB_ENV
echo "Generated Resource_GROUP_PREFIX: ${UNIQUE_RG_NAME}"

echo "Generated Resource_GROUP_PREFIX: ${UNIQUE_RG_NAME}"

- name: Check and Create Resource Group
id: check_create_rg
Expand All @@ -93,6 +92,14 @@ jobs:
echo "Resource group already exists."
fi

- name: Generate Unique Solution Prefix
id: generate_solution_prefix
run: |
COMMON_PART="macae"
TIMESTAMP=$(date +%s)
UPDATED_TIMESTAMP=$(echo $TIMESTAMP | tail -c 6)
UNIQUE_SOLUTION_PREFIX="${COMMON_PART}${UPDATED_TIMESTAMP}"
echo "SOLUTION_PREFIX=${UNIQUE_SOLUTION_PREFIX}" >> $GITHUB_ENV

- name: Deploy Bicep Template
id: deploy
Expand All @@ -102,7 +109,10 @@ jobs:
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
--template-file infra/main.bicep \
--parameters \
azureOpenAILocation='${{ env.AZURE_LOCATION }}' \
environmentName=${{ env.SOLUTION_PREFIX }} \
useWafAlignedArchitecture=true \
aiDeploymentsLocation='${{ env.AZURE_LOCATION }}' \
gptModelCapacity=5 \
virtualMachineConfiguration='{"adminUsername": "adminuser", "adminPassword": "P@ssw0rd1234"}' \
logAnalyticsWorkspaceConfiguration='{"existingWorkspaceResourceId": ""}'

Expand All @@ -111,29 +121,28 @@ jobs:
if: failure()
run: |
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

# Construct the email body
EMAIL_BODY=$(cat <<EOF
{
"body": "<p>Dear Team,</p><p>We would like to inform you that the Multi-Agent-Custom-Automation-Engine-Solution-Accelerator Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}<br> ${OUTPUT}</p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
}
EOF
)

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



- name: Get OpenAI Resource from Resource Group
id: get_openai_resource
run: |


set -e
echo "Fetching OpenAI resource from resource group ${{ env.RESOURCE_GROUP_NAME }}..."

# Run the az resource list command to get the OpenAI resource name
openai_resource_name=$(az resource list --resource-group ${{ env.RESOURCE_GROUP_NAME }} --resource-type "Microsoft.CognitiveServices/accounts" --query "[0].name" -o tsv)

Expand All @@ -145,9 +154,6 @@ jobs:
echo "OpenAI resource name: ${openai_resource_name}"
fi




- name: Delete Bicep Deployment
if: always()
run: |
Expand All @@ -165,11 +171,10 @@ jobs:
echo "Resource group does not exists."
fi


- name: Wait for resource deletion to complete
run: |


# Add resources to the array
resources_to_check=("${{ env.OPENAI_RESOURCE_NAME }}")

Expand Down Expand Up @@ -217,7 +222,6 @@ jobs:
fi
done


- name: Purging the Resources
if: always()
run: |
Expand Down
Loading
Loading