Skip to content

Commit

Permalink
add support for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
mafalb committed Jan 13, 2024
1 parent d9fb0fc commit 9a841df
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .env-ubuntu24.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# codename jammy
CI_HOSTNAME: ci-ubuntu24
CI_IMAGE: docker.io/ubuntu:24.04
CI_DOCKERFILE: apt.j2
20 changes: 16 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ jobs:
include:

- os: debian12
- os: ubuntu22
- os: ubuntu24
- os: centos7
- os: c9s
- os: fedora39
Expand Down Expand Up @@ -203,20 +205,23 @@ jobs:

include:

# The ansible provided by ubuntu is a joke
- os: debian12
ansible_version: '2.14'

# The ansible provided by ubuntu 22 is a joke
#
#- os: ubuntu22
# ansible_version: '2.12'

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.12, 3.9)

[trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.12, 3.10)

[trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.9)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.10)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.11)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.9)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.10)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.11)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.16, 3.10)

215:1 [trailing-spaces] trailing spaces

Check failure on line 215 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.16, 3.11)

215:1 [trailing-spaces] trailing spaces
- os: ubuntu24
ansible_version: '2.14'

- os: alma9
ansible_version: '2.14'

- os: rocky9
ansible_version: '2.14'

- os: debian12
ansible_version: '2.14'

- os: fedora39
ansible_version: '2.16'

Expand Down Expand Up @@ -290,6 +295,7 @@ jobs:
#- arch
- debian12
- ubuntu22
- ubuntu24
- fedora38
- fedora39
- fedora40
Expand Down Expand Up @@ -400,6 +406,12 @@ jobs:
python_version: '3.9'
- os: ubuntu22
python_version: '3.12'

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.12, 3.9)

[trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.12, 3.10)

[trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.9)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.10)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.14, 3.11)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.9)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.10)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.15, 3.11)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.16, 3.10)

409:1 [trailing-spaces] trailing spaces

Check failure on line 409 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / ansible-test (2.16, 3.11)

409:1 [trailing-spaces] trailing spaces
# ubuntu24 has 3.11, 3.12
- os: ubuntu22
python_version: '3.9'
- os: ubuntu22
python_version: '3.10'

env:
ANSIBLE_VERSION: ${{ matrix.ansible_version }}
Expand Down
16 changes: 16 additions & 0 deletions roles/controlnode/vars/Ubuntu-24.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) Markus Falb <markus.falb@mafalb.at>
# GNU General Public License v3.0+
# see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt
---
mafalb_ansible_default_version: "2.14"
mafalb_ansible_deps:
"2.14": []
mafalb_ansible_test_deps:
"2.14": []
mafalb_ansible_package:
"2.14":
- ansible-core
mafalb_collections_package:
"2.14": []
mafalb_ansible_test_package:
"2.14": []
17 changes: 17 additions & 0 deletions roles/python/vars/Ubuntu-24.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (c) Markus Falb <markus.falb@mafalb.at>
# GNU General Public License v3.0+
# see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt
---
python_default_version: "3.11"
python_package:
_default: python3
"3.11": python3
"3.12": python3.12
python_extra_packages:
_default: &default_packages
- python3-venv
- python3-setuptools
"3.11": *default_packages
"3.12":
- python3.12-venv
...

0 comments on commit 9a841df

Please sign in to comment.