Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BUG FIXES:
TESTS:

* Update GitHub actions to run on Ubuntu 22.04 (and thus support `cgroups` v2).
* Explicitly specify `amd64` as the platform used in Molecule tests. This will ensure that tests work as expected when run on different host architectures (e.g. newer Macbooks with `arm` processors).
* Explicitly specify `amd64` as the platform used in the Amazon Linux 2/CentOS/Oracle Linux/RHEL 7/SLES 15 Molecule Docker images. This will ensure that tests work when run on different host architectures (e.g. newer Macbooks with `arm64` processors) when running tests in distributions that only support `amd64` (either due to lack of support for a `cgroups` v2 backport or due to lack of builds for `arm64`).

## 0.23.2 (September 28, 2022)

Expand Down
16 changes: 0 additions & 16 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ lint: |
platforms:
- name: almalinux-8
image: almalinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -16,7 +15,6 @@ platforms:
command: /usr/sbin/init
- name: almalinux-9
image: almalinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -25,7 +23,6 @@ platforms:
command: /usr/sbin/init
- name: alpine-3.14
image: alpine:3.14
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -34,7 +31,6 @@ platforms:
command: /sbin/init
- name: alpine-3.15
image: alpine:3.15
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -43,7 +39,6 @@ platforms:
command: /sbin/init
- name: alpine-3.16
image: alpine:3.16
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -52,7 +47,6 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -79,7 +73,6 @@ platforms:
command: /usr/sbin/init
- name: debian-bullseye
image: debian:bullseye-slim
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -97,7 +90,6 @@ platforms:
command: /usr/sbin/init
- name: oraclelinux-8
image: oraclelinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -106,7 +98,6 @@ platforms:
command: /usr/sbin/init
- name: oraclelinux-9
image: oraclelinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -124,7 +115,6 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -133,7 +123,6 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -142,7 +131,6 @@ platforms:
command: /usr/sbin/init
- name: rockylinux-8
image: rockylinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -151,7 +139,6 @@ platforms:
command: /usr/sbin/init
- name: rockylinux-9
image: rockylinux:9.0.20220720
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -169,7 +156,6 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-bionic
image: ubuntu:bionic
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -178,7 +164,6 @@ platforms:
command: /sbin/init
- name: ubuntu-focal
image: ubuntu:focal
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -187,7 +172,6 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
16 changes: 0 additions & 16 deletions molecule/downgrade/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ lint: |
platforms:
- name: almalinux-8
image: almalinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -16,7 +15,6 @@ platforms:
command: /usr/sbin/init
- name: almalinux-9
image: almalinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -25,7 +23,6 @@ platforms:
command: /usr/sbin/init
- name: alpine-3.14
image: alpine:3.14
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -34,7 +31,6 @@ platforms:
command: /sbin/init
- name: alpine-3.15
image: alpine:3.15
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -43,7 +39,6 @@ platforms:
command: /sbin/init
- name: alpine-3.16
image: alpine:3.16
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -52,7 +47,6 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -79,7 +73,6 @@ platforms:
command: /usr/sbin/init
- name: debian-bullseye
image: debian:bullseye-slim
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -97,7 +90,6 @@ platforms:
command: /usr/sbin/init
- name: oraclelinux-8
image: oraclelinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -106,7 +98,6 @@ platforms:
command: /usr/sbin/init
- name: oraclelinux-9
image: oraclelinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -124,7 +115,6 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -133,7 +123,6 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -142,7 +131,6 @@ platforms:
command: /usr/sbin/init
- name: rockylinux-8
image: rockylinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -151,7 +139,6 @@ platforms:
command: /usr/sbin/init
- name: rockylinux-9
image: rockylinux:9.0.20220720
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -169,7 +156,6 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-bionic
image: ubuntu:bionic
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -178,7 +164,6 @@ platforms:
command: /sbin/init
- name: ubuntu-focal
image: ubuntu:focal
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -187,7 +172,6 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
23 changes: 8 additions & 15 deletions molecule/downgrade_plus/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ lint: |
platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the moment) so it's impossible to test the downgrade scenario
- name: almalinux-8
image: almalinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -16,16 +15,22 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: almalinux-9
image: almalinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: alpine-3.13
image: alpine:3.13
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
- name: alpine-3.14
image: alpine:3.14
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -34,7 +39,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /sbin/init
- name: alpine-3.15
image: alpine:3.15
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -43,7 +47,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /sbin/init
- name: alpine-3.16
image: alpine:3.16
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -70,7 +73,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: debian-bullseye
image: debian:bullseye-slim
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -88,7 +90,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: oraclelinux-8
image: oraclelinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -97,7 +98,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: oraclelinux-9
image: oraclelinux:9
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -115,7 +115,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -124,7 +123,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -133,7 +131,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: rockylinux-8
image: rockylinux:8
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -142,7 +139,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: rockylinux-9
image: rockylinux:9.0.20220720
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -160,7 +156,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /usr/sbin/init
- name: ubuntu-bionic
image: ubuntu:bionic
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -169,7 +164,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /sbin/init
- name: ubuntu-focal
image: ubuntu:focal
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -178,7 +172,6 @@ platforms: # Alpine 3.17 only has one version of NGINX Plus available (at the mo
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
platform: amd64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
Loading