Skip to content

Commit

Permalink
Platform updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 15, 2024
1 parent bcefaea commit 7f8ceb0
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/almalinux-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/almalinux-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Fedora 38
name: Fedora 40

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:38) &&
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:40) &&
podman exec ${CONT_ID} /bin/bash -c
"if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi &&
ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Fedora 39
name: Fedora 41

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:39) &&
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:41) &&
podman exec ${CONT_ID} /bin/bash -c
"if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi &&
ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint sources
run: >
podman run --rm -v ${{ github.workspace }}:/repo bviktor/ansible-systemd-lint:latest /bin/bash -c
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-20.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Ubuntu 18.04
name: Ubuntu 24.04

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Obtain sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Galaxy role
run: >
CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-ubuntu:18.04) &&
--tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-ubuntu:24.04) &&
podman exec ${CONT_ID} /bin/bash -c
"if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi &&
ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" &&
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ N/A
| Linter | ✅ | [![Lint](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/lint.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/lint.yml) |
| AlmaLinux 8 | ✅ | [![AlmaLinux 8](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/almalinux-8.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/almalinux-8.yml) |
| AlmaLinux 9 | ✅ | [![AlmaLinux 9](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/almalinux-9.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/almalinux-9.yml) |
| Fedora 38 | ✅ | [![Fedora 38](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-38.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-38.yml) |
| Fedora 39 | ✅ | [![Fedora 39](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-39.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-39.yml) |
| Ubuntu 18.04 | ✅ | [![Ubuntu 18.04](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-18.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-18.04.yml) |
| Fedora 40 | ✅ | [![Fedora 40](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-40.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-40.yml) |
| Fedora 41 | ✅ | [![Fedora 41](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-41.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/fedora-41.yml) |
| Ubuntu 20.04 | ✅ | [![Ubuntu 20.04](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-20.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-20.04.yml) |
| Ubuntu 22.04 | ✅ | [![Ubuntu 22.04](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-22.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-example_role/actions/workflows/ubuntu-22.04.yml) |
| Ubuntu 24.04 | ✅ | [![Ubuntu 24.04](https://github.com/noobient/ansible-galaxy-thirdparty/actions/workflows/ubuntu-24.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-thirdparty/actions/workflows/ubuntu-24.04.yml) |

0 comments on commit 7f8ceb0

Please sign in to comment.