Skip to content

Commit 6b3d524

Browse files
committed
submodules: recursive
1 parent 00b1628 commit 6b3d524

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure/templates/deploy-stage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ jobs:
150150
echo "##vso[task.setvariable variable=FULLY_QUALIFIED_SERVICE_NAME]${FULLY_QUALIFIED_SERVICE_NAME}"
151151
fi
152152
displayName: Override FULLY_QUALIFIED_SERVICE_NAME
153+
- checkout: self
154+
path: "s/${{ parameters.service_name }}"
155+
submodules: recursive
156+
fetchDepth: 0 # Ensure complete history is fetched for submodules
153157
# Add this step after checkout and before terraform
154158
- task: Bash@3
155159
displayName: 'Debug Azure DevOps Structure'
@@ -183,9 +187,7 @@ jobs:
183187
echo "Searching for Dockerfiles:"
184188
find $(Pipeline.Workspace) -name "*.Dockerfile" -type f 2>/dev/null || echo "No Dockerfiles found"
185189
echo "=== END DEBUG ==="
186-
- checkout: self
187-
path: "s/${{ parameters.service_name }}"
188-
submodules: true
190+
189191
190192
- task: UsePythonVersion@0
191193
displayName: "Use Python ${{ parameters.python_version }}"

0 commit comments

Comments
 (0)