Skip to content
Snippets Groups Projects
Commit a82a1961 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Small fixes in tests

parent 70e1a474
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
image=$1 image=$1
if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then
systemctl stop lamp@$image.test systemctl stop lamp@$image.test
sleep 15 sleep 11
else else
systemctl stop $image@$image.test systemctl stop $image@$image.test
fi fi
......
...@@ -10,6 +10,7 @@ cp /data/indiehosters/scripts/unsecure-certs/example.dev.pem /data/import/$image ...@@ -10,6 +10,7 @@ cp /data/indiehosters/scripts/unsecure-certs/example.dev.pem /data/import/$image
echo "APPLICATION=$image" > /data/import/$image.test/.env echo "APPLICATION=$image" > /data/import/$image.test/.env
if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then if [ "$image" == "wordpress" ] || [ "$image" == "known" ]; then
echo "VOLUME=$(cat /data/indiehosters/dockerfiles/services/$image/VOLUME)" >> /data/import/$image.test/.env echo "VOLUME=$(cat /data/indiehosters/dockerfiles/services/$image/VOLUME)" >> /data/import/$image.test/.env
echo "EMAIL=test@test.org" >> /data/import/$image.test/.env
fi fi
# start image from import # start image from import
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment