Ejemplo n.º 1
0
 def updater():
     for repo, formula, revision in repolist:
         bootstrap.run_script('update-masterless-formula.sh', repo, formula, revision)
Ejemplo n.º 2
0
def switch_revision_update_instance(stackname, revision=None):
    switch_revision(stackname, revision)
    with stack_conn(stackname):
        return bootstrap.run_script('highstate.sh')
Ejemplo n.º 3
0
def highstate(stackname):
    "a fast update with many caveats. prefer `update` instead"
    with stack_conn(stackname, username=BOOTSTRAP_USER):
        bootstrap.run_script('highstate.sh')
Ejemplo n.º 4
0
def highstate(stackname):
    "a fast update with many caveats. prefer `update` instead"
    with stack_conn(stackname, username=BOOTSTRAP_USER):
        bootstrap.run_script('highstate.sh')
Ejemplo n.º 5
0
 def test_bootstrap_run_script(self):
     with core.stack_conn(self.stackname, username=BOOTSTRAP_USER):
         bootstrap.run_script('test.sh')
Ejemplo n.º 6
0
def kick():
    stackname = core.find_master(core.find_region())
    with core.stack_conn(stackname, user=config.BOOTSTRAP_USER):
        bootstrap.run_script('kick-master.sh')
Ejemplo n.º 7
0
 def updater():
     for repo, formula, revision in repolist:
         bootstrap.run_script('update-masterless-formula.sh', repo, formula, revision)
Ejemplo n.º 8
0
def kick():
    stackname = core.find_master(core.find_region())
    with core.stack_conn(stackname, user=config.BOOTSTRAP_USER):
        bootstrap.run_script('kick-master.sh')