Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
* @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft

# Specific directory ownership
/ClientAdvisor/ @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft

/ResearchAssistant/ @Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft
@Avijit-Microsoft @Roopan-Microsoft @Prajwal-Microsoft
57 changes: 6 additions & 51 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@ version: 2
updates:
# 1. React (JavaScript/TypeScript) dependencies
- package-ecosystem: "npm"
directory: "/ClientAdvisor/App/frontend"
schedule:
interval: "monthly"
commit-message:
prefix: "build"
target-branch: "dependabotchanges"
open-pull-requests-limit: 100

- package-ecosystem: "npm"
directory: "/ResearchAssistant/App/frontend"
directory: "/src/App/frontend"
schedule:
interval: "monthly"
commit-message:
Expand All @@ -21,43 +12,7 @@ updates:

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

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

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

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

- package-ecosystem: "pip"
directory: "/ResearchAssistant/App"
directory: "/src/App"
schedule:
interval: "monthly"
commit-message:
Expand All @@ -66,7 +21,7 @@ updates:
open-pull-requests-limit: 100

- package-ecosystem: "pip"
directory: "/ResearchAssistant/Deployment/scripts/aihub_scripts"
directory: "/src/AzureFunction"
schedule:
interval: "monthly"
commit-message:
Expand All @@ -75,7 +30,7 @@ updates:
open-pull-requests-limit: 100

- package-ecosystem: "pip"
directory: "/ResearchAssistant/Deployment/scripts/fabric_scripts"
directory: "/src/infra/scripts/fabric_scripts"
schedule:
interval: "monthly"
commit-message:
Expand All @@ -84,10 +39,10 @@ updates:
open-pull-requests-limit: 100

- package-ecosystem: "pip"
directory: "/ResearchAssistant/Deployment/scripts/index_scripts"
directory: "/src/infra/scripts/index_scripts"
schedule:
interval: "monthly"
commit-message:
prefix: "build"
target-branch: "dependabotchanges"
open-pull-requests-limit: 16
open-pull-requests-limit: 100
10 changes: 4 additions & 6 deletions .github/workflows/CAdeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
paths:
- 'ClientAdvisor/**'
schedule:
- cron: '0 6,18 * * *' # Runs at 6:00 AM and 6:00 PM GMT

Expand All @@ -28,10 +26,10 @@ jobs:
export TEXT_EMBEDDING_MIN_CAPACITY="45"
export AZURE_REGIONS="${{ vars.AZURE_REGIONS_CA }}"

chmod +x ClientAdvisor/Deployment/scripts/checkquota.sh
if ! ClientAdvisor/Deployment/scripts/checkquota.sh; then
chmod +x scripts/checkquota.sh
if ! scripts/checkquota.sh; then
# If quota check fails due to insufficient quota, set the flag
if grep -q "No region with sufficient quota found" ClientAdvisor/Deployment/scripts/checkquota.sh; then
if grep -q "No region with sufficient quota found" scripts/checkquota.sh; then
echo "QUOTA_FAILED=true" >> $GITHUB_ENV
fi
exit 1 # Fail the pipeline if any other failure occurs
Expand Down Expand Up @@ -116,7 +114,7 @@ jobs:
set -e
az deployment group create \
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
--template-file ClientAdvisor/Deployment/bicep/main.bicep \
--template-file infra/bicep/main.bicep \
--parameters solutionPrefix=${{ env.SOLUTION_PREFIX }} cosmosLocation=${{ env.AZURE_LOCATION }}

- name: List KeyVaults and Store in Array
Expand Down
Loading