Skip to content

Commit 48b0a14

Browse files
Merge remote-tracking branch 'origin/dev' into psl-fix-dependabot
2 parents 22ac815 + 2fafeb4 commit 48b0a14

119 files changed

Lines changed: 8564 additions & 3306 deletions

File tree

Some content is hidden

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

.coverage

52 KB
Binary file not shown.

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ updates:
3535
# npm dependencies - grouped
3636
- package-ecosystem: "npm"
3737
directories:
38-
- "/src/app/frontend"
39-
- "/src/app/frontend-server"
38+
- "/src/App"
39+
- "/src/App/server"
4040
schedule:
4141
interval: "monthly"
4242
target-branch: "dependabotchanges"

.github/workflows/azure-dev.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Azure Dev Deploy
22
on:
33
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'infra/**'
9+
- 'azure*.yaml'
10+
- '.github/workflows/azure-dev.yml'
11+
412

513
permissions:
614
contents: read

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
schedule:
1515
- cron: '17 11 * * 0'
1616

17+
concurrency:
18+
group: codeql-${{ github.ref }}
19+
cancel-in-progress: true
20+
1721
jobs:
1822
analyze:
1923
name: Analyze

.github/workflows/deploy-v2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ on:
66
paths:
77
- 'src/**'
88
- '!src/tests/**'
9+
- '!src/pytest.ini'
910
- 'infra/**/*.bicep'
1011
- 'infra/**/*.json'
12+
- 'infra/scripts/**'
1113
- '*.yaml'
1214
- 'scripts/**'
1315
- '.github/workflows/deploy-*.yml'

.github/workflows/docker-build.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
- demo
99
paths:
1010
- 'src/backend/**'
11-
- 'src/app/frontend/**'
12-
- 'src/app/frontend-server/**'
13-
- '.github/workflows/docker-build.yml'
14-
pull_request:
11+
- 'src/App/**'
12+
- 'src/App/server/**'
13+
- 'src/App/WebApp.Dockerfile'
14+
- 'src/App/.dockerignore'
1515
types:
1616
- opened
1717
- ready_for_review
@@ -23,15 +23,22 @@ on:
2323
- demo
2424
paths:
2525
- 'src/backend/**'
26-
- 'src/app/frontend/**'
27-
- 'src/app/frontend-server/**'
26+
- 'src/App/**'
27+
- 'src/App/server/**'
28+
- 'src/App/WebApp.Dockerfile'
29+
- 'src/App/.dockerignore'
2830
- '.github/workflows/docker-build.yml'
2931
workflow_dispatch:
3032

3133
permissions:
3234
contents: read
3335
actions: read
3436
id-token: write # Required for OIDC-based Azure authentication
37+
38+
concurrency:
39+
group: docker-build-${{ github.ref }}
40+
cancel-in-progress: true
41+
3542
jobs:
3643
build-and-push:
3744
runs-on: ubuntu-latest
@@ -83,8 +90,8 @@ jobs:
8390
- name: Build and Push Docker Image for Frontend Server
8491
uses: docker/build-push-action@v6
8592
with:
86-
context: ./src/app
87-
file: ./src/app/WebApp.Dockerfile
93+
context: ./src/App
94+
file: ./src/App/WebApp.Dockerfile
8895
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'dependabotchanges' }}
8996
tags: |
9097
${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-app:${{ steps.determine_tag.outputs.tagname }}

.github/workflows/job-docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
env:
6666
DOCKER_BUILD_SUMMARY: false
6767
with:
68-
context: ./src/app
69-
file: ./src/app/WebApp.Dockerfile
68+
context: ./src/App
69+
file: ./src/App/WebApp.Dockerfile
7070
push: true
7171
tags: |
7272
${{ secrets.ACR_TEST_LOGIN_SERVER }}/content-gen-app:${{ steps.generate_docker_tag.outputs.AZURE_ENV_IMAGE_TAG }}

.github/workflows/pylint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ name: PyLint
22

33
on:
44
push:
5+
branches:
6+
- main
7+
- dev
8+
paths:
9+
- 'src/backend/**/*.py'
10+
- 'src/backend/requirements*.txt'
11+
- '.flake8'
12+
- '.github/workflows/pylint.yml'
13+
pull_request:
14+
branches:
15+
- main
16+
- dev
517
paths:
618
- 'src/backend/**/*.py'
719
- 'src/backend/requirements*.txt'
@@ -12,6 +24,10 @@ permissions:
1224
contents: read
1325
actions: read
1426

27+
concurrency:
28+
group: pylint-${{ github.ref }}
29+
cancel-in-progress: true
30+
1531
jobs:
1632
build:
1733
runs-on: ubuntu-latest
@@ -25,6 +41,8 @@ jobs:
2541
uses: actions/setup-python@v6
2642
with:
2743
python-version: ${{ matrix.python-version }}
44+
cache: 'pip'
45+
cache-dependency-path: src/backend/requirements*.txt
2846

2947
- name: Install dependencies
3048
run: |

.github/workflows/test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ on:
66
- main
77
- dev
88
paths:
9-
- '**/*.py'
9+
- 'src/**/*.py'
1010
- 'src/backend/requirements*.txt'
11+
- 'src/pytest.ini'
1112
- '.github/workflows/test.yml'
1213
pull_request:
1314
types:
@@ -19,14 +20,19 @@ on:
1920
- main
2021
- dev
2122
paths:
22-
- '**/*.py'
23+
- 'src/**/*.py'
2324
- 'src/backend/requirements*.txt'
25+
- 'src/pytest.ini'
2426
- '.github/workflows/test.yml'
2527

2628
permissions:
2729
contents: read
2830
actions: read
2931

32+
concurrency:
33+
group: test-${{ github.ref }}
34+
cancel-in-progress: true
35+
3036
jobs:
3137
backend_tests:
3238
runs-on: ubuntu-latest
@@ -39,6 +45,8 @@ jobs:
3945
uses: actions/setup-python@v6
4046
with:
4147
python-version: "3.11"
48+
cache: 'pip'
49+
cache-dependency-path: src/backend/requirements*.txt
4250

4351
- name: Install Backend Dependencies
4452
run: |

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ eggs/
3636
*.swo
3737

3838
# Node
39-
/src/app/frontend/node_modules/
40-
/src/app/frontend-server/node_modules/
41-
/src/app/frontend-server/static/
42-
/src/app/frontend-server/*.zip
39+
/src/App/node_modules/
40+
/src/App/server/node_modules/
41+
/src/App/server/static/
42+
/src/App/server/*.zip
4343
node_modules/
4444

4545
# Build output
46-
/src/app/static/
47-
/src/app/frontend/dist/
46+
/src/App/static/
47+
/src/App/dist/
4848

4949
# Logs
5050
*.log

0 commit comments

Comments
 (0)