Skip to content

Commit

Permalink
Merge pull request #28 from fivetran/MagicBot_25117db9b5
Browse files Browse the repository at this point in the history
[MagicBot] Bumping package version
  • Loading branch information
fivetran-joemarkiewicz authored Dec 28, 2021
2 parents 11915da + ff3ad7a commit 1a7b6a6
Show file tree
Hide file tree
Showing 20 changed files with 43 additions and 27 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- run:
name: "Setup dbt"
command: |
sudo apt install libsasl2-dev
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip setuptools
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ target/
dbt_modules/
logs/
.gitignore
.DS_Store
.DS_Store
dbt_packages/
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# dbt_fivetran_log v0.5.0-b1
🎉 dbt v1.0.0 Compatibility Pre Release 🎉 An official dbt v1.0.0 compatible version of the package will be released once existing feature/bug PRs are merged.
## 🚨 Breaking Changes 🚨
- Adjusts the `require-dbt-version` to now be within the range [">=1.0.0", "<2.0.0"]. Additionally, the package has been updated for dbt v1.0.0 compatibility. If you are using a dbt version <1.0.0, you will need to upgrade in order to leverage the latest version of the package.
- For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
- For help upgrading your dbt project to dbt v1.0.0, I recommend reviewing dbt-labs [upgrading to 1.0.0 docs](https://docs.getdbt.com/docs/guides/migration-guide/upgrading-to-1-0-0) for more details on what changes must be made.
- Upgrades the package dependency to refer to the latest `dbt_fivetran_utils`. The latest `dbt_fivetran_utils` package also has a dependency on `dbt_utils` [">=0.8.0", "<0.9.0"].
- Please note, if you are installing a version of `dbt_utils` in your `packages.yml` that is not in the range above then you will encounter a package dependency error.

# dbt_fivetran_log v0.4.1

## 🚨 Breaking Changes
Expand All @@ -17,4 +26,4 @@ Once your connector has completed its priority-first sync and begun syncing norm
- Added this changelog to capture iterations of the package!

## Under the Hood
- n/a
- n/a
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +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)
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
# Fivetran Log ([docs](https://fivetran.github.io/dbt_fivetran_log/#!/overview))

This package models Fivetran Log data from [our free internal connector](https://fivetran.com/docs/logs/fivetran-log). It uses account-level data in the format described by [this ERD](https://fivetran.com/docs/logs/fivetran-log#schemainformation).
Expand Down Expand Up @@ -43,7 +43,7 @@ Include in your `packages.yml`
```yaml
packages:
- package: fivetran/fivetran_log
version: [">=0.4.0", "<0.5.0"]
version: 0.5.0-b1
```
## Package Maintenance
Expand Down
42 changes: 21 additions & 21 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
config-version: 2

name: 'fivetran_log'
version: '0.4.1'
version: '0.5.0'

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

models:
fivetran_log:
+materialized: table
+schema: fivetran_log
staging:
+schema: stg_fivetran_log
tmp:
+materialized: view
fivetran_log:
+materialized: table
+schema: fivetran_log
staging:
+schema: stg_fivetran_log
tmp:
+materialized: view


vars:
fivetran_log:
account: "{{ source('fivetran_log', 'account') }}"
account_membership: "{{ source('fivetran_log', 'account_membership') }}"
active_volume: "{{ source('fivetran_log', 'active_volume') }}"
connector: "{{ source('fivetran_log', 'connector') }}"
credits_used: "{{ source('fivetran_log', 'credits_used') }}"
destination: "{{ source('fivetran_log', 'destination') }}"
destination_membership: "{{ source('fivetran_log', 'destination_membership') }}"
log: "{{ source('fivetran_log', 'log') }}"
transformation: "{{ source('fivetran_log', 'transformation') }}"
trigger_table: "{{ source('fivetran_log', 'trigger_table') }}"
user: "{{ source('fivetran_log', 'user') }}"
fivetran_log:
account: "{{ source('fivetran_log', 'account') }}"
account_membership: "{{ source('fivetran_log', 'account_membership') }}"
active_volume: "{{ source('fivetran_log', 'active_volume') }}"
connector: "{{ source('fivetran_log', 'connector') }}"
credits_used: "{{ source('fivetran_log', 'credits_used') }}"
destination: "{{ source('fivetran_log', 'destination') }}"
destination_membership: "{{ source('fivetran_log', 'destination_membership') }}"
log: "{{ source('fivetran_log', 'log') }}"
transformation: "{{ source('fivetran_log', 'transformation') }}"
trigger_table: "{{ source('fivetran_log', 'trigger_table') }}"
user: "{{ source('fivetran_log', 'user') }}"
7 changes: 6 additions & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
dbt~=0.20.0
dbt-snowflake==1.0.0
dbt-bigquery==1.0.0
dbt-redshift==1.0.0
dbt-postgres==1.0.0
dbt-spark==1.0.0
dbt-spark[PyHive]==1.0.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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/fivetran_utils
version: [">=0.2.0", "<0.3.0"]
version: [">=0.3.0", "<0.4.0"]

0 comments on commit 1a7b6a6

Please sign in to comment.