From eb4f50fabfd429a64a480e38b32fd7d481edab9a Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Fri, 27 Oct 2023 08:06:01 -0700 Subject: [PATCH] Update the stage 0 version and unwind a few of the upgrade changes (#17617) --- .vsts-ci.yml | 48 +++++++++---------- global.json | 5 +- .../bootstrap/OverrideBootstrapVersions.props | 2 + .../buildBootstrapPreviouslySB.csproj | 1 + src/SourceBuild/content/global.json | 2 +- test/EndToEnd/ProjectBuildTests.cs | 2 +- test/SdkTests/SdkTests.csproj | 4 +- 7 files changed, 33 insertions(+), 31 deletions(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index a3116f1a6..d14d1293e 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -230,30 +230,30 @@ stages: additionalBuildParameters: '/p:HostOSName="linux-musl"' linuxPortable: false runTests: false - # - template: eng/build.yml - # parameters: - # agentOs: Linux - # jobName: Build_Linux_Portable_Deb_Release_x64 - # container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg' - # buildConfiguration: Release - # buildArchitecture: x64 - # # Do not publish zips and tarballs. The linux-x64 binaries are - # # already published by Build_LinuxPortable_Release_x64 - # additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkDeb=true' - # linuxPortable: true - # runTests: false - # - template: eng/build.yml - # parameters: - # agentOs: Linux - # jobName: Build_Linux_Portable_Rpm_Release_x64 - # container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm' - # buildConfiguration: Release - # buildArchitecture: x64 - # # Do not publish zips and tarballs. The linux-x64 binaries are - # # already published by Build_LinuxPortable_Release_x64 - # additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro=true' - # linuxPortable: true - # runTests: false + - template: eng/build.yml + parameters: + agentOs: Linux + jobName: Build_Linux_Portable_Deb_Release_x64 + container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg' + buildConfiguration: Release + buildArchitecture: x64 + # Do not publish zips and tarballs. The linux-x64 binaries are + # already published by Build_LinuxPortable_Release_x64 + additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkDeb=true' + linuxPortable: true + runTests: false + - template: eng/build.yml + parameters: + agentOs: Linux + jobName: Build_Linux_Portable_Rpm_Release_x64 + container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm' + buildConfiguration: Release + buildArchitecture: x64 + # Do not publish zips and tarballs. The linux-x64 binaries are + # already published by Build_LinuxPortable_Release_x64 + additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro=true' + linuxPortable: true + runTests: false - template: eng/build.yml parameters: agentOs: Linux diff --git a/global.json b/global.json index 3d7627fcd..e90c9dcf2 100644 --- a/global.json +++ b/global.json @@ -1,10 +1,9 @@ { "tools": { - "dotnet": "9.0.100-alpha.1.23511.2", + "dotnet": "9.0.100-alpha.1.23524.3", "runtimes": { "dotnet": [ - "$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)", - "8.0.0-rc.1.23419.4" + "$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)" ] } }, diff --git a/src/SourceBuild/content/eng/bootstrap/OverrideBootstrapVersions.props b/src/SourceBuild/content/eng/bootstrap/OverrideBootstrapVersions.props index 358c00140..e85bea0e3 100644 --- a/src/SourceBuild/content/eng/bootstrap/OverrideBootstrapVersions.props +++ b/src/SourceBuild/content/eng/bootstrap/OverrideBootstrapVersions.props @@ -9,6 +9,7 @@ 8.0.0-rc.2.23479.6 $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) + $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) @@ -19,5 +20,6 @@ $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) $(Msft80RC2RuntimeVersion) + diff --git a/src/SourceBuild/content/eng/bootstrap/buildBootstrapPreviouslySB.csproj b/src/SourceBuild/content/eng/bootstrap/buildBootstrapPreviouslySB.csproj index d85e32ca7..b9dc057ab 100644 --- a/src/SourceBuild/content/eng/bootstrap/buildBootstrapPreviouslySB.csproj +++ b/src/SourceBuild/content/eng/bootstrap/buildBootstrapPreviouslySB.csproj @@ -49,6 +49,7 @@ + - + @@ -239,7 +239,7 @@ + EnvironmentVariables="DOTNET_CLI_HOME=$(DOTNET_CLI_HOME)"/>