def get_nuclio_deploy_status( name, project, tag, dashboard="", last_log_timestamp=0, verbose=False, resolve_address=True, auth_info: AuthInfo = None, ): api_address = find_dashboard_url(dashboard or mlconf.nuclio_dashboard_url) name = get_fullname(name, project, tag) state, address, last_log_timestamp, outputs, function_status = get_deploy_status( api_address, name, last_log_timestamp, verbose, resolve_address, return_function_status=True, auth_info=auth_info.to_nuclio_auth_info() if auth_info else None, ) text = "\n".join(outputs) if outputs else "" return state, address, name, last_log_timestamp, text, function_status
def get_nuclio_deploy_status( name, project, tag, dashboard="", last_log_timestamp=None, verbose=False ): api_address = find_dashboard_url(dashboard or mlconf.nuclio_dashboard_url) name = get_fullname(name, project, tag) state, address, last_log_timestamp, outputs = get_deploy_status( api_address, name, last_log_timestamp, verbose ) text = "\n".join(outputs) if outputs else "" return state, address, name, last_log_timestamp, text