Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Package Source for CFS0011 #7357

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions builds/checkin/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
steps:
- script: scripts/linux/installPrereqs.sh
displayName: Install Prerequisites
- task: NuGetAuthenticate@1
- script: |
dotnet test \
--configuration $(configuration) \
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
steps:
- script: scripts/linux/installPrereqs.sh
displayName: Install Prerequisites
- task: NuGetAuthenticate@1
- script: |
dotnet test \
--logger trx \
Expand Down
1 change: 0 additions & 1 deletion builds/checkin/e2e-checkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ resources:
branch: 'main'

stages:

- template: ../misc/templates/build-images.yaml
parameters:
E2EBuild : true
Expand Down
1 change: 1 addition & 0 deletions builds/ci/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"'
Expand Down
1 change: 1 addition & 0 deletions builds/misc/addons-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down
24 changes: 24 additions & 0 deletions builds/misc/templates/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -159,6 +160,7 @@ stages:
# Product images
- job: BuildImageEdgeAgent
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Edge Agent
Expand All @@ -169,6 +171,7 @@ stages:

- job: BuildImageEdgeHub
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Edge Hub
Expand All @@ -179,6 +182,7 @@ stages:

- job: BuildImageTemperatureSensor
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Temperature Sensor
Expand All @@ -188,6 +192,7 @@ stages:

- job: BuildImageDiagnostics
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Diagnostics
Expand All @@ -197,6 +202,7 @@ stages:

- job: BuildImageMetricsCollector
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Metrics Collector
Expand All @@ -206,6 +212,7 @@ stages:

- job: BuildImageApiProxy
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: API Proxy
Expand All @@ -220,6 +227,7 @@ stages:
# Test images
- job: BuildImageTemperatureFilter
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Temperature Filter
Expand All @@ -229,6 +237,7 @@ stages:

- job: BuildImageLoadGen
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Load Gen
Expand All @@ -238,6 +247,7 @@ stages:

- job: BuildImageTestAnalyzer
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Test Analyzer
Expand All @@ -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
Expand All @@ -259,6 +270,7 @@ stages:

- job: BuildImageDirectMethodSender
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Direct Method Sender
Expand All @@ -268,6 +280,7 @@ stages:

- job: BuildImageDirectMethodReceiver
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Direct Method Receiver
Expand All @@ -277,6 +290,7 @@ stages:

- job: BuildImageMetricsValidator
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Metrics Validator
Expand All @@ -286,6 +300,7 @@ stages:

- job: BuildImageNumberLogger
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Number Logger
Expand All @@ -295,6 +310,7 @@ stages:

- job: BuildImageModuleRestarter
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Module Restarter
Expand All @@ -304,6 +320,7 @@ stages:

- job: BuildImageTwinTester
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: TwinTester
Expand All @@ -314,6 +331,7 @@ stages:

- job: BuildImageRelayer
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Relayer
Expand All @@ -323,6 +341,7 @@ stages:

- job: BuildImageNetworkController
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Network Controller
Expand All @@ -333,6 +352,7 @@ stages:

- job: BuildImageTestResultCoordinator
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: TestResultCoordinator
Expand All @@ -343,6 +363,7 @@ stages:

- job: BuildImageTestMetricsCollector
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Test Metrics Collector
Expand All @@ -352,6 +373,7 @@ stages:

- job: BuildImageDeploymentTester
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: DeploymentTester
Expand All @@ -361,6 +383,7 @@ stages:

- job: BuildImageEdgeHubRestartTester
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: EdgeHubRestartTester
Expand All @@ -370,6 +393,7 @@ stages:

- job: BuildImageCloudToDeviceMessageTester
steps:
- task: NuGetAuthenticate@1
- template: image-linux.yaml
parameters:
displayName: Cloud To Device Message Tester
Expand Down
1 change: 1 addition & 0 deletions netcoreappVersion.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
7 changes: 7 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="iotedge_PublicPackages" value="https://pkgs.dev.azure.com/iotedge/iotedge/_packaging/iotedge_PublicPackages/nuget/v3/index.json" />
</packageSources>
</configuration>