From 066fcd542909be52d9c6d2638d2b67578eddaa7e Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Wed, 8 Nov 2023 22:39:37 +0100 Subject: [PATCH] OS updates --- .../{fedora-37.yml => fedora-38.yml} | 4 +-- .github/workflows/fedora-39.yml | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) rename .github/workflows/{fedora-37.yml => fedora-38.yml} (94%) create mode 100644 .github/workflows/fedora-39.yml diff --git a/.github/workflows/fedora-37.yml b/.github/workflows/fedora-38.yml similarity index 94% rename from .github/workflows/fedora-37.yml rename to .github/workflows/fedora-38.yml index a496039..2eaa26e 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: @@ -22,7 +22,7 @@ jobs: CF_Zone_ID: ${{ secrets.CF_Zone_ID }} 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 --env-file tests/env.list ${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..1ea7157 --- /dev/null +++ b/.github/workflows/fedora-39.yml @@ -0,0 +1,29 @@ +--- +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 + env: + CF_Token: ${{ secrets.CF_Token }} + CF_Account_ID: ${{ secrets.CF_Account_ID }} + CF_Zone_ID: ${{ secrets.CF_Zone_ID }} + 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 --env-file tests/env.list ${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}