2018-11-05 20:49:58 +00:00
|
|
|
# Python package
|
|
|
|
# Create and test a Python package on multiple Python versions.
|
|
|
|
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
|
|
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
|
|
|
|
|
2021-11-09 19:22:37 +00:00
|
|
|
# User defined variables are also injected as environment variables
|
|
|
|
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables#environment-variables
|
|
|
|
#variables:
|
|
|
|
#ANSIBLE_VERBOSITY: 3
|
|
|
|
|
2018-11-05 20:49:58 +00:00
|
|
|
jobs:
|
2021-12-01 21:01:07 +00:00
|
|
|
- job: Mac1015
|
2020-11-01 04:35:13 +00:00
|
|
|
# vanilla Ansible is really slow
|
|
|
|
timeoutInMinutes: 120
|
2019-02-14 11:17:52 +00:00
|
|
|
steps:
|
|
|
|
- template: azure-pipelines-steps.yml
|
2018-11-05 20:49:58 +00:00
|
|
|
pool:
|
2021-11-10 01:05:37 +00:00
|
|
|
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
|
2020-10-24 23:35:33 +00:00
|
|
|
vmImage: macOS-10.15
|
2018-11-05 20:49:58 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-11-17 22:09:31 +00:00
|
|
|
Mito_27:
|
2020-09-23 03:44:46 +00:00
|
|
|
python.version: '2.7'
|
2021-11-10 01:05:37 +00:00
|
|
|
tox.env: py27-mode_mitogen
|
2021-12-01 21:01:07 +00:00
|
|
|
Mito_36:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen
|
2022-04-20 15:27:00 +00:00
|
|
|
Mito_310:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen
|
2021-11-10 01:05:37 +00:00
|
|
|
|
2020-09-27 17:15:39 +00:00
|
|
|
# TODO: test python3, python3 tests are broken
|
2021-11-17 22:09:31 +00:00
|
|
|
Loc_27_210:
|
2020-09-27 17:15:39 +00:00
|
|
|
python.version: '2.7'
|
2021-11-17 22:09:31 +00:00
|
|
|
tox.env: py27-mode_localhost-ansible2.10
|
|
|
|
Loc_27_4:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_localhost-ansible4
|
2018-11-05 21:09:54 +00:00
|
|
|
|
2020-11-01 03:30:17 +00:00
|
|
|
# NOTE: this hangs when ran in Ubuntu 18.04
|
2021-11-17 22:09:31 +00:00
|
|
|
Van_27_210:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_localhost-ansible2.10
|
|
|
|
STRATEGY: linear
|
|
|
|
ANSIBLE_SKIP_TAGS: resource_intensive
|
|
|
|
Van_27_4:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_localhost-ansible4
|
2020-11-01 03:30:17 +00:00
|
|
|
STRATEGY: linear
|
2021-01-20 20:58:35 +00:00
|
|
|
ANSIBLE_SKIP_TAGS: resource_intensive
|
2020-11-01 03:30:17 +00:00
|
|
|
|
2021-12-15 12:07:00 +00:00
|
|
|
- job: Mac11
|
2021-12-01 21:01:07 +00:00
|
|
|
# vanilla Ansible is really slow
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
steps:
|
|
|
|
- template: azure-pipelines-steps.yml
|
|
|
|
pool:
|
|
|
|
# https://github.com/actions/virtual-environments/blob/main/images/macos/
|
2021-12-15 12:07:00 +00:00
|
|
|
vmImage: macOS-11
|
2021-12-01 21:01:07 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
Mito_27:
|
|
|
|
tox.env: py27-mode_mitogen
|
|
|
|
Mito_37:
|
|
|
|
python.version: '3.7'
|
|
|
|
tox.env: py37-mode_mitogen
|
2022-04-20 15:27:00 +00:00
|
|
|
Mito_310:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen
|
2021-12-01 21:01:07 +00:00
|
|
|
|
|
|
|
# TODO: test python3, python3 tests are broken
|
|
|
|
Loc_27_210:
|
|
|
|
tox.env: py27-mode_localhost-ansible2.10
|
|
|
|
Loc_27_4:
|
|
|
|
tox.env: py27-mode_localhost-ansible4
|
|
|
|
|
|
|
|
# NOTE: this hangs when ran in Ubuntu 18.04
|
|
|
|
Van_27_210:
|
|
|
|
tox.env: py27-mode_localhost-ansible2.10
|
|
|
|
STRATEGY: linear
|
|
|
|
ANSIBLE_SKIP_TAGS: resource_intensive
|
|
|
|
Van_27_4:
|
|
|
|
tox.env: py27-mode_localhost-ansible4
|
|
|
|
STRATEGY: linear
|
|
|
|
ANSIBLE_SKIP_TAGS: resource_intensive
|
2019-02-14 11:17:52 +00:00
|
|
|
|
|
|
|
- job: Linux
|
|
|
|
pool:
|
2021-11-10 01:05:37 +00:00
|
|
|
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
|
2020-02-20 23:42:30 +00:00
|
|
|
vmImage: "Ubuntu 18.04"
|
2019-02-14 11:17:52 +00:00
|
|
|
steps:
|
|
|
|
- template: azure-pipelines-steps.yml
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-11-17 22:09:31 +00:00
|
|
|
Mito_27_centos6:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_centos6
|
|
|
|
Mito_27_centos7:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_centos7
|
|
|
|
Mito_27_centos8:
|
2018-11-05 21:09:54 +00:00
|
|
|
python.version: '2.7'
|
2021-11-17 22:09:31 +00:00
|
|
|
tox.env: py27-mode_mitogen-distro_centos8
|
|
|
|
Mito_27_debian9:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian9
|
|
|
|
Mito_27_debian10:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian10
|
|
|
|
Mito_27_debian11:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian11
|
|
|
|
Mito_27_ubuntu1604:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu1604
|
|
|
|
Mito_27_ubuntu1804:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu1804
|
|
|
|
Mito_27_ubuntu2004:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu2004
|
2018-11-05 21:09:54 +00:00
|
|
|
|
2021-11-17 22:09:31 +00:00
|
|
|
Mito_36_centos6:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_centos6
|
|
|
|
Mito_36_centos7:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_centos7
|
|
|
|
Mito_36_centos8:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_centos8
|
|
|
|
Mito_36_debian9:
|
2018-11-05 20:49:58 +00:00
|
|
|
python.version: '3.6'
|
2021-11-17 22:09:31 +00:00
|
|
|
tox.env: py36-mode_mitogen-distro_debian9
|
|
|
|
Mito_36_debian10:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_debian10
|
|
|
|
Mito_36_debian11:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_debian11
|
|
|
|
Mito_36_ubuntu1604:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_ubuntu1604
|
|
|
|
Mito_36_ubuntu1804:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_ubuntu1804
|
|
|
|
Mito_36_ubuntu2004:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_mitogen-distro_ubuntu2004
|
2020-05-26 00:22:43 +00:00
|
|
|
|
2022-04-20 15:27:00 +00:00
|
|
|
Mito_310_centos6:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_centos6
|
|
|
|
Mito_310_centos7:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_centos7
|
|
|
|
Mito_310_centos8:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_centos8
|
|
|
|
Mito_310_debian9:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_debian9
|
|
|
|
Mito_310_debian10:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_debian10
|
|
|
|
Mito_310_debian11:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_debian11
|
|
|
|
Mito_310_ubuntu1604:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_ubuntu1604
|
|
|
|
Mito_310_ubuntu1804:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_ubuntu1804
|
|
|
|
Mito_310_ubuntu2004:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_mitogen-distro_ubuntu2004
|
2018-11-05 20:49:58 +00:00
|
|
|
|
2021-11-17 22:09:31 +00:00
|
|
|
Ans_27_210:
|
|
|
|
python.version: '2.7'
|
|
|
|
tox.env: py27-mode_ansible-ansible2.10
|
|
|
|
Ans_27_4:
|
2020-09-23 02:26:33 +00:00
|
|
|
python.version: '2.7'
|
2021-11-17 22:09:31 +00:00
|
|
|
tox.env: py27-mode_ansible-ansible4
|
2020-09-23 02:26:33 +00:00
|
|
|
|
2021-11-17 22:09:31 +00:00
|
|
|
Ans_36_210:
|
2021-11-10 01:05:37 +00:00
|
|
|
python.version: '3.6'
|
2021-11-17 22:09:31 +00:00
|
|
|
tox.env: py36-mode_ansible-ansible2.10
|
|
|
|
Ans_36_4:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_ansible-ansible4
|
2021-01-15 19:34:44 +00:00
|
|
|
|
2022-04-20 15:27:00 +00:00
|
|
|
Ans_310_210:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_ansible-ansible2.10
|
|
|
|
Ans_310_3:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_ansible-ansible3
|
|
|
|
Ans_310_4:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_ansible-ansible4
|
|
|
|
Ans_310_5:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_ansible-ansible5
|
2022-06-02 16:48:10 +00:00
|
|
|
Ans_310_6:
|
|
|
|
python.version: '3.10'
|
|
|
|
tox.env: py310-mode_ansible-ansible6
|