Skip to content

Commit 8b74090

Browse files
committed
tidy flat
1 parent a23887b commit 8b74090

File tree

3 files changed

+5
-55
lines changed

3 files changed

+5
-55
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ updates:
5858
- "/mesh_processor"
5959
- "/recordprocessor"
6060
- "/redis_sync"
61-
- "/lambdas/id_sync"
62-
- "/lambdas/shared"
61+
- "/id_sync"
6362
schedule:
6463
interval: "daily"
6564
open-pull-requests-limit: 1

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
pull_request:
88
types: [labeled, opened, synchronize, reopened, unlabeled]
99

10-
env:
11-
SHARED_PATH: ${{ github.workspace }}/lambdas/shared
12-
LAMBDA_PATH: ${{ github.workspace }}/lambdas
1310

1411
jobs:
1512
sonarcloud:
@@ -119,31 +116,19 @@ jobs:
119116
poetry run coverage run -m unittest discover || echo "redis_sync tests failed" >> ../failed_tests.txt
120117
poetry run coverage xml -o ../redis_sync-coverage.xml
121118
122-
- name: Run unittest with shared
123-
working-directory: lambdas/shared
124-
id: shared
125-
env:
126-
PYTHONPATH: ${{ env.SHARED_PATH }}/src
127-
continue-on-error: true
128-
run: |
129-
poetry env use 3.11
130-
poetry install
131-
poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover -s tests -p "test_*.py" -v || echo "shared tests failed" >> ../../failed_tests.txt
132-
poetry run coverage xml -o ../../shared-coverage.xml
133-
cat ../../shared-coverage.xml
134119
135120
- name: Run unittest with id_sync
136-
working-directory: lambdas/id_sync
121+
working-directory: id_sync
137122
id: id_sync
138123
env:
139-
PYTHONPATH: ${{ env.LAMBDA_PATH }}/id_sync/src:${{ env.SHARED_PATH }}/src
124+
PYTHONPATH: ${{ github.workspace }}/id_sync/src:${{ github.workspace }}/id_sync/tests
140125
continue-on-error: true
141126
run: |
142127
poetry env use 3.11
143128
poetry install
144129
poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
145-
poetry run coverage xml -o ../../id_sync-coverage.xml
146-
cat ../../id_sync-coverage.xml
130+
poetry run coverage xml -o ../id_sync-coverage.xml
131+
cat ../id_sync-coverage.xml
147132
148133
- name: Run Test Failure Summary
149134
id: check_failure

azure/templates/deploy-stage.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -155,40 +155,6 @@ jobs:
155155
submodules: recursive
156156
fetchDepth: 0 # Ensure complete history is fetched for submodules
157157
# Add this step after checkout and before terraform
158-
- task: Bash@3
159-
displayName: 'Debug Azure DevOps Structure'
160-
inputs:
161-
targetType: 'inline'
162-
script: |
163-
echo "=== SAW AZURE DEVOPS WORKSPACE DEBUG ==="
164-
echo "Pipeline.Workspace: $(Pipeline.Workspace)"
165-
echo "Build.SourcesDirectory: $(Build.SourcesDirectory)"
166-
echo "System.DefaultWorkingDirectory: $(System.DefaultWorkingDirectory)"
167-
echo "Agent.BuildDirectory: $(Agent.BuildDirectory)"
168-
echo "Current directory: $(pwd)"
169-
echo ""
170-
echo "=== WORKSPACE CONTENTS ==="
171-
echo "Pipeline workspace contents:"
172-
find $(Pipeline.Workspace) -maxdepth 3 -type d 2>/dev/null | head -20
173-
echo ""
174-
echo "=== SOURCE DIRECTORY CONTENTS ==="
175-
echo "Build sources directory contents:"
176-
ls -la $(Build.SourcesDirectory) 2>/dev/null || echo "Build.SourcesDirectory not accessible"
177-
echo ""
178-
echo "=== CURRENT DIRECTORY TREE ==="
179-
echo "Current directory tree:"
180-
find . -maxdepth 3 -type d 2>/dev/null || echo "Cannot access current directory"
181-
echo ""
182-
echo "=== SEARCH FOR LAMBDAS ==="
183-
echo "Searching for lambdas directory:"
184-
find $(Pipeline.Workspace) -name "lambdas" -type d 2>/dev/null || echo "No lambdas directory found"
185-
echo ""
186-
echo "=== SEARCH FOR DOCKERFILES ==="
187-
echo "Searching for Dockerfiles:"
188-
find $(Pipeline.Workspace) -name "*.Dockerfile" -type f 2>/dev/null || echo "No Dockerfiles found"
189-
echo "=== END DEBUG ==="
190-
191-
192158
- task: UsePythonVersion@0
193159
displayName: "Use Python ${{ parameters.python_version }}"
194160
inputs:

0 commit comments

Comments
 (0)