Skip to content

Commit

Permalink
update os support and workflow/testing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning- committed Jul 23, 2024
1 parent 15da1a0 commit 2e2ab95
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
puppet_version: [7]

name: Check / Puppet ${{ matrix.puppet_version }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container: puppet/pdk:latest

steps:
Expand All @@ -39,11 +39,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['rocky8', 'ub2204', 'deb11']
os: ['rocky8', 'ub2004', 'ub2204', 'ub2404', 'deb11', 'deb12']
puppet_version: [7]

name: Acceptance / ${{ matrix.os }} / Puppet ${{ matrix.puppet_version }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- check

Expand Down
6 changes: 4 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"20.04",
"22.04"
"22.04",
"24.04"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"11"
"11",
"12"
]
},
{
Expand Down
16 changes: 11 additions & 5 deletions provision.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
---
default:
provisioner: docker_exp
images: ['waffleimage/centos7']
images: ['litmusimage/rockylinux:8']
vagrant:
provisioner: vagrant
images: ['centos/7', 'generic/ubuntu2004']
images: ['centos/8', 'generic/ubuntu2404']

deb_all:
provisioner: docker
images: ['litmusimage/debian:10', 'litmusimage/debian:11']
images: ['litmusimage/debian:11', 'litmusimage/debian:12']
el_all:
provisioner: docker
images: ['litmusimage/centos:7', 'litmusimage/centos:8']
images: ['litmusimage/centos:7', 'litmusimage/rockylinux:8']
# The most reliable workaround for the docker/systemd incompatibility.
# see https://github.com/docker/for-linux/issues/835
# see https://github.com/moby/moby/issues/38749
vars: '{docker_run_opts: ["-v /sys/fs/cgroup:/sys/fs/cgroup:ro"]}'
ub_all:
provisioner: docker
images: ['litmusimage/ubuntu:20.04', 'litmusimage/ubuntu:22.04']
images: ['litmusimage/ubuntu:20.04', 'litmusimage/ubuntu:22.04', 'litmusimage/ubuntu:24.04']

gha_deb10:
provisioner: docker
images: ['litmusimage/debian:10']
gha_deb11:
provisioner: docker
images: ['litmusimage/debian:11']
gha_deb12:
provisioner: docker
images: ['litmusimage/debian:12']
gha_el7:
provisioner: docker
images: ['litmusimage/centos:7']
Expand Down Expand Up @@ -53,3 +56,6 @@ gha_ub2004:
gha_ub2204:
provisioner: docker
images: ['litmusimage/ubuntu:22.04']
gha_ub2404:
provisioner: docker
images: ['litmusimage/ubuntu:24.04']

0 comments on commit 2e2ab95

Please sign in to comment.