Depot Code is in private beta. Functionality and capabilities could change, and documentation might be out of date. Request access to enable it for your organization.
Depot Code is Depot's source control hosting. It's entirely Git under the hood, but the Git server is built on top of blob storage rather than a persistent file server, which makes it more reliable and scalable under heavy read and write load. Create a repository in Depot, push to it as your daily driver, and trigger Depot CI jobs without round-tripping to an external host.
| Diskless Git server |
|
| Standalone and mirror repositories |
|
| Use a standard Git workflow |
|
| Built for Depot CI |
|
Instead of the default Git server, Depot Code uses a diskless Git server that stores all content in blob storage (S3) and is fully horizontally scalable. It requires no distributed consensus and is optimized for throughput, uptime, and scale.
The traditional hosting model uses a hub-and-spoke design that welds storage and compute together: pushes route through a proxy that streams updates across replicas running a multi-phase commit, and repos end up pinned to machines. You can't scale read/write capacity independently of storage capacity, so you have to provision for peak.
Depot Code inverts the primitive. Git packfiles and their indexes become objects in blob storage, refs and metadata live in a transactional store, and Git servers become stateless workers you can scale horizontally.
Depot Code repositories will initiate push triggers for Depot CI workflows defined in .depot/workflows/. Depot Code repositories currently do not initiate triggers of any other type. When you push to a Depot Code repository, Depot CI runs every workflow with an on: push trigger against the pushed commit. Each new commit included in a push starts its own set of runs.
Additionally, Depot CI triggers are currently disabled by default for standalone repos. Many workflow scripts contain subtle dependencies on GitHub and require workarounds. Please reach out to opt-in to Depot CI triggers for standalone repos.
Depot Code is free to use during the private beta.
Depot Code is Depot's source control hosting: a diskless Git server backed by blob storage that scales horizontally,
mirrors your GitHub repositories, and plugs straight into Depot CI. It's entirely Git under the hood, so you clone,
push, and fetch with regular Git commands.
Traditional Git hosts pair storage and compute on persistent file servers and route every push through a multi-phase commit across replicas. Depot Code stores Git objects in blob storage and keeps refs and metadata in a transactional store, so Git servers are stateless, horizontally scalable workers.
No. You can create a mirror repository that keeps a synced copy of an upstream GitHub repository, so your Depot CI workflows are served by Depot without round-tripping to GitHub.