Esempio n. 1
0
 def updater():
     for repo, formula, revision in repolist:
         bootstrap.run_script('update-masterless-formula.sh', repo, formula, revision)
Esempio 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')
Esempio 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')
Esempio 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')
Esempio n. 5
0
 def test_bootstrap_run_script(self):
     with core.stack_conn(self.stackname, username=BOOTSTRAP_USER):
         bootstrap.run_script('test.sh')
Esempio 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')
Esempio n. 7
0
 def updater():
     for repo, formula, revision in repolist:
         bootstrap.run_script('update-masterless-formula.sh', repo, formula, revision)
Esempio 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')