diff --git a/builds/checkin/dotnet.yaml b/builds/checkin/dotnet.yaml
index 928560cb89a..813f954b108 100644
--- a/builds/checkin/dotnet.yaml
+++ b/builds/checkin/dotnet.yaml
@@ -37,6 +37,7 @@ jobs:
steps:
- script: scripts/linux/installPrereqs.sh
displayName: Install Prerequisites
+ - task: NuGetAuthenticate@1
- script: |
dotnet test \
--configuration $(configuration) \
@@ -65,6 +66,7 @@ jobs:
steps:
- script: scripts/linux/installPrereqs.sh
displayName: Install Prerequisites
+ - task: NuGetAuthenticate@1
- script: |
dotnet test \
--logger trx \
diff --git a/builds/checkin/e2e-checkin.yaml b/builds/checkin/e2e-checkin.yaml
index b232457e4e5..6f8dd9dc719 100644
--- a/builds/checkin/e2e-checkin.yaml
+++ b/builds/checkin/e2e-checkin.yaml
@@ -24,7 +24,6 @@ resources:
branch: 'main'
stages:
-
- template: ../misc/templates/build-images.yaml
parameters:
E2EBuild : true
diff --git a/builds/ci/dotnet.yaml b/builds/ci/dotnet.yaml
index 12d9cdb37c1..f92e4810859 100644
--- a/builds/ci/dotnet.yaml
+++ b/builds/ci/dotnet.yaml
@@ -47,6 +47,7 @@ jobs:
displayName: Install protocol head certificate # Needed for integration tests
env:
CERT_VALUE: $(IotHubMqttHeadCert)
+ - task: NuGetAuthenticate@1
- script: scripts/linux/buildBranch.sh -c $(Build.Configuration) --no-rocksdb-bin --skip-quickstart
displayName: Build
- script: sudo -E bash -c './scripts/linux/runTests.sh "$(test.filter)" "$(Build.Configuration)"'
diff --git a/builds/misc/addons-release.yaml b/builds/misc/addons-release.yaml
index e8534a4bdfb..5d1d76c1f34 100644
--- a/builds/misc/addons-release.yaml
+++ b/builds/misc/addons-release.yaml
@@ -88,6 +88,7 @@ stages:
jobs:
- job: BuildImageApiProxy
steps:
+ - task: NuGetAuthenticate@1
- bash: |
if [ -z '$(version)' ]; then
echo '##vso[task.setvariable variable=buildVersion]$(Build.BuildNumber)'
diff --git a/builds/misc/templates/build-images.yaml b/builds/misc/templates/build-images.yaml
index 6e38c1b3675..8b719927af9 100644
--- a/builds/misc/templates/build-images.yaml
+++ b/builds/misc/templates/build-images.yaml
@@ -57,6 +57,7 @@ stages:
variables:
Codeql.Enabled: true
steps:
+ - task: NuGetAuthenticate@1
- script: scripts/linux/buildBranch.sh -c $(Build.Configuration) --no-rocksdb-bin
name: build
displayName: Build ($(Build.Configuration)) dotnet artifacts
@@ -159,6 +160,7 @@ stages:
# Product images
- job: BuildImageEdgeAgent
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Edge Agent
@@ -169,6 +171,7 @@ stages:
- job: BuildImageEdgeHub
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Edge Hub
@@ -179,6 +182,7 @@ stages:
- job: BuildImageTemperatureSensor
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Temperature Sensor
@@ -188,6 +192,7 @@ stages:
- job: BuildImageDiagnostics
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Diagnostics
@@ -197,6 +202,7 @@ stages:
- job: BuildImageMetricsCollector
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Metrics Collector
@@ -206,6 +212,7 @@ stages:
- job: BuildImageApiProxy
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: API Proxy
@@ -220,6 +227,7 @@ stages:
# Test images
- job: BuildImageTemperatureFilter
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Temperature Filter
@@ -229,6 +237,7 @@ stages:
- job: BuildImageLoadGen
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Load Gen
@@ -238,6 +247,7 @@ stages:
- job: BuildImageTestAnalyzer
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Test Analyzer
@@ -249,6 +259,7 @@ stages:
# Functions Sample - Only supported on amd64
- job: BuildImageFunctionsSample
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Functions Sample
@@ -259,6 +270,7 @@ stages:
- job: BuildImageDirectMethodSender
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Direct Method Sender
@@ -268,6 +280,7 @@ stages:
- job: BuildImageDirectMethodReceiver
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Direct Method Receiver
@@ -277,6 +290,7 @@ stages:
- job: BuildImageMetricsValidator
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Metrics Validator
@@ -286,6 +300,7 @@ stages:
- job: BuildImageNumberLogger
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Number Logger
@@ -295,6 +310,7 @@ stages:
- job: BuildImageModuleRestarter
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Module Restarter
@@ -304,6 +320,7 @@ stages:
- job: BuildImageTwinTester
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: TwinTester
@@ -314,6 +331,7 @@ stages:
- job: BuildImageRelayer
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Relayer
@@ -323,6 +341,7 @@ stages:
- job: BuildImageNetworkController
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Network Controller
@@ -333,6 +352,7 @@ stages:
- job: BuildImageTestResultCoordinator
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: TestResultCoordinator
@@ -343,6 +363,7 @@ stages:
- job: BuildImageTestMetricsCollector
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Test Metrics Collector
@@ -352,6 +373,7 @@ stages:
- job: BuildImageDeploymentTester
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: DeploymentTester
@@ -361,6 +383,7 @@ stages:
- job: BuildImageEdgeHubRestartTester
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: EdgeHubRestartTester
@@ -370,6 +393,7 @@ stages:
- job: BuildImageCloudToDeviceMessageTester
steps:
+ - task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Cloud To Device Message Tester
diff --git a/netcoreappVersion.props b/netcoreappVersion.props
index fa67997ec8e..26704a354f0 100644
--- a/netcoreappVersion.props
+++ b/netcoreappVersion.props
@@ -1,5 +1,6 @@
net8.0
+ true
\ No newline at end of file
diff --git a/nuget.config b/nuget.config
new file mode 100644
index 00000000000..7e550a1e916
--- /dev/null
+++ b/nuget.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+