Skip to content

Commit

Permalink
OS updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 8, 2023
1 parent c79e524 commit 066fcd5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Fedora 37
name: Fedora 38

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -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" &&
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/fedora-39.yml
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 066fcd5

Please sign in to comment.