Beispiel #1
0
def sanity_check_plan(collector, stack, artifact, **kwargs):
    """sanity check a predefined list of stacks in order"""
    plan = artifact if artifact else stack
    checked = []
    builder = Builder()

    stacks = collector.configuration["stacks"]
    for stack in Plan.find_stacks(collector.configuration, stacks, plan):
        builder.sanity_check(stacks[stack], stacks, checked=checked)
Beispiel #2
0
def sanity_check_plan(collector, stack, artifact, **kwargs):
    """sanity check a predefined list of stacks in order"""
    plan = artifact if artifact else stack
    checked = []
    builder = Builder()

    stacks = collector.configuration["stacks"]
    for stack in Plan.find_stacks(collector.configuration, stacks, plan):
        builder.sanity_check(stacks[stack], stacks, checked=checked)
Beispiel #3
0
def deploy_plan(collector, stack, artifact, **kwargs):
    """Deploy a predefined list of stacks in order"""
    plan = artifact if artifact else stack
    made = []
    checked = []
    deployer = Deployer()

    stacks = collector.configuration["stacks"]
    for stack in Plan.find_stacks(collector.configuration, stacks, plan):
        deployer.deploy_stack(stacks[stack], stacks, made=made, checked=checked)
Beispiel #4
0
def deploy_plan(collector, stack, artifact, **kwargs):
    """Deploy a predefined list of stacks in order"""
    plan = artifact if artifact else stack
    made = []
    checked = []
    deployer = Deployer()

    stacks = collector.configuration["stacks"]
    for stack in Plan.find_stacks(collector.configuration, stacks, plan):
        deployer.deploy_stack(stacks[stack], stacks, made=made, checked=checked)