From a93a72dcfe50949116e3651d021c2bad328a461f Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Thu, 21 Sep 2023 16:48:45 +0200 Subject: [PATCH 1/4] Add prereqs for project dependencies beta --- .../docs/docs/collaborate/govern/project-dependencies.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/docs/docs/collaborate/govern/project-dependencies.md b/website/docs/docs/collaborate/govern/project-dependencies.md index 158c405e4a7..802aba51701 100644 --- a/website/docs/docs/collaborate/govern/project-dependencies.md +++ b/website/docs/docs/collaborate/govern/project-dependencies.md @@ -7,6 +7,12 @@ description: "Reference public models across dbt projects" :::caution Closed Beta - dbt Cloud Enterprise "Project" dependencies and cross-project `ref` are features of dbt Cloud Enterprise, currently in Closed Beta. To access these features while they are in beta, please contact your account team at dbt Labs. + +**Prerequisites:** In order to add project dependencies and resolve cross-project `ref`, you must: +- Have the feature enabled (speak to your account team) +- Be using dbt v1.6 in **both** the upstream ("producer") project and the downstream ("consumer") project +- Have a deployment env in the upstream ("producer") project [that is set to be your production environment](docs/deploy/deploy-environments#set-as-production-environment-beta) +- Have a successful run of the upstream ("producer") project ::: For a long time, dbt has supported code reuse and extension by installing other projects as [packages](/docs/build/packages). When you install another project as a package, you are pulling in its full source code, and adding it to your own. This enables you to call macros and run models defined in that other project. From abe757f899f00787faa9b2437c16a5873862bafe Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:22:04 +0100 Subject: [PATCH 2/4] Update website/docs/docs/collaborate/govern/project-dependencies.md --- website/docs/docs/collaborate/govern/project-dependencies.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/collaborate/govern/project-dependencies.md b/website/docs/docs/collaborate/govern/project-dependencies.md index 802aba51701..868ec8ee26d 100644 --- a/website/docs/docs/collaborate/govern/project-dependencies.md +++ b/website/docs/docs/collaborate/govern/project-dependencies.md @@ -10,7 +10,8 @@ description: "Reference public models across dbt projects" **Prerequisites:** In order to add project dependencies and resolve cross-project `ref`, you must: - Have the feature enabled (speak to your account team) -- Be using dbt v1.6 in **both** the upstream ("producer") project and the downstream ("consumer") project +- Use dbt v1.6 for **both** the upstream ("producer") project and the downstream ("consumer") project. +- ``` - Have a deployment env in the upstream ("producer") project [that is set to be your production environment](docs/deploy/deploy-environments#set-as-production-environment-beta) - Have a successful run of the upstream ("producer") project ::: From 5185c138acf5d0ec79f1a66eb2fb30aed6085c64 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:22:10 +0100 Subject: [PATCH 3/4] Update website/docs/docs/collaborate/govern/project-dependencies.md --- website/docs/docs/collaborate/govern/project-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/collaborate/govern/project-dependencies.md b/website/docs/docs/collaborate/govern/project-dependencies.md index 868ec8ee26d..2bcab9c3d38 100644 --- a/website/docs/docs/collaborate/govern/project-dependencies.md +++ b/website/docs/docs/collaborate/govern/project-dependencies.md @@ -12,7 +12,7 @@ description: "Reference public models across dbt projects" - Have the feature enabled (speak to your account team) - Use dbt v1.6 for **both** the upstream ("producer") project and the downstream ("consumer") project. - ``` -- Have a deployment env in the upstream ("producer") project [that is set to be your production environment](docs/deploy/deploy-environments#set-as-production-environment-beta) +- Have a deployment environment in the upstream ("producer") project [that is set to be your production environment](/docs/deploy/deploy-environments#set-as-production-environment-beta) - Have a successful run of the upstream ("producer") project ::: From e99668c0b616dea9adf859ef15156eeb63cb76b6 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:23:39 +0100 Subject: [PATCH 4/4] Update website/docs/docs/collaborate/govern/project-dependencies.md --- website/docs/docs/collaborate/govern/project-dependencies.md | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/docs/collaborate/govern/project-dependencies.md b/website/docs/docs/collaborate/govern/project-dependencies.md index 2bcab9c3d38..1dbc967e74e 100644 --- a/website/docs/docs/collaborate/govern/project-dependencies.md +++ b/website/docs/docs/collaborate/govern/project-dependencies.md @@ -11,7 +11,6 @@ description: "Reference public models across dbt projects" **Prerequisites:** In order to add project dependencies and resolve cross-project `ref`, you must: - Have the feature enabled (speak to your account team) - Use dbt v1.6 for **both** the upstream ("producer") project and the downstream ("consumer") project. -- ``` - Have a deployment environment in the upstream ("producer") project [that is set to be your production environment](/docs/deploy/deploy-environments#set-as-production-environment-beta) - Have a successful run of the upstream ("producer") project :::