Skip to content

Commit 488e78b

Browse files
Release/v0.8.0 (#53)
* release/v0.8.0 --------- Co-authored-by: Rajan Patel <rajan.patel@lacework.net>
1 parent b5bf796 commit 488e78b

File tree

11 files changed

+58
-58
lines changed

11 files changed

+58
-58
lines changed

.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,26 @@
44
**This PR will result in the following new package version:**
55
<!--- Please add details around your decision for breaking vs non-breaking version upgrade. If this is a breaking change, were backwards-compatible options explored? -->
66

7-
**Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:**
7+
**Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:**
8+
<!--- Copy/paste the CHANGELOG for this version below. -->
89

910
## PR Checklist
1011
### Basic Validation
1112
Please acknowledge that you have successfully performed the following commands locally:
12-
- [ ] dbt compile
13-
- [ ] dbt run –full-refresh
14-
- [ ] dbt run
15-
- [ ] dbt test
16-
- [ ] dbt run –vars (if applicable)
13+
- [ ] dbt run –full-refresh && dbt test
14+
- [ ] dbt run (if incremental models are present) && dbt test
1715

1816
Before marking this PR as "ready for review" the following have been applied:
19-
- [ ] The appropriate issue has been linked and tagged
20-
- [ ] You are assigned to the corresponding issue and this PR
17+
- [ ] The appropriate issue has been linked, tagged, and properly assigned
18+
- [ ] All necessary documentation and version upgrades have been applied
19+
- [ ] docs were regenerated (unless this PR does not include any code or yml updates)
2120
- [ ] BuildKite integration tests are passing
21+
- [ ] Detailed validation steps have been provided below
2222

2323
### Detailed Validation
24-
Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":
25-
- [ ] You have validated these changes and assure this PR will address the respective Issue/Feature.
26-
- [ ] You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
27-
- [ ] You have provided details below around the validation steps performed to gain confidence in these changes.
24+
Please share any and all of your validation steps:
2825
<!--- Provide the steps you took to validate your changes below. -->
2926

30-
### Standard Updates
31-
Please acknowledge that your PR contains the following standard updates:
32-
- Package versioning has been appropriately indexed in the following locations:
33-
- [ ] indexed within dbt_project.yml
34-
- [ ] indexed within integration_tests/dbt_project.yml
35-
- [ ] CHANGELOG has individual entries for each respective change in this PR
36-
<!--- If there is a parallel upstream change, remember to reference the corresponding CHANGELOG as an individual entry. -->
37-
- [ ] README updates have been applied (if applicable)
38-
<!--- Remember to check the following README locations for common updates. →
39-
<!--- Suggested install range (needed for breaking changes) →
40-
<!--- Dependency matrix is appropriately updated (if applicable) →
41-
<!--- New variable documentation (if applicable) -->
42-
- [ ] DECISIONLOG updates have been updated (if applicable)
43-
- [ ] Appropriate yml documentation has been added (if applicable)
44-
45-
### dbt Docs
46-
Please acknowledge that after the above were all completed the below were applied to your branch:
47-
- [ ] docs were regenerated (unless this PR does not include any code or yml updates)
48-
4927
### If you had to summarize this PR in an emoji, which would it be?
5028
<!--- For a complete list of markdown compatible emojis check our this git repo (https://gist.github.com/rxaviers/7360908) -->
51-
:dancer:
29+
:dancer:

.github/workflows/auto-release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'auto release'
2+
on:
3+
pull_request:
4+
types:
5+
- closed
6+
branches:
7+
- main
8+
9+
jobs:
10+
call-workflow-passing-data:
11+
if: github.event.pull_request.merged
12+
uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main
13+
secrets: inherit

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
# dbt_github NEXT.RELEASE
1+
# dbt_github v0.8.0
2+
[PR #53](https://github.com/fivetran/dbt_jira/dbt_github/53) contains the following updates:
3+
4+
## 🚨 Breaking Change 🚨
5+
- For consistency with other Fivetran packages, added default target schemas in `dbt_project.yml`. This is a breaking change since the model outputs will now be stored in a schema called `<your target schema>_github` by default. You will need to update any of your downstream use cases to point to the new schema.
6+
- Refer to [the Change the Build Schema section](https://github.com/fivetran/dbt_github/blob/main/README.md#change-the-build-schema) of the README for instructions on how to adjust the output schema.
27

38
## Under the Hood:
9+
- Updated the maintainer PR template to the current format.
410
- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job. ([PR #49](https://github.com/fivetran/dbt_github/pull/49))
5-
- Updated the pull request [templates](/.github). ([PR #49](https://github.com/fivetran/dbt_github/pull/49))
611
- Updated the `quickstart.yml` file to allow for automated Quickstart data model deployments. ([PR #51](https://github.com/fivetran/dbt_github/pull/51))
712

13+
## Contributors
14+
- [@rajan-lw](https://github.com/rajan-lw) ([PR #48](https://github.com/fivetran/dbt_github/pull/48))
15+
816
# dbt_github v0.7.0
917

1018
## 🚨 Breaking Change 🚨

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Include the following github package version in your `packages.yml` file.
5858
```yaml
5959
packages:
6060
- package: fivetran/github
61-
version: [">=0.7.0", "<0.8.0"] # we recommend using ranges to capture non-breaking changes automatically
61+
version: [">=0.8.0", "<0.9.0"] # we recommend using ranges to capture non-breaking changes automatically
6262
```
6363

6464
Do NOT include the `github_source` package in this file. The transformation package itself has a dependency on it and will install the source package as well.
@@ -88,10 +88,10 @@ vars:
8888

8989
## (Optional) Step 5: Additional configurations
9090

91-
<details><summary>Expand for configurations</summary>
91+
<details open><summary>Expand/collapse configurations</summary>
9292

9393
### Change the build schema
94-
By default, this package builds the Github staging models within a schema titled (`<target_schema>` + `_stg_github`) and your Github modeling models within a schema titled (`<target_schema>` + `_github`) in your destination. If this is not where you would like your Github data to be written to, add the following configuration to your root `dbt_project.yml` file:
94+
By default, this package builds the Github staging models within a schema titled (`<target_schema>` + `_github_source`) and your Github modeling models within a schema titled (`<target_schema>` + `_github`) in your destination. If this is not where you would like your Github data to be written to, add the following configuration to your root `dbt_project.yml` file:
9595

9696
```yml
9797
models:
@@ -131,7 +131,7 @@ packages:
131131
version: [">=1.0.0", "<2.0.0"]
132132
133133
- package: fivetran/github_source
134-
version: [">=0.7.0", "<0.8.0"]
134+
version: [">=0.8.0", "<0.9.0"]
135135
136136
- package: dbt-labs/spark_utils
137137
version: [">=0.3.0", "<0.4.0"]

dbt_project.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
config-version: 2
22
name: 'github'
3-
version: '0.7.0'
3+
version: '0.8.0'
44
require-dbt-version: [">=1.3.0", "<2.0.0"]
55
models:
66
github:
7-
materialized: table
7+
+materialized: table
8+
+schema: github
89
intermediate:
9-
materialized: ephemeral
10+
+materialized: ephemeral
1011
vars:
1112
github:
1213
issue_assignee: "{{ ref('stg_github__issue_assignee') }}"

docs/catalog.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/index.html

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/run_results.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

integration_tests/dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'github_integration_tests'
2-
version: '0.7.0'
2+
version: '0.8.0'
33
config-version: 2
44
profile: 'integration_tests'
55
vars:

0 commit comments

Comments
 (0)