1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update testing (#147)

* Remove superfluous requirements file.

* Update RHEL 7.6 to RHEL 7.8 in CI.

* Fix docker install.

* ci_complete
This commit is contained in:
Felix Fontein 2020-04-10 17:26:24 +02:00 committed by GitHub
parent c006eb8a5f
commit 63b6b8a9d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 10 deletions

View file

@ -23,7 +23,7 @@ matrix:
- env: T=aix/7.2/1 - env: T=aix/7.2/1
- env: T=osx/10.11/1 - env: T=osx/10.11/1
- env: T=rhel/7.6/1 - env: T=rhel/7.8/1
- env: T=rhel/8.1/1 - env: T=rhel/8.1/1
- env: T=freebsd/11.1/1 - env: T=freebsd/11.1/1
- env: T=freebsd/12.1/1 - env: T=freebsd/12.1/1
@ -39,7 +39,7 @@ matrix:
- env: T=aix/7.2/2 - env: T=aix/7.2/2
- env: T=osx/10.11/2 - env: T=osx/10.11/2
- env: T=rhel/7.6/2 - env: T=rhel/7.8/2
- env: T=rhel/8.1/2 - env: T=rhel/8.1/2
- env: T=freebsd/11.1/2 - env: T=freebsd/11.1/2
- env: T=freebsd/12.1/2 - env: T=freebsd/12.1/2
@ -55,7 +55,7 @@ matrix:
- env: T=aix/7.2/3 - env: T=aix/7.2/3
- env: T=osx/10.11/3 - env: T=osx/10.11/3
- env: T=rhel/7.6/3 - env: T=rhel/7.8/3
- env: T=rhel/8.1/3 - env: T=rhel/8.1/3
- env: T=freebsd/11.1/3 - env: T=freebsd/11.1/3
- env: T=freebsd/12.1/3 - env: T=freebsd/12.1/3
@ -71,7 +71,7 @@ matrix:
- env: T=aix/7.2/4 - env: T=aix/7.2/4
- env: T=osx/10.11/4 - env: T=osx/10.11/4
- env: T=rhel/7.6/4 - env: T=rhel/7.8/4
- env: T=rhel/8.1/4 - env: T=rhel/8.1/4
- env: T=freebsd/11.1/4 - env: T=freebsd/11.1/4
- env: T=freebsd/12.1/4 - env: T=freebsd/12.1/4
@ -87,7 +87,7 @@ matrix:
- env: T=aix/7.2/5 - env: T=aix/7.2/5
- env: T=osx/10.11/5 - env: T=osx/10.11/5
- env: T=rhel/7.6/5 - env: T=rhel/7.8/5
- env: T=rhel/8.1/5 - env: T=rhel/8.1/5
- env: T=freebsd/11.1/5 - env: T=freebsd/11.1/5
- env: T=freebsd/12.1/5 - env: T=freebsd/12.1/5

View file

@ -1,3 +1,4 @@
---
- name: Get OS version - name: Get OS version
shell: uname -r shell: uname -r
register: os_version register: os_version

View file

@ -1,3 +1,4 @@
---
- name: Add repository - name: Add repository
yum_repository: yum_repository:
file: docker-ce file: docker-ce

View file

@ -1,3 +1,4 @@
---
# The RHEL extras repository must be enabled to provide the container-selinux package. # The RHEL extras repository must be enabled to provide the container-selinux package.
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository # See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository
@ -12,7 +13,8 @@
name: setup_epel name: setup_epel
- name: Enable extras repository for RHEL on AWS - name: Enable extras repository for RHEL on AWS
command: yum-config-manager --enable rhui-REGION-rhel-server-extras # RHEL 7.6 uses rhui-REGION-rhel-server-extras and RHEL 7.7+ use rhui-rhel-7-server-rhui-extras-rpms
command: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
args: args:
warn: no warn: no

View file

@ -1,3 +1,4 @@
---
# The RHEL extras repository must be enabled to provide the container-selinux package. # The RHEL extras repository must be enabled to provide the container-selinux package.
# See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository # See: https://docs.docker.com/engine/installation/linux/docker-ee/rhel/#install-using-the-repository

View file

@ -1,3 +1,4 @@
---
- name: Install docker 17 - name: Install docker 17
community.general.zypper: community.general.zypper:
name: "{{ docker_packages }}" name: "{{ docker_packages }}"

View file

@ -1,3 +1,4 @@
---
- name: Setup Docker - name: Setup Docker
when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6'] when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6']
block: block:

View file

@ -1,4 +0,0 @@
packaging # needed for update-bundled and changelog
sphinx ; python_version >= '3.5' # docs build requires python 3+
sphinx-notfound-page ; python_version >= '3.5' # docs build requires python 3+
straight.plugin ; python_version >= '3.5' # needed for hacking/build-ansible.py which will host changelog generation and requires python 3+