Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to reimplement testing different architectures #653

Closed
wants to merge 21 commits into from
Closed
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
10 changes: 5 additions & 5 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
uses: actions/checkout@v4

# - name: Set up Docker QEMU
# if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
# uses: docker/setup-qemu-action@v2
# with:
# platforms: aarch64,s390x
- name: Set up Docker QEMU
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
uses: docker/setup-qemu-action@v3
with:
platforms: aarch64,s390x

- name: Set up Python 3
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
Expand Down
42 changes: 21 additions & 21 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -78,14 +78,14 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
- name: debian-bookworm
image: debian:bookworm-slim
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
# - name: debian-bookworm
# image: debian:bookworm-slim
# dockerfile: ../common/Dockerfile.j2
# privileged: true
# cgroupns_mode: host
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
# command: /sbin/init
- name: oraclelinux-7
image: oraclelinux:7
platform: x86_64
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -165,7 +165,7 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -174,21 +174,21 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
- name: ubuntu-lunar
image: ubuntu:lunar
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
# - name: ubuntu-lunar
# image: ubuntu:lunar
# dockerfile: ../common/Dockerfile.j2
# privileged: true
# cgroupns_mode: host
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
# command: /sbin/init
provisioner:
name: ansible
log: true
Expand Down
10 changes: 5 additions & 5 deletions molecule/distribution/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms: # The RHEL UBI 7 image fails to install some NGINX dependencies when
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms: # The RHEL UBI 7 image fails to install some NGINX dependencies when
# command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms: # The RHEL UBI 7 image fails to install some NGINX dependencies when
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -174,7 +174,7 @@ platforms: # The RHEL UBI 7 image fails to install some NGINX dependencies when
command: /sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -183,7 +183,7 @@ platforms: # The RHEL UBI 7 image fails to install some NGINX dependencies when
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
26 changes: 13 additions & 13 deletions molecule/downgrade-plus/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ platforms: # Alpine 3.18 and Debian bookworm only have one version of NGINX Plus
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
- name: alpine-3.18
image: alpine:3.18
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
# - name: alpine-3.18
# image: alpine:3.18
# dockerfile: ../common/Dockerfile.j2
# privileged: true
# cgroupns_mode: host
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
# command: /sbin/init
- name: amazonlinux-2
image: amazonlinux:2
platform: x86_64
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms: # Alpine 3.18 and Debian bookworm only have one version of NGINX Plus
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms: # Alpine 3.18 and Debian bookworm only have one version of NGINX Plus
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -165,7 +165,7 @@ platforms: # Alpine 3.18 and Debian bookworm only have one version of NGINX Plus
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -174,7 +174,7 @@ platforms: # Alpine 3.18 and Debian bookworm only have one version of NGINX Plus
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
10 changes: 5 additions & 5 deletions molecule/downgrade/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -165,7 +165,7 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -174,7 +174,7 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
10 changes: 5 additions & 5 deletions molecule/plus/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -165,7 +165,7 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -174,7 +174,7 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
10 changes: 5 additions & 5 deletions molecule/source/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -113,7 +113,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -122,7 +122,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -156,7 +156,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -165,7 +165,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
10 changes: 5 additions & 5 deletions molecule/stable/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ platforms:
command: /sbin/init
- name: alpine-3.17
image: alpine:3.17
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -122,7 +122,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.7
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -131,7 +131,7 @@ platforms:
command: /usr/sbin/init
- name: rhel-9
image: redhat/ubi9:9.1.0
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down Expand Up @@ -165,7 +165,7 @@ platforms:
command: /usr/sbin/init
- name: ubuntu-focal
image: ubuntu:focal
# platform: s390x
platform: s390x
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand All @@ -174,7 +174,7 @@ platforms:
command: /sbin/init
- name: ubuntu-jammy
image: ubuntu:jammy
# platform: aarch64
platform: aarch64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
Expand Down
Loading
Loading