dbt-labs / dbt-labs/dbt-codegen

Document setup steps for databases for CI tests

Open
#209 1 comment 0 reactions 0 assignees View on GitHub
enhancement Stale
Dominant language
Makefile
Stars
676
Forks
132
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature

The CI tests for this dbt package run against the following databases:
- Postgres
- BigQuery
- Redshift
- Snowflake

We want to be able to set these up from scratch and know how to configure them for use in CI. This includes things like necessary permissions, expected settings that differ from the default, and how to accomplish authentication/authorization via environment variables.

So we should create documentation that outlines all of the necessary steps to set these up from scratch.

### Who will this benefit?
What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.

This will directly benefit the maintainers of this package by empowering setup from scratch. It could also indirectly benefit maintainers of other dbt Labs packages for the same reason.

### Anything else?

Instigated by:
- https://github.com/dbt-labs/dbt-codegen/pull/203
- https://github.com/dbt-labs/dbt-codegen/pull/204
- https://github.com/dbt-labs/dbt-codegen/pull/208

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the CI test setup for Postgres, BigQuery, Redshift, and Snowflake, then read the referenced pull requests 203, 204, and 208 for existing setup details. Document permissions, non-default settings, and environment-variable authentication and authorization for each database so maintainers can reproduce the CI setup from scratch.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, postgres
Domain
ci-cd, databases, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.