Trying to pass the containers directly to the template.

This commit is contained in:
Michael Yanni 2024-03-12 11:20:55 -07:00
parent d159964710
commit 9dbffb5ec3
2 changed files with 2 additions and 1 deletions

View file

@ -60,6 +60,7 @@ resources:
extends: extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters: parameters:
containers: ${{ resources.containers }}
sdl: sdl:
sourceAnalysisPool: sourceAnalysisPool:
name: $(DncEngInternalBuildPool) name: $(DncEngInternalBuildPool)

View file

@ -76,7 +76,7 @@ jobs:
name: PGO_${{ parameters.agentOs }}_${{ parameters.jobName }} name: PGO_${{ parameters.agentOs }}_${{ parameters.jobName }}
${{ if not(parameters.pgoInstrument) }}: ${{ if not(parameters.pgoInstrument) }}:
name: ${{ parameters.agentOs }}_${{ parameters.jobName }} name: ${{ parameters.agentOs }}_${{ parameters.jobName }}
# Set up the pool/machine info to be used based on the Agent OS # Set up the pool/machine info to be used based on the Agent OS
${{ if eq(parameters.agentOs, 'Windows_NT') }}: ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
enableMicrobuild: true enableMicrobuild: true