From 04ee565026b906dcba45ba2aedca7f6f3aa57ea4 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 12 May 2024 18:32:46 +0200 Subject: [PATCH] ci/cd - fix staging tests for ubuntu noble --- tests/LinuxTest.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/LinuxTest.py b/tests/LinuxTest.py index 07a0335ca..a9afabbf0 100644 --- a/tests/LinuxTest.py +++ b/tests/LinuxTest.py @@ -39,13 +39,20 @@ class LinuxTest(Test): distro, "DEBIAN_FRONTEND=noninteractive apt-get install -y php-fpm unzip", ) - if distro in ("ubuntu", "ubuntu-noble"): + if distro == "ubuntu": LinuxTest.docker_cp( distro, "./tests/www-deb.conf", "/etc/php/8.1/fpm/pool.d/www.conf", ) LinuxTest.docker_exec(distro, "systemctl stop php8.1-fpm ; systemctl start php8.1-fpm") + elif distro == "ubuntu-noble": + LinuxTest.docker_cp( + distro, + "./tests/www-deb.conf", + "/etc/php/8.3/fpm/pool.d/www.conf", + ) + LinuxTest.docker_exec(distro, "systemctl stop php8.3-fpm ; systemctl start php8.3-fpm") elif distro == "debian": LinuxTest.docker_cp( distro,