This repository has been archived on 2023-02-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-my-data/docker/deploy.sh

17 lines
493 B
Bash
Executable File

#!/bin/sh -ex
# Everything to deploy in one script. Just takes some presses on the ENTER key.
# If we can't connect to the Docker daemon continuing is futile.
if ! docker info > /dev/null 2>&1; then
echo "Unable to connect to the Docker daemon, start it please." >&2
exit 42
fi
# Only required when we update elastic, or first deploy from this machine.
[ -e ./deploy/elasticsearch-* ] || ./prep_elastic.sh
./prep_docker_img.sh
./build_docker_img.sh
./2server.sh sintel.blender.org