Skip to content

Commit 2446816

Browse files
committed
update live.tests.yml and ci.tests.yml pas image when not mac, but vmImage when mac
1 parent 24bce88 commit 2446816

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

eng/pipelines/templates/jobs/live.tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ jobs:
8484

8585
pool:
8686
name: $(Pool)
87-
vmImage: $(OSVmImage)
87+
# 1es pipeline templates converts `image` to demands: ImageOverride under the hood
88+
# which is incompatible with image selection in the default non-1es hosted pools
89+
${{ if eq(parameters.OSName, 'macOS' }}:
90+
vmImage: $(OSVmImage)
91+
${{ else }}:
92+
image: $(OSVmImage)
8893
os: ${{ parameters.OSName }}
8994

9095
${{ if eq(parameters.UsePlatformContainer, 'true') }}:

0 commit comments

Comments
 (0)