Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 5 additions & 1 deletion .azure-pipelines/sync-alias.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ resources:
type: git
name: internal.wiki

variables:
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml

jobs:
- job: UpdateYaml
displayName: Update resourceManagement.yml
pool: pool-windows-2019
pool:
name: ${{ variables.windows_pool }}
uses:
repositories:
- ServiceContactList
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/templates/variables.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variables:
ubuntu_pool: 'pool-ubuntu-2004'
ubuntu_pool: 'pool-ubuntu-2204'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for not using pool-ubuntu-latest is that Azure PowerShell team has already created pool-ubuntu-2204.

windows_pool: 'pool-windows-2019'
ubuntu_arm64_pool: 'ubuntu-arm64-2004-pool'
ubuntu_arm64_pool: 'pool-ubuntu-latest-arm64'
25 changes: 14 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ pr:
include:
- '*'

variables:
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml

jobs:
- job: CredScan
displayName: "Credential Scan"
pool:
name: 'pool-windows-2019'
name: ${{ variables.windows_pool }}
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: 'Run Credential Scanner'
Expand All @@ -34,7 +37,7 @@ jobs:
- job: PolicyCheck
displayName: "Policy Check"
pool:
name: 'pool-windows-2019'
name: ${{ variables.windows_pool }}
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
displayName: 'Run Policy Check'
Expand All @@ -51,7 +54,7 @@ jobs:
- job: CheckLicenseHeader
displayName: "Check License"
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -67,7 +70,7 @@ jobs:
- job: IndexVerify
displayName: "Verify Extensions Index"
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -84,7 +87,7 @@ jobs:
- job: SourceTests
displayName: "Integration Tests, Build Tests"
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
continueOnError: true
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -143,7 +146,7 @@ jobs:
displayName: "azdev linter on Modified Extensions"
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -168,7 +171,7 @@ jobs:
displayName: "azdev scan ( High Confidence ) on Modified Extensions"
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.11'
Expand Down Expand Up @@ -199,7 +202,7 @@ jobs:
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
continueOnError: true
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.11'
Expand Down Expand Up @@ -228,7 +231,7 @@ jobs:
# displayName: "Verify Ref Docs"
# continueOnError: true
# pool:
# name: 'pool-ubuntu-2004'
# name: ${{ variables.ubuntu_pool }}
# steps:
# - task: UsePythonVersion@0
# displayName: 'Use Python 3.12'
Expand All @@ -245,7 +248,7 @@ jobs:
- job: CheckInit
displayName: "Check Init Files"
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.x'
Expand Down
Loading