diff --git a/README.md b/README.md index 6307924..f9abeb2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![dbt logo and version](https://img.shields.io/static/v1?logo=dbt&label=dbt-version&message=0.20.x&color=orange) # Greenhouse Source ([docs](https://fivetran-dbt-greenhouse.netlify.app/#!/overview)) This package models Greenhouse recruiting data from [Fivetran's connector](https://fivetran.com/docs/applications/greenhouse). It uses data in the format described by [this ERD](https://fivetran.com/docs/applications/greenhouse#schemainformation). @@ -18,7 +19,13 @@ This package contains staging models, designed to work simultaneously with our [ * Foreign keys include the table that they refer to. For example, an application's recruiter user ID column is renamed `recruiter_user_id`. ## Installation Instructions -Check [dbt Hub](https://hub.getdbt.com/) for the latest installation instructions, or [read the dbt docs](https://docs.getdbt.com/docs/package-management) for more information on installing packages. +Include in your `packages.yml` + +```yaml +packages: + - package: fivetran/greenhouse_source + version: [">=0.3.0", "<0.4.0"] +``` ## Configuration By default, this package looks for your Greenhouse data in the `greenhouse` schema of your [target database](https://docs.getdbt.com/docs/running-a-dbt-project/using-the-command-line-interface/configure-your-profile). If this is not where your Greenhouse data is, add the following configuration to your `dbt_project.yml` file: diff --git a/dbt_project.yml b/dbt_project.yml index 286fca6..95d1a9b 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,7 +1,7 @@ name: 'greenhouse_source' -version: '0.2.0' +version: '0.3.0' config-version: 2 -require-dbt-version: [">=0.18.0", "<0.20.0"] +require-dbt-version: ">=0.20.0" vars: diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 1ffe2e4..f489d3a 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'greenhouse_source_integration_tests' -version: '0.1.0' +version: '0.3.0' config-version: 2 profile: 'integration_tests' diff --git a/integration_tests/requirements.txt b/integration_tests/requirements.txt index 38e8ae6..1b85aa4 100644 --- a/integration_tests/requirements.txt +++ b/integration_tests/requirements.txt @@ -1 +1 @@ -dbt==0.19.0 \ No newline at end of file +dbt~=0.20.0 \ No newline at end of file diff --git a/packages.yml b/packages.yml index f70da7e..f85d0bc 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: -- package: fivetran/fivetran_utils - version: [">=0.1.0", "<0.2.0"] + - package: fivetran/fivetran_utils + version: [">=0.2.0", "<0.3.0"]