Update packages and list of supported platforms (#350)

*   Update Molecule to `3.2.0` and Docker Python SDK to `4.4.0`.
*   Add Alpine `3.12` to supported platforms for NGINX Plus.
*   Remove Alpine `3.9` and CentOS/RHEL `6` from supported platforms due to EOL.
This commit is contained in:
Alessandro Fael Garcia 2020-12-09 15:07:24 +01:00 committed by GitHub
parent 6645e0856a
commit c2b8eb71a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 24 additions and 98 deletions

9
.gitignore vendored
View File

@ -5,13 +5,16 @@
*~ *~
\#* \#*
# OS Specific # OS Specific #
###############
Thumbs.db Thumbs.db
.DS_Store .DS_Store
.vscode .vscode
# Ansible specific # Ansible specific #
####################
*.retry *.retry
# Python specific # Python specific #
###################
__pycache__ __pycache__

View File

@ -73,8 +73,8 @@ install:
- pip install ansible==2.10.3 - pip install ansible==2.10.3
- pip install ansible-lint==4.3.7 - pip install ansible-lint==4.3.7
- pip install yamllint==1.25.0 - pip install yamllint==1.25.0
- pip install 'molecule[docker]'==3.1.5 - pip install 'molecule[docker]'==3.2.0
- pip install docker==4.3.1 - pip install docker==4.4.0
script: script:
- travis_wait 50 molecule test -s $scenario - travis_wait 50 molecule test -s $scenario
notifications: notifications:

View File

@ -1,5 +1,13 @@
# Changelog # Changelog
## 0.18.2 (Unreleased)
ENHANCEMENTS:
* Update Molecule to `3.2.0` and Docker Python SDK to `4.4.0`.
* Add Alpine `3.12` to supported platforms for NGINX Plus.
* Remove Alpine `3.9` and CentOS/RHEL `6` from supported platforms due to EOL.
## 0.18.1 (November 17, 2020) ## 0.18.1 (November 17, 2020)
ENHANCEMENTS: ENHANCEMENTS:

View File

@ -47,19 +47,16 @@ The NGINX Ansible role supports all platforms supported by [NGINX Open Source](h
```yaml ```yaml
Alpine: Alpine:
- 3.9
- 3.10 - 3.10
- 3.11 - 3.11
- 3.12 - 3.12
CentOS: CentOS:
- 6
- 7.4+ - 7.4+
- 8 - 8
Debian: Debian:
- stretch - stretch
- buster - buster
Red Hat: Red Hat:
- 6
- 7.4+ - 7.4+
- 8 - 8
SUSE/SLES: SUSE/SLES:
@ -76,15 +73,14 @@ Ubuntu:
```yaml ```yaml
Alpine: Alpine:
- 3.9
- 3.10 - 3.10
- 3.11 - 3.11
- 3.12
Amazon Linux: Amazon Linux:
- 2018.03 - 2018.03
Amazon Linux 2: Amazon Linux 2:
- any - any
CentOS: CentOS:
- 6.5+
- 7.4+ - 7.4+
- 8 - 8
Debian: Debian:
@ -97,7 +93,6 @@ Oracle Linux:
- 6.5+ - 6.5+
- 7.4+ - 7.4+
Red Hat: Red Hat:
- 6.5+
- 7.4+ - 7.4+
- 8 - 8
SUSE/SLES: SUSE/SLES:
@ -116,13 +111,11 @@ Ubuntu:
Amazon Linux: Amazon Linux:
- 2017.09 - 2017.09
CentOS: CentOS:
- 6
- 7 - 7
Debian: Debian:
- jessie - jessie
- stretch - stretch
Red Hat: Red Hat:
- 6
- 7 - 7
Ubuntu: Ubuntu:
- xenial - xenial

View File

@ -25,7 +25,6 @@ galaxy_info:
- buster - buster
- name: EL - name: EL
versions: versions:
- 6
- 7 - 7
- 8 - 8
- name: FreeBSD - name: FreeBSD

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: alpine:3.10 image: alpine:3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: alpine:3.10 image: alpine:3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: python:alpine3.10 image: python:alpine3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2
@ -27,6 +20,13 @@ platforms:
volumes: volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw" - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init" command: "/sbin/init"
- name: alpine-3.12
image: alpine:3.12
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
provisioner: provisioner:
name: ansible name: ansible
playbooks: playbooks:

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: alpine:3.10 image: alpine:3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: alpine:3.10 image: alpine:3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: alpine-3.9
image: alpine:3.9
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: alpine-3.10 - name: alpine-3.10
image: alpine:3.10 image: alpine:3.10
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2

View File

@ -6,13 +6,6 @@ lint: |
yamllint . yamllint .
ansible-lint --force-color ansible-lint --force-color
platforms: platforms:
- name: centos-6
image: centos:6
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: centos-7 - name: centos-7
image: centos:7 image: centos:7
dockerfile: ../common/Dockerfile.j2 dockerfile: ../common/Dockerfile.j2