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, and is currently operated by the Core Services team.

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

This deployment does not include the about site and the new documentation site at sourcegraph.com/docs. It currently still includes the legacy docs.sourcegraph.com site, however.

k8s.sgdev.org

Build status

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.

clouddev.horsegraph.com

This deployment is a managed instance used by the Cloud team as a sandbox for experimenting with managed instances.

Cody Dev

This deployment was spun up to provide an instance that is always on our latest patch release. Because of Cody, the amount of functionality included in patch releases was more substantial, so we needed to be able to do more robust testing.

Cody Dev gets deployed hourly with the latest commit on the current release branch. It is set up to have access to various LLM providers so it can be used for Cody testing.

rctest.sourcegraph.com

This deployment is a managed instance used by the Cloud team to test release candidate images into.