Skip to content

Commit 43b6d84

Browse files
authored
Merge pull request #222 from dbt-labs/fix/update_ci_commands_readme
Update CI commands in README
2 parents 258ac2a + bcb469a commit 43b6d84

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Currently, the following adapters are supported:
1616
- PostgreSQL
1717
- Redshift
1818
- Snowflake
19+
- DuckDB
1920

2021
## Using This Package
2122

@@ -44,6 +45,11 @@ This package will:
4445

4546
Once you've installed the package, all you have to do is run a `dbt build --select package:dbt_project_evaluator`!
4647

48+
Each test warning indicates the presence of a type of misalignment. To troubleshoot a misalignment:
49+
1. Locate the related documentation below
50+
2. Query the associated model to find the specific instances of the issue within your project
51+
3. Either fix the issue(s) or [customize](#customization) the package to exclude them
52+
4753
----
4854
## Package Documentation
4955

@@ -1053,20 +1059,24 @@ models:
10531059

10541060
### 2. Run this package for each pull request
10551061

1056-
Now, you can run this package as a step of your CI job/pipeline. In dbt Cloud, for example, you could simply add this command to your CI job:
1062+
Now, you can run this package as a step of your CI job/pipeline. In dbt Cloud, for example, you could update the commands of your CI job to:
1063+
10571064
```
1065+
dbt build --select state:modified+ --exclude package:dbt_project_evaluator
10581066
dbt build --select package:dbt_project_evaluator
10591067
```
1060-
Or, if you've [configured any exceptions](#configuring-exceptions-to-the-rules), this command:
1068+
1069+
Or, if you've [configured any exceptions](#configuring-exceptions-to-the-rules), to:
1070+
10611071
```
1072+
dbt build --select state:modified+ --exclude package:dbt_project_evaluator
10621073
dbt build --select package:dbt_project_evaluator dbt_project_evaluator_exceptions
10631074
```
10641075
1065-
![Add command dbt build --select package:dbt_project_evaluator to CI job in dbt Cloud](https://user-images.githubusercontent.com/53586774/190683931-5010349f-0adc-454c-bf34-66e4bf9ef2f8.png)
1076+
<img width="500" alt="Add commands dbt build --select state:modified+ --exclude package:dbt_project_evaluator && dbt build --select package:dbt_project_evaluator dbt_project_evaluator_exceptions to CI job in dbt Cloud" src="https://user-images.githubusercontent.com/53586774/194086949-281cec1b-e6bf-4df2-a63f-302dc3bc4ba6.png">
10661077
10671078
Note: ensure you have properly set up your dbt Cloud CI job using deferral and a webhook trigger by following [this documentation](https://docs.getdbt.com/docs/dbt-cloud/using-dbt-cloud/cloud-enabling-continuous-integration).
10681079
1069-
10701080
----
10711081
10721082
## Querying the DAG with SQL

0 commit comments

Comments
 (0)