Skip to content

Commit

Permalink
OS and key updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 8, 2023
1 parent 7022d3f commit ecf2fb2
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 155 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
# TODO update to 37 once MS repo is available
name: Fedora 36
name: Fedora 38

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -19,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:36) &&
--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" &&
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/fedora-39.yml
Original file line number Diff line number Diff line change
@@ -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}
25 changes: 25 additions & 0 deletions .github/workflows/ubuntu-24.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Ubuntu 24.04

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-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" &&
podman stop ${CONT_ID}
Loading

0 comments on commit ecf2fb2

Please sign in to comment.