Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .azure-pipelines/templates/variables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
variables:
ubuntu_pool: 'pool-ubuntu-2204'
22 changes: 13 additions & 9 deletions azure-pipelines-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ trigger:
branches:
include:
- '*'

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

jobs:
- job: ExtractMetadata
displayName: 'Extract Metadata'
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: Bash@3
displayName: 'Extract Version'
Expand All @@ -30,7 +34,7 @@ jobs:
dependsOn: ExtractMetadata
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -54,7 +58,7 @@ jobs:

condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand All @@ -75,7 +79,7 @@ jobs:

- job: Unittest
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -132,7 +136,7 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -164,7 +168,7 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -196,7 +200,7 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -228,7 +232,7 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -259,7 +263,7 @@ jobs:
displayName: "Performance Check on Linux"
dependsOn: BuildPythonWheel
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down
12 changes: 8 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ trigger:
branches:
include:
- '*'

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

jobs:
- job: Tox
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
Expand Down Expand Up @@ -44,7 +48,7 @@ jobs:
displayName: 'Extract Metadata'
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: Bash@3
displayName: 'Extract Version'
Expand All @@ -64,7 +68,7 @@ jobs:
dependsOn: ExtractMetadata
condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.9'
Expand All @@ -88,7 +92,7 @@ jobs:

condition: succeeded()
pool:
name: 'pool-ubuntu-2004'
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
Expand Down