diff options
author | Matt Davis <nitzmahone@users.noreply.github.com> | 2021-02-10 21:32:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 21:32:59 -0800 |
commit | 4c5ce5a1a9e79a845aff4978cfeb72a0d4ecf7d6 (patch) | |
tree | a1511f836f61f9f662d5b3a3c0231c9a02aa7eeb /.azure-pipelines | |
parent | 8a175f59c939ca29ad56f3fa9edbc37a8656879a (diff) | |
download | ansible-4c5ce5a1a9e79a845aff4978cfeb72a0d4ecf7d6.tar.gz |
module compat for py3.8+ controller (#73423)
* module compat for py3.8+ controller
* replaced internal usages of selinux bindings with internal ctypes binding (allows basic selinux operations from any Python interpreter), plus tests
* added new respawn_module API to allow modules to import Python packages that are only available under a well-known interpreter, plus tests
* added respawn logic to modules that need Python libs from a specific system interpreter (apt, apt_repository, dnf, yum)
minimize internal HAVE_SELINUX usage
spurious junk
pep8
* pylint fixes
* add RHEL8 Python 3.8 testing
* more pylint
* import sanity
* unit tests
* changelog update
* fix a bunch of stuff
* tweak changelog
* fix setup_rpm_repo on EL8
* misc sanity/test fixes
* misc feedback tweaks
* fix import fallback in test module
* fix selinux MU test
* fix dnf tests to avoid python-dependent test packages
* add trailing LFs to aliases
* fix yum tests to avoid test package with Python deps
* hack create_repo for EL6 to create noarch package
Diffstat (limited to '.azure-pipelines')
-rw-r--r-- | .azure-pipelines/azure-pipelines.yml | 12 | ||||
-rw-r--r-- | .azure-pipelines/templates/test.yml | 2 |
2 files changed, 9 insertions, 5 deletions
diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 5ec5f8980a..4ed5dc2be7 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -91,8 +91,10 @@ stages: test: macos/11.1 - name: RHEL 7.9 test: rhel/7.9 - - name: RHEL 8.3 - test: rhel/8.3 + - name: RHEL 8.3 py36 + test: rhel/8.3@3.6 + - name: RHEL 8.3 py38 + test: rhel/8.3@3.8 - name: FreeBSD 11.4 test: freebsd/11.4 - name: FreeBSD 12.2 @@ -170,8 +172,10 @@ stages: test: osx/10.11 - name: RHEL 7.9 test: rhel/7.9 - - name: RHEL 8.3 - test: rhel/8.3 + - name: RHEL 8.3 py36 + test: rhel/8.3@3.6 + - name: RHEL 8.3 py38 + test: rhel/8.3@3.8 - name: FreeBSD 11.4 test: freebsd/11.4 - name: FreeBSD 12.2 diff --git a/.azure-pipelines/templates/test.yml b/.azure-pipelines/templates/test.yml index 5250ed8023..d6a4d5a8b0 100644 --- a/.azure-pipelines/templates/test.yml +++ b/.azure-pipelines/templates/test.yml @@ -9,7 +9,7 @@ parameters: jobs: - ${{ each job in parameters.jobs }}: - - job: test_${{ replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_') }} + - job: test_${{ replace(replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_'), '@', '_') }} displayName: ${{ job.name }} container: default workspace: |