|
|
|
# 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
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- "*"
|
|
|
|
exclude:
|
|
|
|
- docs-master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: mac12
|
|
|
|
# vanilla Ansible is really slow
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
steps:
|
|
|
|
- template: azure-pipelines-steps.yml
|
|
|
|
pool:
|
|
|
|
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
|
|
|
|
vmImage: macOS-12
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
Mito_312:
|
|
|
|
tox.env: py312-mode_mitogen
|
|
|
|
Loc_312_9:
|
|
|
|
tox.env: py312-mode_localhost-ansible9
|
|
|
|
Van_312_9:
|
|
|
|
tox.env: py312-mode_localhost-ansible9-strategy_linear
|
|
|
|
|
|
|
|
- job: Linux
|
|
|
|
pool:
|
|
|
|
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md
|
|
|
|
vmImage: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- template: azure-pipelines-steps.yml
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
Mito_27_centos6:
|
|
|
|
tox.env: py27-mode_mitogen-distro_centos6
|
|
|
|
Mito_27_centos7:
|
|
|
|
tox.env: py27-mode_mitogen-distro_centos7
|
|
|
|
Mito_27_centos8:
|
|
|
|
tox.env: py27-mode_mitogen-distro_centos8
|
|
|
|
Mito_27_debian9:
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian9
|
|
|
|
Mito_27_debian10:
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian10
|
|
|
|
Mito_27_debian11:
|
|
|
|
tox.env: py27-mode_mitogen-distro_debian11
|
|
|
|
Mito_27_ubuntu1604:
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu1604
|
|
|
|
Mito_27_ubuntu1804:
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu1804
|
|
|
|
Mito_27_ubuntu2004:
|
|
|
|
tox.env: py27-mode_mitogen-distro_ubuntu2004
|
|
|
|
|
|
|
|
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:
|
|
|
|
python.version: '3.6'
|
|
|
|
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
|
|
|
|
|
|
|
|
Mito_312_centos6:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_centos6
|
|
|
|
Mito_312_centos7:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_centos7
|
|
|
|
Mito_312_centos8:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_centos8
|
|
|
|
Mito_312_debian9:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_debian9
|
|
|
|
Mito_312_debian10:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_debian10
|
|
|
|
Mito_312_debian11:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_debian11
|
|
|
|
Mito_312_ubuntu1604:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_ubuntu1604
|
|
|
|
Mito_312_ubuntu1804:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_ubuntu1804
|
|
|
|
Mito_312_ubuntu2004:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_mitogen-distro_ubuntu2004
|
|
|
|
|
|
|
|
Ans_27_210:
|
|
|
|
tox.env: py27-mode_ansible-ansible2.10
|
|
|
|
Ans_27_4:
|
|
|
|
tox.env: py27-mode_ansible-ansible4
|
|
|
|
|
|
|
|
Ans_36_210:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_ansible-ansible2.10
|
|
|
|
Ans_36_4:
|
|
|
|
python.version: '3.6'
|
|
|
|
tox.env: py36-mode_ansible-ansible4
|
|
|
|
|
|
|
|
Ans_311_210:
|
|
|
|
python.version: '3.11'
|
|
|
|
tox.env: py311-mode_ansible-ansible2.10
|
|
|
|
Ans_311_3:
|
|
|
|
python.version: '3.11'
|
|
|
|
tox.env: py311-mode_ansible-ansible3
|
|
|
|
Ans_311_4:
|
|
|
|
python.version: '3.11'
|
|
|
|
tox.env: py311-mode_ansible-ansible4
|
|
|
|
Ans_311_5:
|
|
|
|
python.version: '3.11'
|
|
|
|
tox.env: py311-mode_ansible-ansible5
|
|
|
|
Ans_312_6:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_ansible-ansible6
|
|
|
|
Ans_312_7:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_ansible-ansible7
|
|
|
|
Ans_312_8:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_ansible-ansible8
|
|
|
|
Ans_312_9:
|
|
|
|
python.version: '3.12'
|
|
|
|
tox.env: py312-mode_ansible-ansible9
|