Skip to content

Commit f6d8ebd

Browse files
RyAuldCopilot
andcommitted
fix: restore isCustom pool config - required for MS-hosted agents
Without isCustom, OneBranch tries to run in a container using LinuxContainerImage variable which isn't configured. isCustom: true tells OneBranch to use MS-hosted agents directly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d57526d commit f6d8ebd

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.Pipelines/pipeline-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ extends:
7979
displayName: 'Build sdist + wheel (Python 3.12)'
8080
pool:
8181
type: linux
82+
isCustom: true
83+
vmImage: 'ubuntu-latest'
8284
variables:
8385
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
8486
steps:
@@ -119,6 +121,8 @@ extends:
119121
displayName: 'Upload to test.pypi.org'
120122
pool:
121123
type: linux
124+
isCustom: true
125+
vmImage: 'ubuntu-latest'
122126
variables:
123127
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
124128
steps:

.Pipelines/template-pipeline-stages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ stages:
4242
displayName: 'Check version matches source'
4343
pool:
4444
type: linux
45+
isCustom: true
46+
vmImage: 'ubuntu-latest'
4547
variables:
4648
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
4749
steps:
@@ -85,6 +87,8 @@ stages:
8587
displayName: 'pytest'
8688
pool:
8789
type: linux
90+
isCustom: true
91+
vmImage: 'ubuntu-latest'
8892
timeoutInMinutes: 30
8993
variables:
9094
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
@@ -186,6 +190,8 @@ stages:
186190
displayName: 'pytest'
187191
pool:
188192
type: linux
193+
isCustom: true
194+
vmImage: 'ubuntu-latest'
189195
timeoutInMinutes: 60
190196
variables:
191197
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ extends:
7979
displayName: 'Performance benchmarks (Python 3.9)'
8080
pool:
8181
type: linux
82+
isCustom: true
83+
vmImage: 'ubuntu-latest'
8284
variables:
8385
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
8486
steps:

0 commit comments

Comments
 (0)