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:
parent
50803471c7
commit
08038a8205
2 changed files with 9 additions and 14 deletions
20
.vsts-ci.yml
20
.vsts-ci.yml
|
@ -27,19 +27,16 @@ variables:
|
||||||
- name: _PublishUsingPipelines
|
- name: _PublishUsingPipelines
|
||||||
value: true
|
value: true
|
||||||
- name: _InternalRuntimeDownloadArgs
|
- 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.
|
# 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
|
# See: https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/650/MicroBuild-Signing?anchor=high-level-steps-to-enable-signing
|
||||||
- name: TeamName
|
- name: TeamName
|
||||||
value: DotNetCLI
|
value: DotNetCLI
|
||||||
|
|
||||||
# Variable Groups
|
# Variable Groups
|
||||||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
- group: DotNetBuilds storage account read tokens
|
||||||
- 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)
|
|
||||||
|
|
||||||
# Variable Templates
|
# Variable Templates
|
||||||
- template: /eng/common/templates-official/variables/pool-providers.yml
|
- template: /eng/common/templates-official/variables/pool-providers.yml
|
||||||
|
@ -67,12 +64,9 @@ extends:
|
||||||
# Build Retry Configuration
|
# Build Retry Configuration
|
||||||
- job: Publish_Build_Configuration
|
- job: Publish_Build_Configuration
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
name: $(DncEngInternalBuildPool)
|
||||||
name: $(DncEngPublicBuildPool)
|
image: 1es-windows-2022-pt
|
||||||
demands: ImageOverride -equals windows.vs2022preview.amd64.open
|
os: windows
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
|
||||||
name: $(DncEngInternalBuildPool)
|
|
||||||
demands: ImageOverride -equals windows.vs2022preview.amd64
|
|
||||||
steps:
|
steps:
|
||||||
- task: 1ES.PublishPipelineArtifact@1
|
- task: 1ES.PublishPipelineArtifact@1
|
||||||
displayName: Publish Build Config
|
displayName: Publish Build Config
|
||||||
|
|
|
@ -87,7 +87,8 @@ jobs:
|
||||||
${{ if eq(parameters.agentOs, 'Linux') }}:
|
${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||||
pool:
|
pool:
|
||||||
name: $(DncEngInternalBuildPool)
|
name: $(DncEngInternalBuildPool)
|
||||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
image: 1es-ubuntu-2204-pt
|
||||||
|
os: linux
|
||||||
container: ${{ parameters.container }}
|
container: ${{ parameters.container }}
|
||||||
${{ if eq(parameters.agentOs, 'Darwin') }}:
|
${{ if eq(parameters.agentOs, 'Darwin') }}:
|
||||||
pool:
|
pool:
|
||||||
|
|
Loading…
Reference in a new issue