Skip to content

Commit b9837ac

Browse files
bergmaniaMigaroez
authored andcommitted
Optimize Azure pipeline (#17674)
* Only fetch single commit * Hopefully fixes Nerdbank.GitVersioning.GitException: Shallow clone lacks the objects required to calculate version height. Use full clones or clones with a history at least as deep as the last version height resetting change. * Do not checkout again * More test pipeline * Another attempt * yet another attempt * more attempts * Revert "more attempts" This reverts commit 5694d97. * Test without building backoffice and login explicitly * Fix mem leak in integration tests * Fixes sqlserver lock test # Conflicts: # build/azure-pipelines.yml
1 parent bb73ec6 commit b9837ac

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

build/azure-pipelines.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ stages:
7373
pool:
7474
vmImage: 'ubuntu-latest'
7575
steps:
76+
- checkout: self
77+
submodules: false
78+
lfs: false,
79+
fetchDepth: 500
7680
- task: NodeTool@0
7781
displayName: Use Node.js $(nodeVersion)
7882
retryCountOnTaskFailure: 3
@@ -198,6 +202,11 @@ stages:
198202
pool:
199203
vmImage: 'ubuntu-latest'
200204
steps:
205+
- checkout: self
206+
submodules: false
207+
lfs: false,
208+
fetchDepth: 1
209+
fetchFilter: tree:0
201210
- task: NodeTool@0
202211
displayName: Use Node.js 10.15.x
203212
retryCountOnTaskFailure: 3
@@ -249,6 +258,11 @@ stages:
249258
pool:
250259
vmImage: $(vmImage)
251260
steps:
261+
- checkout: self
262+
submodules: false
263+
lfs: false,
264+
fetchDepth: 1
265+
fetchFilter: tree:0
252266
- task: DownloadPipelineArtifact@2
253267
displayName: Download build artifacts
254268
inputs:
@@ -288,6 +302,11 @@ stages:
288302
variables:
289303
Tests__Database__DatabaseType: 'Sqlite'
290304
steps:
305+
- checkout: self
306+
submodules: false
307+
lfs: false,
308+
fetchDepth: 1
309+
fetchFilter: tree:0
291310
# Setup test environment
292311
- task: DownloadPipelineArtifact@2
293312
displayName: Download build artifacts

0 commit comments

Comments
 (0)