Instances

Information about Sourcegraph’s different instances.

For deployments of Sourcegraph we manage for customers, see managed instances.

Also see playbooks for common actions related to operating our Sourcegraph deployments.

DotCom

Build status

This deployment is also colloquially referred to as ‘DotCom’ and ‘sourcegraph.com’. It is the public deployment available to the public at sourcegraph.com/search.

sourcegraph.com deploys the latest changes from sourcegraph/sourcegraph on a daily basis.

This deployment also includes our documentation and about sites.

🐶 For dogfooding changes, use k8s.sgdev.org instead, which generally receives updates faster.

k8s.sgdev.org

Build status

NO LONGER PRIMARY DOGFOODING INSTANCE, SEE S2 BELOW

This deployment is also colloquially referred to as “dogfood”, “dogfood-k8s”, or just “k8s”. This is the Sourcegraph instance to use for dogfooding changes to Sourcegraph. It contains Sourcegraph private code, and deploys the latest Sourcegraph images via ArgoCD

We are following GitOps practice to handle deployment of k8s. The source of truth of the deployment is sourcegraph/deploy-sourcegraph-dogfood-k8s.

We use two scheduled GitHub Actions to continuously create PRs to update the images and merge the created PRs on a fixed schedule. If you would like to bypass the schedule, do the following

Learn more in deployment basics.

🚨 This deployment contains private code - for demos, use demo.sourcegraph.com instead.

Managed instances

Managed instances are deployments of Sourcegraph we manage for customers. We also maintain some internal managed instances for various use cases.

sourcegraph.sourcegraph.com (S2)

This deployment is also colloquially referred to as “dogfood S2”, or just “S2”, it was spun up as a response to our change in product direction and becoming Cloud (managed instances) first. We use S2 as our primary dogfooding instance now, and feedback gets shared in #feedback-dogfood.

S2 gets deployed every hour between 8am and 10pm UTC on weekdays using a GitHub Actions workflow that updates the images, creates the PR, and merge the changes. The instance contains Sourcegraph private code, and deploys the latest Sourcegraph images.

demo.sourcegraph.com

This deployment is used by Sourcegraph CE for demos.

devmanaged.sourcegraph.com

This deployment is a managed instance used by Distribution for experimenting with managed instances in general.