Skip to content

Commit

Permalink
Merge pull request #12 from fivetran/feature/dbt20-updates
Browse files Browse the repository at this point in the history
dbt20 compatibility updates
  • Loading branch information
fivetran-joemarkiewicz authored Jul 23, 2021
2 parents 8fb309c + 46b6eac commit 80db631
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
# Asana ([docs](https://fivetran-dbt-asana.netlify.app/#!/overview))

This package models Asana data from [Fivetran's connector](https://fivetran.com/docs/applications/asana). It uses data in the format described by [this ERD](https://fivetran.com/docs/applications/asana#schemainformation).
Expand All @@ -23,6 +24,14 @@ This package contains transformation models, designed to work simultaneously wit
## 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/asana
version: [">=0.4.0", "<0.5.0"]
```
## Configuration
By default, this package will look for your Asana data in the `asana` 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 Asana data is, please add the following configuration to your `dbt_project.yml` file:

Expand Down Expand Up @@ -73,8 +82,11 @@ or open PRs against `master`. Check out
on the best workflow for contributing to a package.

## Resources:
- Provide [feedback](https://www.surveymonkey.com/r/DQ7K7WW) on our existing dbt packages or what you'd like to see next
- Have questions, feedback, or need help? Book a time during our office hours [using Calendly](https://calendly.com/fivetran-solutions-team/fivetran-solutions-team-office-hours) or email us at [email protected]
- Find all of Fivetran's pre-built dbt packages in our [dbt hub](https://hub.getdbt.com/fivetran/)
- Learn more about Fivetran [in the Fivetran docs](https://fivetran.com/docs)
- Learn how to orchestrate [dbt transformations with Fivetran](https://fivetran.com/docs/transformations/dbt)
- Learn more about Fivetran overall [in our docs](https://fivetran.com/docs)
- Check out [Fivetran's blog](https://fivetran.com/blog)
- Learn more about dbt [in the dbt docs](https://docs.getdbt.com/docs/introduction)
- Check out [Discourse](https://discourse.getdbt.com/) for commonly asked questions and answers
Expand Down
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
config-version: 2

name: 'asana'
version: '0.3.0'
version: '0.4.0'

require-dbt-version: [">=0.18.0", "<0.20.0"]
require-dbt-version: ">=0.20.0"

models:
asana:
Expand Down
4 changes: 1 addition & 3 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
config-version: 2

name: 'asana_integration_tests'
version: '0.3.0'

require-dbt-version: [">=0.18.0", "<0.20.0"]
version: '0.4.0'
profile: 'integration_tests'

vars:
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dbt==0.19.0
dbt~=0.20.0
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fivetran/asana_source
version: [">=0.3.0","<0.4.0"]
version: [">=0.4.0","<0.5.0"]

0 comments on commit 80db631

Please sign in to comment.