Skip to content

Commit afdf330

Browse files
authored
Switched the fast-track PR check to run on an AZL 3.0 agent pool. (#13661)
1 parent afd4e5c commit afdf330

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

.pipelines/prchecks/PackageBuildPRCheck.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ parameters:
1111
type: object
1212
default:
1313
- name: "AMD64"
14-
agentPool: "$(DEV_AMD64_Managed)"
14+
agentPool: "$(DEV_AMD64_Managed_NoUMI_AZL3)"
1515
maxCPUs: "$(($(nproc) / 2))"
1616
rawToolchainCacheURL: "$(rawToolchainCacheURL_AMD64_2.0)"
1717
rawToolchainExpectedHash: "$(rawToolchainCacheHash_AMD64_2.0)"
1818
- name: "ARM64"
19-
agentPool: "$(DEV_ARM64_Managed)"
19+
agentPool: "$(DEV_ARM64_Managed_NoUMI_AZL3)"
2020
maxCPUs: "$(($(nproc) / 3))"
2121
rawToolchainCacheURL: "$(rawToolchainCacheURL_ARM64_2.0)"
2222
rawToolchainExpectedHash: "$(rawToolchainCacheHash_ARM64_2.0)"
@@ -63,6 +63,13 @@ extends:
6363
ob_artifactBaseName: $(toolchainArtifactNameBase)_${{ configuration.name }}_$(System.JobAttempt)
6464
ob_outputDirectory: $(Build.ArtifactStagingDirectory)
6565
steps:
66+
# Making sure all pip installations are using the authorized feed.
67+
- task: PipAuthenticate@1
68+
displayName: Enable internal pip feed
69+
inputs:
70+
onlyAddExtraIndex: false
71+
artifactFeeds: "MarinerFeed"
72+
6673
- template: .pipelines/templates/RawToolchainDownload.yml@self
6774
parameters:
6875
rawToolchainCacheURL: ${{ configuration.rawToolchainCacheURL }}
@@ -113,6 +120,13 @@ extends:
113120
toolchainArtifactName: $[ stageDependencies.Toolchain_${{ configuration.name }}.Build.outputs['ToolchainArtifactName.toolchainArtifactName'] ]
114121
toolchainTarballName: $[ stageDependencies.Toolchain_${{ configuration.name }}.Build.outputs['ToolchainArtifactName.toolchainTarballName'] ]
115122
steps:
123+
# Making sure all pip installations are using the authorized feed.
124+
- task: PipAuthenticate@1
125+
displayName: Enable internal pip feed
126+
inputs:
127+
onlyAddExtraIndex: false
128+
artifactFeeds: "MarinerFeed"
129+
116130
- task: DownloadPipelineArtifact@2
117131
displayName: "Download toolchain"
118132
inputs:
@@ -165,6 +179,13 @@ extends:
165179
toolchainArtifactName: $[ stageDependencies.Toolchain_${{ configuration.name }}.Build.outputs['ToolchainArtifactName.toolchainArtifactName'] ]
166180
toolchainTarballName: $[ stageDependencies.Toolchain_${{ configuration.name }}.Build.outputs['ToolchainArtifactName.toolchainTarballName'] ]
167181
steps:
182+
# Making sure all pip installations are using the authorized feed.
183+
- task: PipAuthenticate@1
184+
displayName: Enable internal pip feed
185+
inputs:
186+
onlyAddExtraIndex: false
187+
artifactFeeds: "MarinerFeed"
188+
168189
- task: DownloadPipelineArtifact@2
169190
displayName: "Download toolchain"
170191
inputs:
@@ -209,6 +230,13 @@ extends:
209230
rpmsArtifactName: $[ stageDependencies.RPMs_${{ configuration.name }}.BuildAndTest.outputs['RPMsArtifactName.rpmsArtifactName'] ]
210231
rpmsTarballName: $[ stageDependencies.RPMs_${{ configuration.name }}.BuildAndTest.outputs['RPMsArtifactName.rpmsTarballName'] ]
211232
steps:
233+
# Making sure all pip installations are using the authorized feed.
234+
- task: PipAuthenticate@1
235+
displayName: Enable internal pip feed
236+
inputs:
237+
onlyAddExtraIndex: false
238+
artifactFeeds: "MarinerFeed"
239+
212240
- task: DownloadPipelineArtifact@2
213241
displayName: "Download RPMs tarball"
214242
inputs:

.pipelines/templates/PackageTestResultsAnalysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ parameters:
3232
default: "$(Agent.TempDirectory)"
3333

3434
steps:
35-
- bash: sudo tdnf install -y python3-junit-xml
35+
- bash: pip3 install --user junit_xml==1.9
3636
retryCountOnTaskFailure: 3
3737
displayName: "Install Python dependencies"
3838

0 commit comments

Comments
 (0)