mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
ci/cd - fix staging tests for ubuntu noble
This commit is contained in:
parent
e30a0b7f36
commit
04ee565026
1 changed files with 8 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue