Compare commits

...

2 Commits

Author SHA1 Message Date
Jeff Geerling bf9bf9de00 A wee bit of modernization. 2024-01-24 22:05:15 -06:00
Jeff Geerling bac5cdbe9b Make local dev with molecule a little easier. 2024-01-24 21:58:48 -06:00
4 changed files with 19 additions and 17 deletions

View File

@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.php-versions'
- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'
@ -41,8 +41,8 @@ jobs:
strategy:
matrix:
include:
# Default PHP version (8.1).
- distro: rockylinux8
# Default PHP version.
- distro: rockylinux9
playbook: converge.yml
- distro: centos7
playbook: converge.yml
@ -51,30 +51,30 @@ jobs:
- distro: debian10
playbook: converge.yml
# PHP 8.0.
# PHP 8.1.
- distro: rockylinux8
playbook: 8.0.yml
- distro: ubuntu1804
playbook: 8.0.yml
playbook: 8.1.yml
- distro: ubuntu2004
playbook: 8.1.yml
- distro: debian10
playbook: 8.0.yml
playbook: 8.1.yml
# PHP 7.4.
- distro: rockylinux8
playbook: 7.4.yml
- distro: ubuntu1804
- distro: ubuntu2004
playbook: 7.4.yml
- distro: debian10
- distro: debian11
playbook: 7.4.yml
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.php-versions'
- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

View File

@ -22,12 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'geerlingguy.php-versions'
- name: Set up Python 3.
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

View File

@ -5,7 +5,7 @@
vars:
php_enable_webserver: false
php_version: '8.0'
php_version: '8.1'
pre_tasks:
- name: Update apt cache.

View File

@ -2,11 +2,13 @@
role_name_check: 1
dependency:
name: galaxy
options:
ignore-errors: true
driver:
name: docker
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw