dontpull : framadate

This commit is contained in:
Gitouche 2022-11-13 14:03:54 +01:00
parent 00cfa67d14
commit 691c74269d

View file

@ -31,9 +31,12 @@ export framadate_version
export listen_if export listen_if
export listen_port export listen_port
if ! podman image exists ${framadate_image}:${framadate_version}; then
podman pull ${framadate_image}:${framadate_version} podman pull ${framadate_image}:${framadate_version}
fi
podman pull docker.io/library/php:7-apache && podman pull docker.io/library/php:7-apache &&
podman pull docker.io/library/mysql:5.7 && podman pull docker.io/library/mysql:5.7 &&
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d && podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra " up -d &&
echo -n "Waiting for initialization to end... " && echo -n "Waiting for initialization to end... " &&
( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' && ( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' &&