Skip to content

Commit 608ed87

Browse files
Merge dev branch, keeping local DeploymentGuide.md
2 parents 44732e1 + 0f56338 commit 608ed87

File tree

72 files changed

+337952
-30282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+337952
-30282
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"features": {
66
"ghcr.io/azure/azure-dev/azd:latest": {},
77
"ghcr.io/devcontainers/features/azure-cli:1": {},
8-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
8+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
9+
"ghcr.io/jlaundry/devcontainer-features/mssql-odbc-driver:1": {
10+
"version": "18"
11+
}
912
},
1013
"customizations": {
1114
"vscode": {

.devcontainer/setup_env.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ git pull
66
# provide execute permission to quotacheck script
77
sudo chmod +x ./infra/scripts/checkquota_km.sh
88
sudo chmod +x ./infra/scripts/quota_check_params.sh
9-
sudo chmod +x ./infra/scripts/run_process_data_scripts.sh
9+
sudo chmod +x ./infra/scripts/process_sample_data.sh
10+
sudo chmod +x ./infra/scripts/process_custom_data.sh

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ name: "CodeQL"
1414
on:
1515
push:
1616
branches: [ "main" ]
17+
paths:
18+
- '**/*.py'
19+
- '.github/workflows/codeql.yml'
1720
pull_request:
1821
# The branches below must be a subset of the branches above
1922
branches: [ "main" ]
23+
paths:
24+
- '**/*.py'
25+
- '.github/workflows/codeql.yml'
2026
schedule:
2127
- cron: '17 11 * * 0'
2228

.github/workflows/deploy-KMGeneric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
az deployment group create \
125125
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
126126
--template-file infra/main.bicep \
127-
--parameters solutionName=${{env.SOLUTION_PREFIX}} location="${{ env.AZURE_LOCATION }}" contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" gptDeploymentCapacity=150 aiServiceLocation="${{ env.AZURE_LOCATION }}" createdBy="Pipeline" tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
127+
--parameters solutionName=${{env.SOLUTION_PREFIX}} location="${{ env.AZURE_LOCATION }}" contentUnderstandingLocation="swedencentral" secondaryLocation="${{ env.AZURE_LOCATION }}" gptDeploymentCapacity=150 aiServiceLocation="${{ env.AZURE_LOCATION }}" createdBy="Pipeline" tags="{'Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
128128
129129
130130

.github/workflows/deploy-linux.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
name: Deploy-Test-Cleanup Linux
22
on:
3-
push:
3+
pull_request:
44
branches:
55
- main
6+
paths:
7+
- 'src/App/**/*.js'
8+
- 'src/App/**/*.jsx'
9+
- 'src/App/**/*.ts'
10+
- 'src/App/**/*.tsx'
11+
- 'src/App/**/*.html'
12+
- 'src/App/**/*.css'
13+
- 'src/App/**/*.scss'
14+
- 'src/App/**/*.json'
15+
- 'src/**/*.py'
16+
- 'src/api/requirements.txt'
17+
- 'src/**/*.Dockerfile'
18+
- 'infra/**/*.bicep'
19+
- 'infra/**/*.json'
20+
- 'azure.yaml'
21+
- '.github/workflows/deploy-*.yml'
622
workflow_dispatch:
723
inputs:
824
azure_location:
@@ -12,13 +28,14 @@ on:
1228
type: choice
1329
options:
1430
- 'australiaeast'
15-
- 'centralus'
16-
- 'eastasia'
31+
- 'eastus'
1732
- 'eastus2'
33+
- 'francecentral'
1834
- 'japaneast'
19-
- 'northeurope'
20-
- 'southeastasia'
35+
- 'swedencentral'
2136
- 'uksouth'
37+
- 'westus'
38+
- 'westus2'
2239
resource_group_name:
2340
description: 'Resource Group Name (Optional)'
2441
required: false

.github/workflows/deploy-windows.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Deploy-Test-Cleanup Windows
22
on:
3-
push:
4-
branches:
5-
- main
3+
# push:
4+
# branches:
5+
# - main
66
workflow_dispatch:
77
inputs:
88
azure_location:
@@ -12,13 +12,14 @@ on:
1212
type: choice
1313
options:
1414
- 'australiaeast'
15-
- 'centralus'
16-
- 'eastasia'
15+
- 'eastus'
1716
- 'eastus2'
17+
- 'francecentral'
1818
- 'japaneast'
19-
- 'northeurope'
20-
- 'southeastasia'
19+
- 'swedencentral'
2120
- 'uksouth'
21+
- 'westus'
22+
- 'westus2'
2223
resource_group_name:
2324
description: 'Resource Group Name (Optional)'
2425
required: false

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches:
77
- main
8+
paths:
9+
- 'docs/workshop/**'
10+
- '.github/workflows/deploy.yml'
811

912
permissions:
1013
contents: write

.github/workflows/job-deploy-linux.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ jobs:
144144
else
145145
echo "❌ EXP DISABLED - Skipping EXP parameters"
146146
fi
147-
148-
# Set tags for deployment
149-
echo "Setting deployment tags..."
150-
azd env set AZURE_TAG_SECURITY_CONTROL="Ignore"
151147
152148
azd up --no-prompt
153149

.github/workflows/job-deploy-windows.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ jobs:
137137
Write-Host "❌ EXP DISABLED - Skipping EXP parameters"
138138
}
139139
140-
# Set tags for deployment
141-
Write-Host "Setting deployment tags..."
142-
azd env set AZURE_TAG_SECURITY_CONTROL="Ignore"
143-
144140
# Deploy using azd up
145141
azd up --no-prompt
146142

.github/workflows/pylint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: PyLint
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- 'src/**/*.py'
7+
- 'src/api/requirements*.txt'
8+
- '.flake8'
9+
- '.github/workflows/pylint.yml'
410

511
jobs:
612
build:

0 commit comments

Comments
 (0)