Skip to content

sg: Add full support for linux setup

Administrator requested to merge devx/sg-setup-linux into main

Created by: jhchabran

Reboot of https://github.com/sourcegraph/sourcegraph/pull/29228

Closes https://github.com/sourcegraph/sourcegraph/issues/28314

Changes

  • Linux only: The Docker dependency is now split into two parts: the installation and the group permissions part.
    • This enables to run of the first category entirely automatically (autofixing).
    • The commands to add the current user to docker group are now very explicit and hard to miss.
image
  • Any step that has requiresSgSetupRestart will have its instructions prefixed by a warning sign to make sure the user sees why they need to restart (and eventually to do in between).

Test plan

  • Full run on a fresh Ubuntu VM + sg start oss
  • Full setup (docker installation excepted, I can't run it within my arm64 VMs)

Merge request reports

Loading