run

in support/gitlab-remote-development/setup_workspace.rb [18:31]


  def run
    return GDK::Output.info(%(Nothing to do as we're not a GitLab Workspace.\n\n)) unless gitlab_workspace_context?

    if bootstrap_needed?
      success, duration = execute_bootstrap
      create_flag_file if success
      configure_telemetry

      send_telemetry(success, duration) if allow_sending_telemetry?
    else
      GDK::Output.info("#{GDK_SETUP_FLAG_FILE} exists, GDK has already been bootstrapped.\n\nRemove the #{GDK_SETUP_FLAG_FILE} to re-bootstrap.")
    end
  end