Skip to content

Commit 0fad994

Browse files
committed
NuGetAuthenticate
1 parent 6cfe098 commit 0fad994

6 files changed

Lines changed: 29 additions & 0 deletions

File tree

builds/checkin/dotnet.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
steps:
3838
- script: scripts/linux/installPrereqs.sh
3939
displayName: Install Prerequisites
40+
- task: NuGetAuthenticate@1
4041
- script: |
4142
dotnet test \
4243
--configuration $(configuration) \

builds/checkin/e2e-checkin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ resources:
2424
branch: 'main'
2525

2626
stages:
27+
- task: NuGetAuthenticate@1
2728

2829
- template: ../misc/templates/build-images.yaml
2930
parameters:

builds/ci/dotnet.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
displayName: Install protocol head certificate # Needed for integration tests
4848
env:
4949
CERT_VALUE: $(IotHubMqttHeadCert)
50+
- task: NuGetAuthenticate@1
5051
- script: scripts/linux/buildBranch.sh -c $(Build.Configuration) --no-rocksdb-bin --skip-quickstart
5152
displayName: Build
5253
- script: sudo -E bash -c './scripts/linux/runTests.sh "$(test.filter)" "$(Build.Configuration)"'

builds/misc/addons-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ stages:
8888
jobs:
8989
- job: BuildImageApiProxy
9090
steps:
91+
- task: NuGetAuthenticate@1
9192
- bash: |
9293
if [ -z '$(version)' ]; then
9394
echo '##vso[task.setvariable variable=buildVersion]$(Build.BuildNumber)'

builds/misc/ci-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ variables:
2121
DisableDockerDetector: true
2222

2323
stages:
24+
- task: NuGetAuthenticate@1
2425
- template: templates/build-images.yaml
2526
- template: templates/build-packages.yaml

builds/misc/templates/build-images.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ stages:
5757
variables:
5858
Codeql.Enabled: true
5959
steps:
60+
- task: NuGetAuthenticate@1
6061
- script: scripts/linux/buildBranch.sh -c $(Build.Configuration) --no-rocksdb-bin
6162
name: build
6263
displayName: Build ($(Build.Configuration)) dotnet artifacts
@@ -159,6 +160,7 @@ stages:
159160
# Product images
160161
- job: BuildImageEdgeAgent
161162
steps:
163+
- task: NuGetAuthenticate@1
162164
- template: image-linux.yaml
163165
parameters:
164166
displayName: Edge Agent
@@ -169,6 +171,7 @@ stages:
169171

170172
- job: BuildImageEdgeHub
171173
steps:
174+
- task: NuGetAuthenticate@1
172175
- template: image-linux.yaml
173176
parameters:
174177
displayName: Edge Hub
@@ -179,6 +182,7 @@ stages:
179182

180183
- job: BuildImageTemperatureSensor
181184
steps:
185+
- task: NuGetAuthenticate@1
182186
- template: image-linux.yaml
183187
parameters:
184188
displayName: Temperature Sensor
@@ -188,6 +192,7 @@ stages:
188192

189193
- job: BuildImageDiagnostics
190194
steps:
195+
- task: NuGetAuthenticate@1
191196
- template: image-linux.yaml
192197
parameters:
193198
displayName: Diagnostics
@@ -197,6 +202,7 @@ stages:
197202

198203
- job: BuildImageMetricsCollector
199204
steps:
205+
- task: NuGetAuthenticate@1
200206
- template: image-linux.yaml
201207
parameters:
202208
displayName: Metrics Collector
@@ -206,6 +212,7 @@ stages:
206212

207213
- job: BuildImageApiProxy
208214
steps:
215+
- task: NuGetAuthenticate@1
209216
- template: image-linux.yaml
210217
parameters:
211218
displayName: API Proxy
@@ -220,6 +227,7 @@ stages:
220227
# Test images
221228
- job: BuildImageTemperatureFilter
222229
steps:
230+
- task: NuGetAuthenticate@1
223231
- template: image-linux.yaml
224232
parameters:
225233
displayName: Temperature Filter
@@ -229,6 +237,7 @@ stages:
229237

230238
- job: BuildImageLoadGen
231239
steps:
240+
- task: NuGetAuthenticate@1
232241
- template: image-linux.yaml
233242
parameters:
234243
displayName: Load Gen
@@ -238,6 +247,7 @@ stages:
238247

239248
- job: BuildImageTestAnalyzer
240249
steps:
250+
- task: NuGetAuthenticate@1
241251
- template: image-linux.yaml
242252
parameters:
243253
displayName: Test Analyzer
@@ -249,6 +259,7 @@ stages:
249259
# Functions Sample - Only supported on amd64
250260
- job: BuildImageFunctionsSample
251261
steps:
262+
- task: NuGetAuthenticate@1
252263
- template: image-linux.yaml
253264
parameters:
254265
displayName: Functions Sample
@@ -259,6 +270,7 @@ stages:
259270

260271
- job: BuildImageDirectMethodSender
261272
steps:
273+
- task: NuGetAuthenticate@1
262274
- template: image-linux.yaml
263275
parameters:
264276
displayName: Direct Method Sender
@@ -268,6 +280,7 @@ stages:
268280

269281
- job: BuildImageDirectMethodReceiver
270282
steps:
283+
- task: NuGetAuthenticate@1
271284
- template: image-linux.yaml
272285
parameters:
273286
displayName: Direct Method Receiver
@@ -277,6 +290,7 @@ stages:
277290

278291
- job: BuildImageMetricsValidator
279292
steps:
293+
- task: NuGetAuthenticate@1
280294
- template: image-linux.yaml
281295
parameters:
282296
displayName: Metrics Validator
@@ -286,6 +300,7 @@ stages:
286300

287301
- job: BuildImageNumberLogger
288302
steps:
303+
- task: NuGetAuthenticate@1
289304
- template: image-linux.yaml
290305
parameters:
291306
displayName: Number Logger
@@ -295,6 +310,7 @@ stages:
295310

296311
- job: BuildImageModuleRestarter
297312
steps:
313+
- task: NuGetAuthenticate@1
298314
- template: image-linux.yaml
299315
parameters:
300316
displayName: Module Restarter
@@ -304,6 +320,7 @@ stages:
304320

305321
- job: BuildImageTwinTester
306322
steps:
323+
- task: NuGetAuthenticate@1
307324
- template: image-linux.yaml
308325
parameters:
309326
displayName: TwinTester
@@ -314,6 +331,7 @@ stages:
314331

315332
- job: BuildImageRelayer
316333
steps:
334+
- task: NuGetAuthenticate@1
317335
- template: image-linux.yaml
318336
parameters:
319337
displayName: Relayer
@@ -323,6 +341,7 @@ stages:
323341

324342
- job: BuildImageNetworkController
325343
steps:
344+
- task: NuGetAuthenticate@1
326345
- template: image-linux.yaml
327346
parameters:
328347
displayName: Network Controller
@@ -333,6 +352,7 @@ stages:
333352

334353
- job: BuildImageTestResultCoordinator
335354
steps:
355+
- task: NuGetAuthenticate@1
336356
- template: image-linux.yaml
337357
parameters:
338358
displayName: TestResultCoordinator
@@ -343,6 +363,7 @@ stages:
343363

344364
- job: BuildImageTestMetricsCollector
345365
steps:
366+
- task: NuGetAuthenticate@1
346367
- template: image-linux.yaml
347368
parameters:
348369
displayName: Test Metrics Collector
@@ -352,6 +373,7 @@ stages:
352373

353374
- job: BuildImageDeploymentTester
354375
steps:
376+
- task: NuGetAuthenticate@1
355377
- template: image-linux.yaml
356378
parameters:
357379
displayName: DeploymentTester
@@ -361,6 +383,7 @@ stages:
361383

362384
- job: BuildImageEdgeHubRestartTester
363385
steps:
386+
- task: NuGetAuthenticate@1
364387
- template: image-linux.yaml
365388
parameters:
366389
displayName: EdgeHubRestartTester
@@ -370,6 +393,7 @@ stages:
370393

371394
- job: BuildImageCloudToDeviceMessageTester
372395
steps:
396+
- task: NuGetAuthenticate@1
373397
- template: image-linux.yaml
374398
parameters:
375399
displayName: Cloud To Device Message Tester

0 commit comments

Comments
 (0)