Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update repo caching #4684

Merged
merged 11 commits into from
Dec 21, 2023
6 changes: 6 additions & 0 deletions website/snippets/_cloud-environments-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ For improved reliability and performance on your job runs, you can enable dbt Cl

dbt Cloud caches your project's Git repo after each successful run and retains it for 8 days if there are no repo updates. It caches all packages regardless of installation method and does not fetch code outside of the job runs.

Below lists the situations when dbt Cloud uses the cached copy:
nghi-ly marked this conversation as resolved.
Show resolved Hide resolved

- Git authentication fails.
- There are syntax errors in the `packages.yml` file. To catch these errors sooner, set up and use [continuous integration (CI)](/docs/deploy/continuous-integration).
nghi-ly marked this conversation as resolved.
Show resolved Hide resolved
- A package is incompatible with the dbt version being used. To catch this incompatibility sooner, set up and use [continuous integration (CI)](/docs/deploy/continuous-integration).
nghi-ly marked this conversation as resolved.
Show resolved Hide resolved

nghi-ly marked this conversation as resolved.
Show resolved Hide resolved
To enable Git repository caching, select **Account settings** from the gear menu and enable the **Repository caching** option.

<Lightbox src="/img/docs/deploy/example-repo-caching.png" width="85%" title="Example of the Repository caching option" />
Expand Down
Loading