[stable-1] Update CI (#1790)

* Update CI (#1782)

* Update targets for CI for devel branch; move some targets to stable-2.10.

* Skipping test on RHEL 8.3 (it is already skipped on RHEL 8.2).

* Linting.

* Shut 2.9/2.10 pylint complaints up.

* More sanity.

* Bump CI to FreeBSD 11.4, 12.2. (#1657)

* Bump CI to FreeBSD 11.4, 12.2.

* Make FreeBSD Python package selection more future-proof.

(cherry picked from commit c1eb0a232c)

* Add macOS 11.1 tests (#1619)

* Add macOS 11.1 tests.

* Hopefully fix virtualenv.sh problems.

(cherry picked from commit 74174f11ff)

* Skip all postgresql tests on FreeBSD.

* Skip kubevirt inventory tests on macOS.
This commit is contained in:
Felix Fontein 2021-02-11 16:32:47 +01:00 committed by GitHub
commit 91acc44c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 73 additions and 63 deletions

View file

@ -2,6 +2,7 @@
set -eux
export ANSIBLE_TEST_PREFER_VENV=1 # see https://github.com/ansible/ansible/pull/73000#issuecomment-757012395; can be removed once Ansible 2.9 and ansible-base 2.10 support has been dropped
source virtualenv.sh
# Requirements have to be installed prior to running ansible-playbook

View file

@ -2,6 +2,7 @@
set -eux
export ANSIBLE_TEST_PREFER_VENV=1 # see https://github.com/ansible/ansible/pull/73000#issuecomment-757012395; can be removed once Ansible 2.9 and ansible-base 2.10 support has been dropped
source virtualenv.sh
# Requirements have to be installed prior to running ansible-playbook

View file

@ -1 +1,2 @@
shippable/posix/group2
skip/macos

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -4,3 +4,4 @@ postgresql_db
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group5
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -3,3 +3,4 @@ shippable/posix/group4
skip/aix
skip/osx
skip/macos
skip/freebsd

View file

@ -1,3 +1,3 @@
pyopenssl_package_name: py27-openssl
pyopenssl_package_name_python3: py36-openssl
pyopenssl_package_name_python3: "py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-openssl"
openssl_package_name: openssl

View file

@ -1,6 +1,6 @@
postgresql_packages:
- postgresql95-server
- py36-psycopg2
- "py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-psycopg2"
pg_dir: /usr/local/pgsql/data
pg_hba_location: "{{ pg_dir }}/pg_hba.conf"

View file

@ -1,6 +1,6 @@
postgresql_packages:
- postgresql95-server
- py36-psycopg2
- "py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-psycopg2"
pg_dir: /usr/local/pgsql/data
pg_hba_location: "{{ pg_dir }}/pg_hba.conf"

View file

@ -1,6 +1,6 @@
postgresql_packages:
- postgresql11-server
- py36-psycopg2
- "py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-psycopg2"
pg_dir: /var/db/postgres/data11
pg_hba_location: "{{ pg_dir }}/pg_hba.conf"

View file

@ -6,7 +6,7 @@
- name: Install lxml (FreeBSD)
package:
name: '{{ "py27-lxml" if ansible_python.version.major == 2 else "py36-lxml" }}'
name: 'py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-lxml'
state: present
when: ansible_os_family == "FreeBSD"