Skip to content

Commit 26e3dfc

Browse files
[release/7.0] Use simpler Docker tags (#45115)
* [release/7.0] Use simpler Docker tags - `cherry-pick` of 5f4bc82, Update docker tag to latest schema - This change moves all of the docker images to the -latest tag as part of #10377. - `cherry-pick` of f79f2d1, Replace -latest docker tags with new schema - We changed the latest tags to not include the -latest suffix, so this change updates those tags to the new schema. nit: Correct timeout of source-build job - not honoured as a top-level parameter to source-build.yml * !fixup! Use rh-ruby26 Co-authored-by: Michelle McDaniel <[email protected]>
1 parent 0384a80 commit 26e3dfc

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.azure/pipelines/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ stages:
595595
jobName: Linux_musl_x64_build
596596
jobDisplayName: "Build: Linux Musl x64"
597597
agentOs: Linux
598-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-WithNode-20210910135833-c401c85
598+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-WithNode
599599
buildArgs:
600600
--arch x64
601601
--os-name linux-musl
@@ -631,7 +631,7 @@ stages:
631631
jobDisplayName: "Build: Linux Musl ARM"
632632
agentOs: Linux
633633
useHostedUbuntu: false
634-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm-alpine-20211022152824-78f7860
634+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm-alpine
635635
buildArgs:
636636
--arch arm
637637
--os-name linux-musl
@@ -666,7 +666,7 @@ stages:
666666
jobDisplayName: "Build: Linux Musl ARM64"
667667
agentOs: Linux
668668
useHostedUbuntu: false
669-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-alpine-20211022152824-538077f
669+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-alpine
670670
buildArgs:
671671
--arch arm64
672672
--os-name linux-musl
@@ -796,10 +796,11 @@ stages:
796796
parameters:
797797
platform:
798798
name: 'Managed'
799-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8-20220809204800-17a4aab'
799+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
800800
buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks $(_InternalRuntimeDownloadArgs)'
801801
skipPublishValidation: true
802-
timeoutInMinutes: 120
802+
jobProperties:
803+
timeoutInMinutes: 120
803804

804805
# Publish to the BAR and perform source indexing. Wait until everything else is done.
805806
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:

eng/docker/rhel.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dockerfile that creates a container suitable to build dotnet-cli
2-
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-rpmpkg-20220505130359-d0fa36f
2+
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-rpmpkg
33

44
# Setup User to match Host User, and give superuser permissions
55
ARG USER

eng/targets/Helix.Common.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project>
22
<!-- This file is shared between Helix.proj and .csproj files. -->
33
<PropertyGroup>
4-
<HelixQueueAlpine314>(Alpine.314.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19</HelixQueueAlpine314>
5-
<HelixQueueDebian11>(Debian.11.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-amd64-20211001171307-0ece9b3</HelixQueueDebian11>
6-
<HelixQueueFedora34>(Fedora.34.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-34-helix-20210924174119-4f64125</HelixQueueFedora34>
7-
<HelixQueueMariner>(Mariner)[email protected]/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620</HelixQueueMariner>
8-
<HelixQueueArmDebian11>(Debian.11.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-arm64v8-20211001171229-97d8652</HelixQueueArmDebian11>
4+
<HelixQueueAlpine314>(Alpine.314.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64</HelixQueueAlpine314>
5+
<HelixQueueDebian11>(Debian.11.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-amd64</HelixQueueDebian11>
6+
<HelixQueueFedora34>(Fedora.34.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-34-helix</HelixQueueFedora34>
7+
<HelixQueueMariner>(Mariner)[email protected]/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix</HelixQueueMariner>
8+
<HelixQueueArmDebian11>(Debian.11.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-arm64v8</HelixQueueArmDebian11>
99

1010
<!-- Do not attempt to override global property. -->
1111
<RunQuarantinedTests Condition=" '$(RunQuarantinedTests)' == '' ">false</RunQuarantinedTests>

src/Installers/Rpm/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<FpmArgs Include="&quot;$(PackageContentRoot)=$(RpmPackageInstallRoot)&quot;" />
8686
</ItemGroup>
8787

88-
<Exec Command="scl enable rh-ruby25 'fpm @(FpmArgs,' ')'" />
88+
<Exec Command="scl enable rh-ruby26 'fpm @(FpmArgs,' ')'" />
8989

9090
<Copy SourceFiles="$(TargetPath)"
9191
DestinationFiles="$(CblMariner1TargetPath)"

0 commit comments

Comments
 (0)