Skip to content

Commit

Permalink
{CI} Migrate pipeline to new organization azclitools (Azure#340)
Browse files Browse the repository at this point in the history
* update pipeline

* drop python3.6

* switch to ubuntu 20.04
  • Loading branch information
wangzelin007 authored Sep 19, 2022
1 parent 5b56891 commit 134030c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 28 deletions.
30 changes: 8 additions & 22 deletions azure-pipelines-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
displayName: 'Extract Metadata'
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
steps:
- task: Bash@3
displayName: 'Extract Version'
Expand All @@ -30,7 +30,7 @@ jobs:
dependsOn: ExtractMetadata
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
Expand All @@ -53,11 +53,9 @@ jobs:
timeoutInMinutes: 10

pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -99,11 +97,9 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -133,11 +129,9 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -167,11 +161,9 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -201,11 +193,9 @@ jobs:
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -234,11 +224,9 @@ jobs:
displayName: "Performance Check on Linux"
dependsOn: BuildPythonWheel
pool:
vmImage: 'ubuntu-18.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
Expand Down Expand Up @@ -276,8 +264,6 @@ jobs:
# vmImage: 'vs2017-win2016'
# strategy:
# matrix:
# Python36:
# python.version: '3.6'
# Python38:
# python.version: '3.8'
# steps:
Expand Down
9 changes: 3 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ jobs:
- job: Tox
condition: succeeded()
pool:
vmImage: 'ubuntu-20.04'
name: 'pool-ubuntu-2004'
strategy:
matrix:
Python36:
python.version: '3.6'
tox_env: 'py36'
Python37:
python.version: '3.7'
tox_env: 'py37'
Expand Down Expand Up @@ -44,7 +41,7 @@ jobs:
displayName: 'Extract Metadata'
condition: succeeded()
pool:
vmImage: 'ubuntu-20.04'
name: 'pool-ubuntu-2004'
steps:
- task: Bash@3
displayName: 'Extract Version'
Expand All @@ -64,7 +61,7 @@ jobs:
dependsOn: ExtractMetadata
condition: succeeded()
pool:
vmImage: 'ubuntu-20.04'
name: 'pool-ubuntu-2004'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.9'
Expand Down

0 comments on commit 134030c

Please sign in to comment.