Exemple #1
0
def main():
    args = parse_args()
    options = parse_settings(args.settings)

    for property in ARG_PROPERTIES:
        _copy_arg_to_options(options, args, property)

    deploy(options)
Exemple #2
0
def main():
    args = parse_args()
    options = parse_settings(args.settings)
    options["files"] = args.files
    options["compressed_files"] = args.compressed_files
    options["actions"] = args.actions
    options["runtime_properties"] = args.runtime_properties
    deploy(options)
Exemple #3
0
def main():
    args = parse_args()
    options = parse_settings(args.settings)

    for property in ARG_PROPERTIES:
        _copy_arg_to_options(options, args, property)

    for fabric_property, fabric_value in zip(args.fabric_properties, args.fabric_values):
        if "fabricrc_overrides" not in options:
            options["fabricrc_overrides"] = {}
        options["fabricrc_overrides"][fabric_property] = fabric_value

    deploy(options)
Exemple #4
0
def main():
    args = parse_args()
    options = parse_settings(args.settings)

    for property in ARG_PROPERTIES:
        _copy_arg_to_options(options, args, property)

    for fabric_property, fabric_value in zip(args.fabric_properties, args.fabric_values):
        if "fabricrc_overrides" not in options:
            options["fabricrc_overrides"] = {}
        options["fabricrc_overrides"][fabric_property] = fabric_value

    deploy(options)