Skip to content

Commit ff9fe44

Browse files
Update file path in docker-build-push.yml, pylint and test.yml
1 parent 825b129 commit ff9fe44

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
- name: Build Docker Image and optionally push - webapp
4949
uses: docker/build-push-action@v6
5050
with:
51-
context: ./App
52-
file: ./App/WebApp.Dockerfile
51+
context: ./src/App
52+
file: ./src/App/WebApp.Dockerfile
5353
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' }}
5454
tags: |
5555
${{ secrets.ACR_LOGIN_SERVER }}/km-app:${{ steps.determine_tag.outputs.tagname }}
@@ -59,8 +59,8 @@ jobs:
5959
- name: Build Docker Image and optionally push - km-rag-function
6060
uses: docker/build-push-action@v6
6161
with:
62-
context: ./AzureFunctions/km-rag-function
63-
file: ./AzureFunctions/km-rag-function/Dockerfile
62+
context: ./src/api/km-rag-function
63+
file: ./src/api/km-rag-function/Dockerfile
6464
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' }}
6565
tags: |
6666
${{ secrets.ACR_LOGIN_SERVER }}/km-rag-function:${{ steps.determine_tag.outputs.tagname }}
@@ -69,8 +69,8 @@ jobs:
6969
- name: Build Docker Image and optionally push - km-charts-function
7070
uses: docker/build-push-action@v6
7171
with:
72-
context: ./AzureFunctions/km-charts-function
73-
file: ./AzureFunctions/km-charts-function/Dockerfile
72+
context: ./src/api/km-charts-function
73+
file: ./src/api/km-charts-function/Dockerfile
7474
push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' }}
7575
tags: |
7676
${{ secrets.ACR_LOGIN_SERVER }}/km-charts-function:${{ steps.determine_tag.outputs.tagname }}

.github/workflows/pylint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install -r App/requirements.txt
22+
pip install -r src/App/requirements.txt
2323
pip install flake8 # Ensure flake8 is installed explicitly
2424
2525
- name: Run flake8 and pylint
2626
run: |
27-
flake8 --config=.flake8 App/backend # Specify the directory to lint
27+
flake8 --config=.flake8 src/App/backend # Specify the directory to lint

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ jobs:
7474
- name: Install Backend Dependencies
7575
run: |
7676
python -m pip install --upgrade pip
77-
pip install -r App/requirements.txt
77+
pip install -r src/App/requirements.txt
7878
pip install pytest-cov
7979
pip install pytest-asyncio
8080
8181
- name: Check if Backend Test Files Exist
8282
id: check_backend_tests
8383
run: |
84-
if [ -z "$(find App/backend -type f -name 'test_*.py')" ]; then
84+
if [ -z "$(find src/App/backend -type f -name 'test_*.py')" ]; then
8585
echo "No backend test files found, skipping backend tests."
8686
echo "skip_backend_tests=true" >> $GITHUB_ENV
8787
else

0 commit comments

Comments
 (0)