Skip to content

Commit 5648a42

Browse files
authored
Work CI-CD
- Add wait parameter to update dependents task. - Remove unnecessary wait step. ***NO_CI***
1 parent 6ab888b commit 5648a42

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ jobs:
164164
# update dependents
165165
- template: azure-pipelines-templates/update-dependents.yml@templates
166166
parameters:
167+
waitBeforeUpdate: eq(variables['UPDATE_DEPENDENTS'], 'false')
167168
repositoriesToUpdate: |
168169
nanoFramework.TestFramework
169170
nanoFramework.Device.OneWire
@@ -182,16 +183,11 @@ jobs:
182183
System.Device.Spi
183184
System.Math
184185
System.Text
185-
186-
# wait for 15min to allow the 1st batch to get updated
187-
# only if this wasn't triggered by the pipeline
188-
- powershell: Start-Sleep -Seconds (15*60)
189-
displayName: Wait for 15min
190-
condition: eq(variables['UPDATE_DEPENDENTS'], 'false')
191186
192187
# update dependents
193188
- template: azure-pipelines-templates/update-dependents.yml@templates
194189
parameters:
190+
waitBeforeUpdate: eq(variables['UPDATE_DEPENDENTS'], 'false')
195191
repositoriesToUpdate: |
196192
nanoFramework.Logging
197193
nanoFramework.Json

0 commit comments

Comments
 (0)