Skip to content

Commit

Permalink
Merge branch 'main' into feature/monthly_active_users
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-springer authored Jan 22, 2024
2 parents 0e48d82 + 9caf9da commit 3ab527e
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The following models and configurations are used to transform, load, and model d

Our anticipated release schedule is as follows:

## Release Name (Release Date)
### Release Name (Release Date)
0. [Pre-Release] **Hydrone** v1.0.2023 2023-12-15
1. [Release 1] **Hydrone** v1.1.2024 2024-02-05


### Using dbt
#### Using dbt
For starters, you should set-up a local dbt-core install or dbt Cloud environment.

After you set up dbt, try running the following commands:
Expand All @@ -23,10 +23,7 @@ After you set up dbt, try running the following commands:
* `dbt run --select /dbt/models/marts/*`

#### Resources:
Our [style guide](https://docs.getdbt.com/best-practices/how-we-style/0-how-we-style-our-dbt-projects) (for the most part...)
* For best practices in our design and implementation.
* For our **sql** style-guide, we follow [Gitlab's standards](https://handbook.gitlab.com/handbook/business-technology/data-team/platform/sql-style-guide/)
* If you really want to [nerd out...](https://handbook.gitlab.com/handbook/business-technology/data-team/platform/dbt-guide/)

* Please refer to our `sql`/`dbt` [style guide](https://docs.getdbt.com/best-practices/how-we-style/1-how-we-style-our-dbt-models) for building models
* For a more detailed guide on buildilng our `dbt-project` see [here](https://handbook.gitlab.com/handbook/business-technology/data-team/platform/dbt-guide/)
* Join the chat on [Slack](getdbt.slack.com) for live discussions and support
* Check out the [blog](https://docs.getdbt.com/blog) for the latest news on dbt's development and best practices
1 change: 1 addition & 0 deletions docs/catalog.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/graph_summary.json

Large diffs are not rendered by default.

102 changes: 102 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/manifest.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions docs/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Readme: How to Deploy dbt docs
## Author(s): js, ag
## Last Update: 2024-01-21

In DBT cloud, click into the latest successful deploy run
Click artifacts
Download all (7) of the .json files and the index.html file
Sources.json
Semantic_manifest.json
Run_results.json
Manifest.json
Index.html
Graph_summary.json
Catalog.json
I think this is all the files to download, but not 100% positive. I believe that all the .sql files in the compiled/ directory will be generated for you when you run “dbt docs serve”
In the local repo, make a folder called target (~/dbt/target/)/
Copy all of the downloaded files into that folder
Run dbt docs serve
Verify that the local docs server is working as expected
Rename replace contents of docs/ folder with the contents of the target/ folder
Commit and push changes
Once new docs/ folder is merged into main, github will automatically update the docs site
1 change: 1 addition & 0 deletions docs/run_results.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/semantic_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"semantic_models": [], "metrics": [], "project_configuration": {"time_spine_table_configurations": [], "metadata": null, "dsi_package_version": {"major_version": "0", "minor_version": "4", "patch_version": "3"}}, "saved_queries": []}
1 change: 1 addition & 0 deletions docs/sources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/sources/v3.json", "dbt_version": "1.7.5", "generated_at": "2024-01-21T21:50:47.527101Z", "invocation_id": "a44fc2f6-b467-4881-9214-d634cad37221", "env": {"DBT_CLOUD_PROJECT_ID": "286339", "DBT_CLOUD_RUN_ID": "243232111", "DBT_CLOUD_JOB_ID": "412302", "DBT_CLOUD_RUN_REASON": "Kicked off from UI by jordan.springer@code.org", "DBT_CLOUD_RUN_REASON_CATEGORY": "other", "DBT_CLOUD_RUN_TRIGGER_CATEGORY": "RUN_REASON_CATEGORY_UI", "DBT_CLOUD_ENVIRONMENT_ID": "233228", "DBT_CLOUD_ACCOUNT_ID": "182221"}}, "results": [], "elapsed_time": 0.0}

0 comments on commit 3ab527e

Please sign in to comment.