various fixes
This commit is contained in:
parent
b8b50b165c
commit
e50c92250b
|
@ -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:
|
||||
|
|
|
@ -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)")
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue