Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions eng/pipelines/jobs/update-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ parameters:
- name: dependencyName
type: string
default: ""
- name: poolPriority
type: string
default: ""
- name: updateSteps
type: stepList
default: []
Expand All @@ -13,6 +16,8 @@ jobs:
name: $(default1ESInternalPoolName)
image: $(default1ESInternalPoolImage)
os: linux
${{ if ne(parameters.poolPriority, '') }}:
demands: Priority -equals ${{ parameters.poolPriority }}
steps:
- checkout: self
fetchDepth: 0
Expand Down
6 changes: 6 additions & 0 deletions eng/pipelines/pipelines/sync-internal-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ parameters:
- name: targetBranch
type: string

- name: poolPriority
type: string
default: ""

extends:
template: /eng/docker-tools/templates/1es.yml@self
parameters:
Expand All @@ -31,6 +35,8 @@ extends:
name: $(default1ESInternalPoolName)
image: $(default1ESInternalPoolImage)
os: linux
${{ if ne(parameters.poolPriority, '') }}:
demands: Priority -equals ${{ parameters.poolPriority }}

steps:
- checkout: self
Expand Down
5 changes: 5 additions & 0 deletions eng/pipelines/pipelines/update-dependencies-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ parameters:
type: string
default: ""

- name: poolPriority
type: string
default: ""

extends:
template: /eng/docker-tools/templates/1es.yml@self
parameters:
Expand All @@ -31,6 +35,7 @@ extends:
- template: /eng/pipelines/jobs/update-dependency.yml@self
parameters:
dependencyName: dotnet
poolPriority: ${{ parameters.poolPriority }}
updateSteps:
- ${{ if eq(parameters.stageContainers, '') }}:
- "stageContainers parameter must not be empty.": error
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/release-promotion-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ extends:
stagesTemplate: /eng/pipelines/stages/publish.yml@self
stagesTemplateParameters:
versionsRepoRef: VersionsRepo
poolPriority: High
isStandalonePublish: true
# Whenever staged images are published, we need to override the commit SHA since they were
# staged from an earlier, internal commit. We want the image info's commit URLs to point to
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/release-staging-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ extends:
stagesTemplate: /eng/pipelines/stages/build-and-test.yml@self
stagesTemplateParameters:
isStandaloneBuild: true
poolPriority: High
versionsRepoRef: VersionsRepo
sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }}
noCache: ${{ parameters.noCache }}
Expand Down
5 changes: 5 additions & 0 deletions eng/pipelines/stages/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ parameters:
- name: sourceBuildPipelineRunId
type: string

- name: poolPriority
type: string
default: ""

- name: noCache
type: boolean
default: false
Expand Down Expand Up @@ -47,6 +51,7 @@ stages:
internalProjectName: ${{ parameters.internalProjectName }}
publicProjectName: ${{ parameters.publicProjectName }}
sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }}
poolPriority: ${{ parameters.poolPriority }}
noCache: ${{ parameters.noCache }}
versionsRepoRef: ${{ parameters.versionsRepoRef }}
storageAccountServiceConnection: ${{ parameters.storageAccountServiceConnection }}
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/stages/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ parameters:
- name: linuxAmd64Pool
type: string
default: ""
- name: poolPriority
type: string
default: ""
- name: isStandalonePublish
type: boolean
default: false
Expand Down Expand Up @@ -45,6 +48,7 @@ stages:
isStandalonePublish: ${{ parameters.isStandalonePublish }}
additionalServiceConnections: ${{ parameters.additionalServiceConnections }}
pool: ${{ parameters.linuxAmd64Pool }}
poolPriority: ${{ parameters.poolPriority }}
customPublishInitSteps:
- ${{ parameters.customPublishInitSteps }}
- template: /eng/pipelines/steps/set-public-source-branch-var.yml@self
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/sync-internal-release-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ extends:
targetBranch: "internal/$(Build.SourceBranch)"
# Service connection used to push new branches and submit pull requests.
serviceConnection: "$(updateDepsInt.serviceConnectionName)"
poolPriority: High
1 change: 1 addition & 0 deletions eng/pipelines/update-dependencies-internal-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ extends:
stagingStorageAccount: "dotnetstage"
targetBranch: "$(targetBranch)"
gitServiceConnectionName: "$(updateDepsInt.serviceConnectionName)"
poolPriority: High
Loading