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:
parent
e741c1cdf2
commit
d9eacda722
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user