Skip to content

[cloud] Add org codehost connections and repositories

Administrator requested to merge milan-CLOUD-23 into main

Created by: kopancek

Screenshots

Screenshot 2021-10-18 at 14 10 56 Screenshot 2021-10-18 at 14 11 03 Screenshot 2021-10-18 at 14 11 18

How to test locally

  1. start sourcegraph with sg start enterprise
  2. Create a user, and modify the user tags in postgres:
UPDATE users SET tags = '{OrgsCode}' WHERE id = 1;
  1. Modify env flags:
SOURCEGRAPHDOTCOM_MODE=true 
EXTSVC_CONFIG_ALLOW_EDITS=true
  1. Restart sg to make use of the new env flags

Merge request reports

Loading