Merged PR 802937: [Draft] Use Azure build cache for linux distributed tests

Use Azure build cache for linux distributed tests
This commit is contained in:
Serge Mera 2024-08-30 22:27:06 +00:00
Родитель 063ac63283
Коммит 38bf05d6df
2 изменённых файлов: 11 добавлений и 6 удалений

Просмотреть файл

@ -1,8 +1,9 @@
parameters:
# The provided pool is expected to have at least one build cache associated to it
- name: pool
type: object
default:
name: BuildXL-DevOpsAgents-Selfhost
name: BuildXL-DevOpsAgents-Selfhost-BuildCache
image: linux-PME-GPT
os: linux
@ -24,11 +25,10 @@ jobs:
enabled: true
workerCount: 1
cache:
storageAccountEndpoint: https://l3bxlselfhost.blob.core.windows.net
managedIdentityClientId: eb694749-b1d6-45bc-b7af-2bd81603968a
cacheType: EphemeralDatacenterWide
# No cache configuration is needed (besides logging the generated conf for debugging purposes).
# The pool running this job is expected to have at least one build cache associated to it, so
# unless specified otherwise, this build will be using it by default
logGeneratedConfiguration: true
# retentionPolicyInDays: {default}
sdl:
credscan:
enabled: false

Просмотреть файл

@ -63,4 +63,9 @@ stages:
jobs:
- template: /.azdo/linux/job-distributed-1espt.yml@self
parameters:
pool: ${{ parameters.pool }}
pool:
# This stage expects a pool with a build cache configured, so harcoding that one
${{ each kvp in parameters.pool }}:
${{ if not(in(kvp.key, 'name')) }}:
${{ kvp.key }}: ${{ kvp.value }}
name: BuildXL-DevOpsAgents-Selfhost-BuildCache