Add pool provider template reference (#82452)
authorJuan Hoyos <19413848+hoyosjs@users.noreply.github.com>
Wed, 22 Feb 2023 06:45:12 +0000 (22:45 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Feb 2023 06:45:12 +0000 (22:45 -0800)
commit7d3a2bbdbc0953dc12c9603090452f43b7a4eb33
treec3f2a25e05c5d94d61a14b71da07760aaf22cdc9
parente107d143700aa3ad950017b814bc1be1906b8a30
Add pool provider template reference (#82452)

Use template to determine pool provider to use.

The provider can't be expanded in the pipeline-with-resources step as the expansion breaks once global variables are consolidated. All variables end up in the global scope correctly, but several expansion points are expanded before assignment - particularly the ones at the pipeline scope - meaning that several parameters derived from them are empty and cause issues in further expansion decisions.
eng/pipelines/common/xplat-setup.yml
eng/pipelines/libraries/enterprise/linux.yml
eng/pipelines/libraries/stress/http.yml
eng/pipelines/libraries/stress/ssl.yml
eng/pipelines/libraries/variables.yml
eng/pipelines/official/jobs/prepare-signed-artifacts.yml
eng/pipelines/official/stages/publish.yml