From a1bb7936abce389a6bf32b8a7e26b5ca4cbb1bf3 Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Wed, 8 Nov 2023 23:12:51 +0100 Subject: [PATCH] OS updates --- .../{fedora-37.yml => fedora-38.yml} | 4 +-- .github/workflows/fedora-39.yml | 25 +++++++++++++++++++ README.md | 3 ++- 3 files changed, 29 insertions(+), 3 deletions(-) rename .github/workflows/{fedora-37.yml => fedora-38.yml} (93%) create mode 100644 .github/workflows/fedora-39.yml diff --git a/.github/workflows/fedora-37.yml b/.github/workflows/fedora-38.yml similarity index 93% rename from .github/workflows/fedora-37.yml rename to .github/workflows/fedora-38.yml index f0391b2..1c250c7 100644 --- a/.github/workflows/fedora-37.yml +++ b/.github/workflows/fedora-38.yml @@ -1,5 +1,5 @@ --- -name: Fedora 37 +name: Fedora 38 on: # yamllint disable-line rule:truthy push: @@ -18,7 +18,7 @@ jobs: - 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:37) && + --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:38) && 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" && diff --git a/.github/workflows/fedora-39.yml b/.github/workflows/fedora-39.yml new file mode 100644 index 0000000..db9ace4 --- /dev/null +++ b/.github/workflows/fedora-39.yml @@ -0,0 +1,25 @@ +--- +name: Fedora 39 + +on: # yamllint disable-line rule:truthy + push: + branches: + - main + - master + pull_request: + branches: [] + +jobs: + ansible-ci: + runs-on: ubuntu-latest + steps: + - name: Obtain sources + uses: actions/checkout@v3 + - 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) && + 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" && + podman stop ${CONT_ID} diff --git a/README.md b/README.md index ede0d55..f04e304 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,8 @@ N/A | Linter | ✅ | [![Lint](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/lint.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/lint.yml) | | AlmaLinux 8 | ✅ | [![AlmaLinux 8](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/almalinux-8.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/almalinux-8.yml) | | AlmaLinux 9 | ✅ | [![AlmaLinux 9](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/almalinux-9.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/almalinux-9.yml) | -| Fedora 37 | ✅ | [![Fedora 37](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/fedora-37.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/fedora-37.yml) | +| Fedora 38 | ✅ | [![Fedora 38](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/fedora-38.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-setfcontext/actions/workflows/fedora-38.yml) | +| Fedora 39 | ✅ | [![Fedora 39](https://github.com/noobient/ansible-galaxy-firewalld/actions/workflows/fedora-39.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-firewalld/actions/workflows/fedora-39.yml) | | Ubuntu 18.04 | ❌ | N/A | | Ubuntu 20.04 | ❌ | N/A | | Ubuntu 22.04 | ❌ | N/A |