Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 0ecfc049 authored by Jean-François HOVINNE's avatar Jean-François HOVINNE
Browse files

feat: Add Ubuntu 24.04 support (fixes #26)

parent 316559f1
No related branches found
No related tags found
1 merge request!26feat: Add Ubuntu 24.04 support (fixes #26)
...@@ -34,7 +34,7 @@ Dependencies ...@@ -34,7 +34,7 @@ Dependencies
* optional: ecgalaxy.oracle_instantclient * optional: ecgalaxy.oracle_instantclient
On Amazon Linux 2 and Ubuntu, the `ecgalaxy.oracle_instantclient` role should be executed first On Amazon Linux 2 and Ubuntu, the `ecgalaxy.oracle_instantclient` role should be executed first
if `php_install_oci8_extension` is set to `true`. if `php_install_oci8_extension` is set to `true` (which is the default value).
Example Playbook Example Playbook
---------------- ----------------
......
# Releases # Releases
## 1.5.x
- Ubuntu 24.04 LTS support added.
## 1.4.x ## 1.4.x
- The role removes amazon-linux-extras PHP packages by default (Amazon Linux 2). - The role removes amazon-linux-extras PHP packages by default (Amazon Linux 2).
......
...@@ -16,6 +16,7 @@ galaxy_info: ...@@ -16,6 +16,7 @@ galaxy_info:
versions: versions:
- focal - focal
- jammy - jammy
- noble
galaxy_tags: galaxy_tags:
- development - development
dependencies: [] dependencies: []
...@@ -25,6 +25,13 @@ platforms: ...@@ -25,6 +25,13 @@ platforms:
http_proxy: "${http_proxy}" http_proxy: "${http_proxy}"
https_proxy: "${https_proxy}" https_proxy: "${https_proxy}"
no_proxy: "${no_proxy}" no_proxy: "${no_proxy}"
- name: ubuntu2404-${CI_JOB_ID:-0}
image: code.europa.eu:4567/ecgalaxy/ubuntu2404-ansible:latest
pre_build_image: true
environment:
http_proxy: "${http_proxy}"
https_proxy: "${https_proxy}"
no_proxy: "${no_proxy}"
provisioner: provisioner:
name: ansible name: ansible
inventory: inventory:
......
...@@ -62,3 +62,19 @@ ...@@ -62,3 +62,19 @@
register: cmd_result register: cmd_result
changed_when: "cmd_result.rc == 0" changed_when: "cmd_result.rc == 0"
failed_when: "cmd_result.rc != 0" failed_when: "cmd_result.rc != 0"
- name: Check libaio library
ansible.builtin.stat:
path: /usr/lib/x86_64-linux-gnu/libaio.so.1
register: libaio_so_file
- name: Create libaio.so.1 symlink (Ubuntu 24.04)
ansible.builtin.file:
src: /usr/lib/x86_64-linux-gnu/libaio.so.1t64
dest: /usr/lib/x86_64-linux-gnu/libaio.so.1
owner: "root"
group: "root"
mode: "u=rw,go=r"
state: link
become: true
when: not libaio_so_file.stat.exists
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment