Sync eng/common directory with azure-sdk-tools for PR 10953 (#6633)

* update all eng/common templates or scripts that utilize the old azsdk-pool-* to utilize the unified pool azsdk-pool
* upgrade to target ubuntu 24.04 where applicable

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-06-20 16:00:49 -07:00 committed by GitHub
parent e741c1cdf2
commit d9eacda722
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 11 deletions

View File

@ -27,8 +27,8 @@ stages:
- job: Run
timeoutInMinutes: 120
pool:
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: ubuntu-22.04
name: azsdk-pool
demands: ImageOverride -equals ubuntu-24.04
variables:
CodeownersLinterVersion: '1.0.0-dev.20240926.2'

View File

@ -27,10 +27,10 @@ parameters:
default: []
- name: Pool
type: string
default: azsdk-pool-mms-ubuntu-2204-general
default: azsdk-pool
- name: OsVmImage
type: string
default: ubuntu-22.04
default: ubuntu-24.04
# This parameter is only necessary if there are multiple invocations of this template within the SAME STAGE.
# When that occurs, provide a name other than the default value.
- name: GenerateJobName

View File

@ -1,7 +1,8 @@
jobs:
- job: CreateDocIndex
pool:
name: azsdk-pool-mms-win-2022-general
name: azsdk-pool
demands: ImageOverride -equals windows-2022
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.11'
@ -36,14 +37,14 @@ jobs:
Copy-Item -Path $(Build.SourcesDirectory)/eng/* -Destination ./ -Recurse -Force
echo "##vso[task.setvariable variable=toolPath]$(Build.BinariesDirectory)"
workingDirectory: $(Build.BinariesDirectory)
displayName: Move eng/common to Tool Directory
displayName: Move eng/common to Tool Directory
- task: PublishPipelineArtifact@0
condition: succeeded()
inputs:
artifactName: "Doc.Index"
targetPath: $(Build.ArtifactStagingDirectory)/docfx_project/_site
- pwsh: |
git checkout -b gh-pages-local --track origin/gh-pages-root -f
workingDirectory: $(Build.SourcesDirectory)

View File

@ -25,18 +25,18 @@ stages:
strategy:
matrix:
Windows:
Pool: azsdk-pool-mms-win-2022-general
Pool: azsdk-pool
Image: windows-2022
Linux:
Pool: azsdk-pool-mms-ubuntu-2204-general
Image: ubuntu-22.04
Pool: azsdk-pool
Image: ubuntu-24.04
Mac:
Pool: Azure Pipelines
Image: macos-latest
pool:
name: $(Pool)
vmImage: $(Image)
demands: ImageOverride -equals $(Image)
steps:
- ${{ parameters.PreTestSteps }}