Skip to content

Commit

Permalink
Update repo caching
Browse files Browse the repository at this point in the history
  • Loading branch information
nghi-ly committed Dec 20, 2023
1 parent 3f5b288 commit 6732df0
Showing 1 changed file with 6 additions and 0 deletions.
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:

- 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).
- 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).

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

0 comments on commit 6732df0

Please sign in to comment.