Do rsync_ui in deploy.sh
This commit is contained in:
14
deploy.sh
14
deploy.sh
@@ -1,16 +1,5 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
cat <<EOT
|
|
||||||
===================================================================
|
|
||||||
WARNING WARNING WARNING
|
|
||||||
===================================================================
|
|
||||||
This script does NOT run rsync_ui.sh yet. Once we've decided where
|
|
||||||
to put the images, this behaviour can be changed.
|
|
||||||
|
|
||||||
Press [ENTER] to continue deploy, or [CTRL]+[C] to abort.
|
|
||||||
EOT
|
|
||||||
read dummy
|
|
||||||
|
|
||||||
# Deploys the current production branch to the production machine.
|
# Deploys the current production branch to the production machine.
|
||||||
PROJECT_NAME="blender-cloud"
|
PROJECT_NAME="blender-cloud"
|
||||||
DOCKER_NAME="blender_cloud"
|
DOCKER_NAME="blender_cloud"
|
||||||
@@ -53,6 +42,9 @@ git_pull blender-cloud production
|
|||||||
# Update the virtualenv
|
# Update the virtualenv
|
||||||
${SSH} -t docker exec ${DOCKER_NAME} /data/venv/bin/pip install -U -r ${REMOTE_ROOT}/requirements.txt --exists-action w
|
${SSH} -t docker exec ${DOCKER_NAME} /data/venv/bin/pip install -U -r ${REMOTE_ROOT}/requirements.txt --exists-action w
|
||||||
|
|
||||||
|
# RSync the world
|
||||||
|
./rsync_ui.sh
|
||||||
|
|
||||||
# Notify Bugsnag of this new deploy.
|
# Notify Bugsnag of this new deploy.
|
||||||
echo
|
echo
|
||||||
echo "==================================================================="
|
echo "==================================================================="
|
||||||
|
Reference in New Issue
Block a user