Skip to content

Commit

Permalink
Update EOL versions (#72623)
Browse files Browse the repository at this point in the history
* Update EOL versions

* Apply suggestions from code review

Co-authored-by: Michael Simons <[email protected]>

---------

Co-authored-by: Michael Simons <[email protected]>
  • Loading branch information
richlander and MichaelSimons authored Mar 22, 2024
1 parent c72ad86 commit 6e5fc9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ variables:

- name: UbuntuQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
value: Build.Ubuntu.1804.Amd64.Open
value: Build.Ubuntu.2004.Amd64.Open
${{ else }}:
value: Build.Ubuntu.1804.Amd64
value: Build.Ubuntu.2004.Amd64

- name: WindowsQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
Expand All @@ -79,9 +79,9 @@ variables:

- name: HelixUbuntuQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
value: Ubuntu.1804.Amd64.Open
value: Ubuntu.2004.Amd64.Open
${{ else }}:
value: Ubuntu.1804.Amd64
value: Ubuntu.2004.Amd64

- name: HelixMacOsQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
Expand Down Expand Up @@ -148,23 +148,23 @@ stages:
# Like template `eng/common/templates/jobs/source-build.yml`
- job: Source_Build_Managed
displayName: Source-Build (Managed)
container: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open

${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64
workspace:
clean: all
steps:
- template: /eng/common/templates/steps/source-build.yml
parameters:
platform:
name: 'Managed'
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'

- stage: Windows_Debug_Desktop
dependsOn: Windows_Debug_Build
Expand Down

0 comments on commit 6e5fc9b

Please sign in to comment.