Page Menu
Home
Search
Configure Global Search
Log In
Files
F13376613
deploy_via_biflamanager.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
818 B
Subscribers
None
deploy_via_biflamanager.sh
View Options
#!/usr/bin/env bash
ssh -o
ClearAllForwardings
=
yes biflamanager -T
<<EOT
set -e
cd \$HOME/flamenco-worker
git reset --hard
git pull
pipenv install --dev --deploy
pipenv run ./mkdistfile.py
last_file=\$(ls -rt dist/flamenco-worker* | tail -n 1)
dirname=\$(basename \$last_file | sed s/-linux.*//)
tar_path=\$(pwd)/\$last_file
echo
echo "--------------------------------------------------------------"
echo "Deploying \$last_file"
echo "--------------------------------------------------------------"
cd /shared/bin/flamenco-worker
tar zxvf \$tar_path
rm -f flamenco-worker
ln -s \$dirname/flamenco-worker .
echo
echo "--------------------------------------------------------------"
echo "Done! Now restart workers to pick up the changes."
echo "--------------------------------------------------------------"
EOT
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Aug 15, 1:58 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b0/8c/e777d816e4c9d538e062c7a54abb
Attached To
rFW Flamenco Worker
Event Timeline
Log In to Comment