Internal-only condition cleanup for some variables. Fixed another Windows agent to PT agent. Fixed Ubuntu agent to PT Ubuntu agent.

This commit is contained in:
Michael Yanni 2024-03-08 13:58:01 -08:00
parent 50803471c7
commit 08038a8205
2 changed files with 9 additions and 14 deletions

View file

@ -27,19 +27,16 @@ variables:
- name: _PublishUsingPipelines
value: true
- name: _InternalRuntimeDownloadArgs
value: ''
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
# Only used for tracking purposes in MicroBuild tasks.
# See: https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/650/MicroBuild-Signing?anchor=high-level-steps-to-enable-signing
- name: TeamName
value: DotNetCLI
# Variable Groups
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- group: DotNetBuilds storage account read tokens
- name: _InternalRuntimeDownloadArgs
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
- group: DotNetBuilds storage account read tokens
# Variable Templates
- template: /eng/common/templates-official/variables/pool-providers.yml
@ -67,12 +64,9 @@ extends:
# Build Retry Configuration
- job: Publish_Build_Configuration
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022preview.amd64.open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals windows.vs2022preview.amd64
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022-pt
os: windows
steps:
- task: 1ES.PublishPipelineArtifact@1
displayName: Publish Build Config

View file

@ -87,7 +87,8 @@ jobs:
${{ if eq(parameters.agentOs, 'Linux') }}:
pool:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
image: 1es-ubuntu-2204-pt
os: linux
container: ${{ parameters.container }}
${{ if eq(parameters.agentOs, 'Darwin') }}:
pool: