Skip to content

Commit

Permalink
fix pool
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Jul 25, 2024
1 parent f3b8433 commit 334dcce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
6 changes: 4 additions & 2 deletions eng/pipeline/stages/go-builder-matrix-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ stages:
- { os: windows, arch: amd64, config: buildandpack }
- { os: linux, arch: arm, hostArch: amd64, config: buildandpack }
- { os: linux, arch: arm64, hostArch: amd64, config: buildandpack }
- { os: darwin, arch: amd64, config: buildandpack }
- { os: darwin, arch: arm64, hostArch: amd64, config: buildandpack }
- ${{ if parameters.includeArm64Host }}:
- { os: linux, arch: arm64, config: buildandpack }
- ${{ if parameters.innerloop }}:
Expand All @@ -88,8 +90,8 @@ stages:
- { experiment: cngcrypto, os: windows, arch: amd64, config: test, fips: true }
# Test that buildandpack works on Windows x86-32, but don't release it.
- { os: windows, hostArch: amd64, arch: 386, config: buildandpack }
- { os: macos, arch: amd64, config: devscript }
- { os: macos, arch: amd64, config: test }
- { os: darwin, arch: amd64, config: devscript }
- { os: darwin, arch: amd64, config: test }
- ${{ if parameters.outerloop }}:
# Upstream builders.
# - { os: linux, arch: amd64, config: clang } https://github.com/microsoft/go/issues/342
Expand Down
4 changes: 3 additions & 1 deletion eng/pipeline/stages/pool-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ stages:
parameters:
${{ insert }}: ${{ parameters }}

${{ if eq(parameters.hostArch, 'arm64') }}:
${{ if eq(parameters.os, 'darwin') }}:
name: Azure Pipelines # use the default AzDo hosted pool
${{ elseif and(eq(parameters.hostArch, 'arm64'), eq(parameters.os, 'linux')) }}:
name: Docker-Linux-Arm-Internal
${{ else }}:
${{ if parameters.public }}:
Expand Down
12 changes: 3 additions & 9 deletions eng/pipeline/stages/pool-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ stages:
demands: ImageOverride -equals 1es-ubuntu-2004
os: linux

${{ elseif eq(parameters.os, 'macos') }}:
${{ if parameters.official }}:
image: osx.14.amd64
os: macos
${{ elseif parameters.public }}:
demands: ImageOverride -equals osx.14.amd64.open
${{ else }}:
demands: ImageOverride -equals osx.14.amd64
os: macos
${{ elseif eq(parameters.os, 'darwin') }}:
# https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software
vmImage: 'macos-14'

0 comments on commit 334dcce

Please sign in to comment.