ci/cd - fix staging tests for ubuntu noble

This commit is contained in:
florian 2024-05-12 18:32:46 +02:00
parent e30a0b7f36
commit 04ee565026
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500

View file

@ -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,