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

View File

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

View File

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

View File

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