You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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.
92
92
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:
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.
Copy file name to clipboardExpand all lines: content/cache/overview.mdx
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,17 @@ Supported build tools can be configured to use Depot Cache, so that they store a
27
27
28
28
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.
29
29
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
+
30
41
## Where can I use Depot Cache?
31
42
32
43
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
35
46
36
47
## Pricing
37
48
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).
Copy file name to clipboardExpand all lines: content/cli/authentication.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ To add a trust relationship for GitHub Actions, you can go through the following
49
49
5. Enter a GitHub User or Organization for the trust relationship
50
50
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)
51
51
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`.
Copy file name to clipboardExpand all lines: content/cli/reference.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Below is a reference to the `depot` CLI, including all config, commands, flags,
8
8
9
9
## Specifying a Depot project
10
10
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.
12
12
13
13
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.
0 commit comments