Commit 23999700 by Őry Máté

fabfile: add storage

parent 75ff941e
......@@ -15,8 +15,10 @@ env.roledefs['storage'] = [DataStore.objects.get().hostname]
def update_all():
"Update and restart portal+manager, nodes and storage"
execute(stop_portal)
execute(update_node)
execute(update_storage)
execute(update_portal)
......@@ -94,6 +96,7 @@ def update_portal(test=False):
@roles('portal')
def stop_portal(test=False):
"Stop portal and manager"
_stop_services("portal", "mancelery")
......@@ -107,6 +110,14 @@ def update_node():
@parallel
@roles('storage')
def update_storage():
"Update and restart storagedriver"
with _stopped("storage"):
pull("~/storagedriver")
@parallel
@roles('node')
def checkout(vmdriver="master", agent="master"):
"""Checkout specific branch on nodes"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment