Example #1
0
def process_command_bootstrap(args):
    deploy_utils.check_admin_priviledge(args)
    args.update_config = True
    deploy_tool = SERVICE_DEPLOY_TOOL_MAP.get(args.service)
    if deploy_tool:
        return deploy_tool.bootstrap(args)
    Log.print_critical("Not implemented for service: %s", args.service)
Example #2
0
def process_command_bootstrap(args):
  deploy_utils.check_admin_priviledge(args)
  args.update_config = True
  deploy_tool = SERVICE_DEPLOY_TOOL_MAP.get(args.service)
  if deploy_tool:
    return deploy_tool.bootstrap(args)
  Log.print_critical("Not implemented for service: %s", args.service)
Example #3
0
def process_command_rolling_update(args):
    deploy_utils.check_admin_priviledge(args)
    deploy_tool = SERVICE_DEPLOY_TOOL_MAP.get(args.service)
    if deploy_tool:
        return deploy_tool.rolling_update(args)
    Log.print_critical("Not implemented for service: %s", args.service)
Example #4
0
def process_command_rolling_update(args):
  deploy_utils.check_admin_priviledge(args)
  deploy_tool = SERVICE_DEPLOY_TOOL_MAP.get(args.service)
  if deploy_tool:
    return deploy_tool.rolling_update(args)
  Log.print_critical("Not implemented for service: %s", args.service)