Skip to content

Commit de2a776

Browse files
Update docs content from https://github.com/depot/app
1 parent 2dfe9b0 commit de2a776

File tree

15 files changed

+652
-615
lines changed

15 files changed

+652
-615
lines changed

content/agents/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Current agent sandboxes support Claude Code, with more agents coming soon. By de
1515
<a
1616
href="/docs/agents/claude-code/quickstart"
1717
data-ph-capture-attribute-button-id="agents-docs-cta-to-quickstart"
18-
className="text-radix-mauve12 font-semibold"
18+
className="font-semibold text-radix-mauve12"
1919
>
2020
To dive into using remote agents on Depot, check out our Claude Code quickstart guide &rarr;
2121
</a>
@@ -107,7 +107,7 @@ depot claude --resume feature-auth "This looks good, but we need to add the conc
107107
Depot remote agent sandboxes are available on **all plans** and are billed at a usage rate of **$0.01/minute** with no included usage for remote agents.
108108

109109
<DocsCTA>
110-
<a href="/sign-up" data-ph-capture-attribute-button-id="agents-docs-cta" className="text-radix-grass12 font-semibold">
110+
<a href="/sign-up" data-ph-capture-attribute-button-id="agents-docs-cta" className="font-semibold text-radix-grass12">
111111
Start your 7-day free trial to try remote agents on Depot &rarr;
112112
</a>
113113
</DocsCTA>

content/cache/integrations/sccache.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,18 @@ DEPOT_TOKEN=your_token depot bake
9090

9191
[Depot GitHub Actions runners](/docs/github-actions/overview) are pre-configured to use Depot Cache with sccache. Each runner launches with a `SCCACHE_WEBDAV_ENDPOINT` environment variable pre-configured with the connection details for Depot Cache.
9292

93-
You don't need additional configuration. Run your sccache builds as normal:
93+
Tell Rust to compile via sccache, and run your sccache builds as normal:
9494

9595
```yaml
9696
jobs:
9797
build:
9898
runs-on: depot-ubuntu-24.04
9999
steps:
100100
- uses: actions/checkout@v4
101-
- run: sccache --start-server && cargo build --release
101+
- uses: mozilla-actions/sccache-action@v0.0.9
102+
- run: cargo build --release
103+
env:
104+
RUSTC_WRAPPER: 'sccache'
102105
```
103106
104107
To disable automatic configuration, turn off **Allow Actions jobs to automatically connect to Depot Cache** in your organization settings page. You can then manually configure sccache as described in the Local workstation section.

content/cache/overview.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ Supported build tools can be configured to use Depot Cache, so that they store a
2727

2828
This speeds up your builds and tests by orders of magnitude, especially for large codebases, as those builds and tests become incremental. Instead of always having to rebuild from scratch, only the parts of your codebase that have changed are rebuilt, and only affected tests are re-run.
2929

30+
### Cache retention policy
31+
32+
The default cache retention policy is to store the cache entries for 14 days with no limit on total cache size.
33+
34+
Configure the cache retention policy on your organization's [settings page](/orgs/_/settings) to control time based retention and cache size limits.
35+
36+
- Available values for time based retention: 7 days, 14 days (default), 30 days
37+
- Available values for size based retention: 25 GB, 50 GB, 100 GB, 150 GB, 250 GB, 500 GB, No limit (default)
38+
39+
**Note:** Retention policy settings don't apply to Docker layer cache entries (shown as type `docker` in the [Cache Explorer](/orgs/_/cache)). To manage Docker cache retention, set cache policy per [project](/orgs/_/projects) in project Settings.
40+
3041
## Where can I use Depot Cache?
3142

3243
Depot Cache is accessible anywhere you run your builds, in local development or from any CI/CD system. Additionally, all supported tools are pre-configured to use Depot Cache when using [Depot GitHub Actions Runners](/docs/github-actions/overview).
@@ -35,8 +46,4 @@ This means that build artifacts are shared between different members of your tea
3546

3647
## Pricing
3748

38-
Depot Cache is available on all of our pricing plans. Each plan includes a block of cache storage. Each additional GB over the included amount is billed at **$0.20/GB/month**. See our [pricing page](/pricing) for more details.
39-
40-
## Cache Retention
41-
42-
Depot Cache retains build artifacts for a configurable amount of time. By default, artifacts are retained for 14 days. You can configure this retention period in the Depot Cache settings.
49+
Depot Cache is available on all of our pricing plans. Each plan includes a block of cache storage. Each additional GB over the included amount is billed at $0.20 per GB of usage. We calculate usage by taking a snapshot every hour and then averaging out those snapshots over the month. For more information about plans and included usage, see the [pricing page](/pricing).

content/cli/authentication.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To add a trust relationship for GitHub Actions, you can go through the following
4949
5. Enter a GitHub User or Organization for the trust relationship
5050
6. Enter the name of the GitHub repository that will build images via Depot (Note: this is the repository name, not the full URL and it must match the repository name exactly)
5151
7. Click Add trust relationship
52-
8. Ensure your workflow has permission to use this OIDC trust relationship by setting the permission `id-token: write`.
52+
8. In your workflow file, add a `permissions` block to your job with `id-token: write` and `contents: read`.
5353

5454
### Adding a trust relationship for CircleCI
5555

content/cli/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Below is a reference to the `depot` CLI, including all config, commands, flags,
88

99
## Specifying a Depot project
1010

11-
Some commands need to know which [project](/docs/core-concepts#projects) to route the build to.
11+
Some commands need to know which [project](/docs/container-builds/overview#projects) to route the build to.
1212

1313
For interactive terminals calling [`build`](#depot-build) or [`bake`](#depot-bake), if you don't specify a project, you will be prompted to choose a project when using an interactive prompt and given the option to save that project for future use in a `depot.json` file.
1414

0 commit comments

Comments
 (0)