Skip to content

Commit

Permalink
feat: more ubuntu version tested, including 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jseniuk committed Jun 12, 2024
1 parent 84a8fa7 commit 325300c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@ jobs:
- default # PHP 8.1 and beyond. Only uses 8.1 style lists for all php versions.
- php81legacy # Mixes new 8.1 style list and keeps pre-8.1 module lists.
image:
- registry.gitlab.com/aussielunix/ansible/molecule-containers/ubuntu:jammy
- registry.gitlab.com/aussielunix/ansible/molecule-containers/ubuntu:focal
- geerlingguy/docker-ubuntu2404-ansible:latest
- geerlingguy/docker-ubuntu2204-ansible:latest
- geerlingguy/docker-ubuntu2004-ansible:latest
- geerlingguy/docker-ubuntu1804-ansible:latest
- geerlingguy/docker-ubuntu1604-ansible:latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@4.0.9
uses: robertdebock/molecule-action@6.0.1
with:
options: parallel
scenario: "${{ matrix.scenario }}"
Expand Down
6 changes: 5 additions & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ driver:
name: docker
platforms:
- name: instance
image: "registry.gitlab.com/aussielunix/ansible/molecule-containers/${MOLECULE_DISTRO:-ubuntu:jammy}"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
override_command: false
Expand Down
6 changes: 5 additions & 1 deletion molecule/php7.4/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ driver:
name: docker
platforms:
- name: instance
image: "registry.gitlab.com/aussielunix/ansible/molecule-containers/${MOLECULE_DISTRO:-ubuntu:jammy}"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
override_command: false
Expand Down
6 changes: 5 additions & 1 deletion molecule/php8.0/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ driver:
name: docker
platforms:
- name: instance
image: "registry.gitlab.com/aussielunix/ansible/molecule-containers/${MOLECULE_DISTRO:-ubuntu:jammy}"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
override_command: false
Expand Down
6 changes: 5 additions & 1 deletion molecule/php81legacy/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ driver:
name: docker
platforms:
- name: instance
image: "registry.gitlab.com/aussielunix/ansible/molecule-containers/${MOLECULE_DISTRO:-ubuntu:jammy}"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
override_command: false
Expand Down

0 comments on commit 325300c

Please sign in to comment.