various fixes

This commit is contained in:
florian 2023-03-28 21:32:04 +02:00
parent b8b50b165c
commit e50c92250b
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ services:
- MYSQL_PASSWORD=db-user-pwd # replace with a stronger password (must match WORDPRESS_DB_PASSWORD)
volumes:
bw-data:
wp-data:
db-data:
networks:

View File

@ -147,7 +147,7 @@ class LinuxTest(Test):
try:
proc = self.docker_exec(
self.__distro,
f"cd /opt/{self._name} ; ./cleanup-linux.sh ; rm -rf /etc/bunkerweb/configs/* ; rm -rf /etc/bunkerweb/plugins/*",
f"cd /opt/{self._name} ; ./cleanup-linux.sh ; rm -rf /etc/bunkerweb/configs/* ; rm -rf /etc/bunkerweb/plugins/* ; rm -rf /var/www/html/*",
)
if proc.returncode != 0:
raise Exception("docker exec rm failed (cleanup)")

View File

@ -47,7 +47,7 @@ class SwarmTest(Test):
r"bunkerity/bunkerweb-scheduler:.*$",
"192.168.42.100:5000/scheduler-tests:latest",
)
Test.replace_in_file(compose, r"bw\-data:/", "/tmp/bw-data:/")
#Test.replace_in_file(compose, r"bw\-data:/", "/tmp/bw-data:/")
proc = run(
"docker stack deploy -c stack.yml bunkerweb",
cwd="/tmp/swarm",