Skip to content

Commit bde212d

Browse files
authored
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#20642)
2 parents f6665eb + 729e6ac commit bde212d

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.vsts-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ extends:
281281
buildArchitecture: x64
282282
# Do not publish zips and tarballs. The linux-x64 binaries are
283283
# already published by Build_LinuxPortable_Release_x64
284-
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro=true'
284+
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkRpm=true'
285285
linuxPortable: true
286286
runTests: false
287287
- template: eng/build.yml@self
@@ -294,7 +294,7 @@ extends:
294294
runtimeIdentifier: 'linux-arm64'
295295
# Do not publish zips and tarballs. The linux-x64 binaries are
296296
# already published by Build_LinuxPortable_Release_x64
297-
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro=true'
297+
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm=true'
298298
linuxPortable: true
299299
runTests: false
300300
- template: eng/build.yml@self

.vsts-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ stages:
249249
buildArchitecture: x64
250250
# Do not publish zips and tarballs. The linux-x64 binaries are
251251
# already published by Build_LinuxPortable_Release_x64
252-
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:IsRPMBasedDistro=true'
252+
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkRpm=true'
253253
linuxPortable: true
254254
runTests: false
255255
- template: eng/build-pr.yml
@@ -262,7 +262,7 @@ stages:
262262
runtimeIdentifier: 'linux-arm64'
263263
# Do not publish zips and tarballs. The linux-x64 binaries are
264264
# already published by Build_LinuxPortable_Release_x64
265-
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:IsRPMBasedDistro=true'
265+
additionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true /p:BuildSdkRpm=true'
266266
linuxPortable: true
267267
runTests: false
268268
- template: eng/build-pr.yml

eng/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
pool:
9494
${{ if eq(variables['System.TeamProject'], 'public') }}:
9595
name: $(DncEngPublicBuildPool)
96-
image: 1es-ubuntu-2004-open
96+
image: 1es-ubuntu-2204-open
9797
os: linux
9898
${{ if eq(variables['System.TeamProject'], 'internal') }}:
9999
name: $(DncEngInternalBuildPool)

src/redist/targets/GenerateRPMs.targets

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
build environment. https://github.com/dotnet/sdk/issues/41910 -->
1717
<Target Name="GenerateRpmsInner"
1818
DependsOnTargets="TestFPMTool;BuildRpms"
19-
Condition=" '$(IsRPMBasedDistro)' == 'True' "
19+
Condition=" '$(BuildSdkRpm)' == 'True' "
2020
Outputs="@(GeneratedInstallers)"/>
2121

2222
<Target Name="BuildRpms"
2323
DependsOnTargets="GenerateSdkRpm"
24-
Condition=" '$(IsRPMBasedDistro)' == 'True' and '$(FPMPresent)' == 'True' "/>
24+
Condition=" '$(BuildSdkRpm)' == 'True' and '$(FPMPresent)' == 'True' "/>
2525

2626
<Target Name="GenerateSdkRpm"
2727
DependsOnTargets="SetupRpmProps">
@@ -317,14 +317,12 @@
317317
<FPMPresent Condition=" '$(FPMExitCode)' == '0' ">True</FPMPresent>
318318
</PropertyGroup>
319319

320-
<!-- Workaround for Jenkins machines that don't have the necessary packages https://github.com/dotnet/core-setup/issues/2260 -->
321-
<Message Condition=" '$(FPMPresent)' != 'True' "
322-
Text="FPM tool Not found, RPM packages will not be built."
323-
Importance="High"/>
320+
<Error Condition=" '$(FPMPresent)' != 'True' "
321+
Text="FPM tool Not found, RPM packages will not be built." />
324322
</Target>
325323

326324
<Target Name="TestSdkRpm"
327-
Condition=" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(IsRPMBasedDistro)' == 'True' and '$(FPMPresent)' == 'True' "
325+
Condition=" '$(CLIBUILD_SKIP_TESTS)' != 'true' and '$(BuildSdkRpm)' == 'True' and '$(FPMPresent)' == 'True' "
328326
Inputs="$(DownloadedNetCoreAppTargetingPackInstallerFile);
329327
$(DownloadedNetStandardTargetingPackInstallerFile);
330328
$(DownloadedNetCoreAppHostPackInstallerFile);

0 commit comments

Comments
 (0)