From d95ae9ce3edb2288e2a69b35dede688d851d7d32 Mon Sep 17 00:00:00 2001 From: Sanny Prawira Date: Tue, 18 Feb 2025 22:21:22 +0000 Subject: [PATCH 1/3] for cross project --- dependencies.yml | 6 ++++++ models/example/new_model.sql | 1 - models/foo.sql | 1 + package-lock.yml | 4 ++++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 dependencies.yml delete mode 100644 models/example/new_model.sql create mode 100644 models/foo.sql create mode 100644 package-lock.yml diff --git a/dependencies.yml b/dependencies.yml new file mode 100644 index 0000000..ab63d63 --- /dev/null +++ b/dependencies.yml @@ -0,0 +1,6 @@ +packages: + - package: dbt-labs/dbt_utils + version: 1.3.0 + +projects: + - name: x_project \ No newline at end of file diff --git a/models/example/new_model.sql b/models/example/new_model.sql deleted file mode 100644 index 89db5ce..0000000 --- a/models/example/new_model.sql +++ /dev/null @@ -1 +0,0 @@ -select 1 as potat \ No newline at end of file diff --git a/models/foo.sql b/models/foo.sql new file mode 100644 index 0000000..26d9cae --- /dev/null +++ b/models/foo.sql @@ -0,0 +1 @@ +select 1 as id \ No newline at end of file diff --git a/package-lock.yml b/package-lock.yml new file mode 100644 index 0000000..17c0350 --- /dev/null +++ b/package-lock.yml @@ -0,0 +1,4 @@ +packages: + - package: dbt-labs/dbt_utils + version: 1.3.0 +sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0 From 206d87859b2706a80b1289a62dc06f874477607d Mon Sep 17 00:00:00 2001 From: Sanny Prawira Date: Wed, 19 Feb 2025 14:29:23 +0000 Subject: [PATCH 2/3] add double quotes --- dbt_project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 408926d..7494312 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -2,12 +2,12 @@ # Name your project! Project names should contain only lowercase characters # and underscores. A good package name should reflect your organization's # name or the intended use of these models -name: 'my_new_project' +name: "my_new_project" version: '1.0.0' config-version: 2 # This setting configures which "profile" dbt uses for this project. -profile: 'default' +profile: "default" # These configurations specify where dbt should look for different types of files. # The `model-paths` config, for example, states that models in this project can be From 34a6665ab7a321776a496c9371ebbbd0c4e4887d Mon Sep 17 00:00:00 2001 From: Sanny Prawira Date: Wed, 19 Feb 2025 14:36:16 +0000 Subject: [PATCH 3/3] remove double quote --- dbt_project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 7494312..408926d 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -2,12 +2,12 @@ # Name your project! Project names should contain only lowercase characters # and underscores. A good package name should reflect your organization's # name or the intended use of these models -name: "my_new_project" +name: 'my_new_project' version: '1.0.0' config-version: 2 # This setting configures which "profile" dbt uses for this project. -profile: "default" +profile: 'default' # These configurations specify where dbt should look for different types of files. # The `model-paths` config, for example, states that models in this project can be