Skip to content

Commit

Permalink
Merged PR 46719: Updating dependencies for 9.1 release
Browse files Browse the repository at this point in the history
Updating dependencies for 9.1 release

----
#### AI description  (iteration 1)
#### PR Classification
Dependency update for the 9.1 release.

#### PR Summary
This pull request updates various dependencies to their 9.0.1 versions and makes adjustments to the build and pipeline configurations.
- `eng/Version.Details.xml` and `eng/Versions.props`: Updated multiple dependencies from version 9.0.0 to 9.0.1.
- `azure-pipelines.yml`: Removed the code coverage stage and disabled source indexing.
- `NuGet.config`: Adjusted package source mappings and disabled certain package sources.
- `eng/pipelines/templates/BuildAndTest.yml`: Added steps to set up private feed credentials.
- `Directory.Build.props`: Disabled NU1507 warning for internal branches.
  • Loading branch information
joperezr committed Jan 14, 2025
1 parent 045aaab commit 3e265f8
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 227 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
<TestNetCoreTargetFrameworks>$(NetCoreTargetFrameworks)</TestNetCoreTargetFrameworks>
</PropertyGroup>

<!-- Internal branches don't use package source mapping feature due to internal feeds, so disable NU1507 warning saying it should be used. -->
<PropertyGroup>
<NoWarn>$(NoWarn);NU1507</NoWarn>
</PropertyGroup>

<PropertyGroup>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<LangVersion>latest</LangVersion>
Expand Down
55 changes: 32 additions & 23 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
<configuration>
<packageSources>
<clear />
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-aspnetcore -->
<add key="darc-int-dotnet-aspnetcore-31d685b" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-31d685b2/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-31d685b-3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-31d685b2-3/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-31d685b-2" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-31d685b2-2/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-31d685b-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-31d685b2-1/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-4e4e1fc" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-4e4e1fc3/nuget/v3/index.json" />
<add key="darc-int-dotnet-aspnetcore-4e4e1fc-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-4e4e1fc3-1/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from dotnet-runtime -->
<add key="darc-int-dotnet-runtime-89ef51c" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-89ef51c5/nuget/v3/index.json" />
<add key="darc-int-dotnet-runtime-89ef51c-3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-89ef51c5-3/nuget/v3/index.json" />
<add key="darc-int-dotnet-runtime-69ae1ac" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-69ae1ac0/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-runtime -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
Expand All @@ -10,27 +25,21 @@
<!-- Used for the Rich Navigation indexing task -->
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
</packageSources>
<!-- Define mappings by adding package patterns beneath the target source.
https://aka.ms/nuget-package-source-mapping -->
<packageSourceMapping>
<packageSource key="dotnet-public">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet-eng">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet-tools">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet9">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet9-transport">
<package pattern="*" />
</packageSource>
<packageSource key="richnav">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
<disabledPackageSources />
<disabledPackageSources>
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from dotnet-runtime -->
<add key="darc-int-dotnet-runtime-89ef51c-3" value="true" />
<add key="darc-int-dotnet-runtime-89ef51c" value="true" />
<add key="darc-int-dotnet-runtime-69ae1ac" value="true" />
<!-- End: Package sources from dotnet-runtime -->
<add key="darc-int-dotnet-aspnetcore-31d685b-1" value="true" />
<add key="darc-int-dotnet-aspnetcore-31d685b-2" value="true" />
<add key="darc-int-dotnet-aspnetcore-31d685b-3" value="true" />
<add key="darc-int-dotnet-aspnetcore-31d685b" value="true" />
<add key="darc-int-dotnet-aspnetcore-4e4e1fc-1" value="true" />
<add key="darc-int-dotnet-aspnetcore-4e4e1fc" value="true" />
<!-- End: Package sources from dotnet-aspnetcore -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
</disabledPackageSources>
</configuration>
48 changes: 1 addition & 47 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ extends:
parameters:
enableMicrobuild: true
enableTelemetry: true
enableSourceIndex: true
enableSourceIndex: false
runAsPublic: ${{ variables['runAsPublic'] }}
# Publish build logs
enablePublishBuildArtifacts: true
Expand Down Expand Up @@ -220,51 +220,6 @@ extends:
isWindows: false
warnAsError: 0

# ----------------------------------------------------------------
# This stage performs quality gates enforcements
# ----------------------------------------------------------------
- stage: codecoverage
displayName: CodeCoverage
dependsOn:
- build
condition: and(succeeded('build'), ne(variables['SkipQualityGates'], 'true'))
variables:
- template: /eng/common/templates-official/variables/pool-providers.yml@self
jobs:
- template: /eng/common/templates-official/jobs/jobs.yml@self
parameters:
enableMicrobuild: true
enableTelemetry: true
runAsPublic: ${{ variables['runAsPublic'] }}
workspace:
clean: all

# ----------------------------------------------------------------
# This stage downloads the code coverage reports from the build jobs,
# merges those and validates the combined test coverage.
# ----------------------------------------------------------------
jobs:
- job: CodeCoverageReport
timeoutInMinutes: 180

pool:
name: NetCore1ESPool-Internal
image: 1es-mariner-2
os: linux

preSteps:
- checkout: self
clean: true
persistCredentials: true
fetchDepth: 1

steps:
- script: $(Build.SourcesDirectory)/build.sh --ci --restore
displayName: Init toolset

- template: /eng/pipelines/templates/VerifyCoverageReport.yml


# ----------------------------------------------------------------
# This stage only performs a build treating warnings as errors
# to detect any kind of code style violations
Expand Down Expand Up @@ -320,7 +275,6 @@ extends:
parameters:
validateDependsOn:
- build
- codecoverage
- correctness
publishingInfraVersion: 3
enableSymbolValidation: false
Expand Down
Loading

0 comments on commit 3e265f8

Please sign in to comment.