Skip to content

Commit

Permalink
Merge pull request #23 from fivetran/feature/autorelease-bot
Browse files Browse the repository at this point in the history
Add in autorelease bot
  • Loading branch information
fivetran-avinash authored Apr 30, 2024
2 parents 1faa6df + 4c316c7 commit 213e765
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'auto release'
on:
pull_request:
types:
- closed
branches:
- main

jobs:
call-workflow-passing-data:
if: github.event.pull_request.merged
uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main
secrets: inherit
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
## 🚘 Under the Hood 🚘
- Cast `property_value` in the `integration_tests/dbt_project.yml` to ensure the field was originally being cast as a string or varchar data type for testing purposes.
- Updated the `event` seed file to test for values that aren't numerics.
- Updated the pull request template.
- Updated the pull request template.
- Included auto-releaser GitHub Actions workflow to automate future releases.

## Contributors
- [@vnguyen12](https://github.com/vnguyen12) [#21](https://github.com/fivetran/dbt_klaviyo_source/pull/21)
Expand Down
10 changes: 5 additions & 5 deletions integration_tests/ci/sample.profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ integration_tests:
pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}"
dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}"
port: 5439
schema: klaviyo_source_integration_tests_3
schema: klaviyo_source_integration_tests_4
threads: 8
bigquery:
type: bigquery
method: service-account-json
project: 'dbt-package-testing'
schema: klaviyo_source_integration_tests_3
schema: klaviyo_source_integration_tests_4
threads: 8
keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}"
snowflake:
Expand All @@ -33,7 +33,7 @@ integration_tests:
role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}"
database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}"
warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}"
schema: klaviyo_source_integration_tests_3
schema: klaviyo_source_integration_tests_4
threads: 8
postgres:
type: postgres
Expand All @@ -42,13 +42,13 @@ integration_tests:
pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}"
dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}"
port: 5432
schema: klaviyo_source_integration_tests_3
schema: klaviyo_source_integration_tests_4
threads: 8
databricks:
catalog: "{{ env_var('CI_DATABRICKS_DBT_CATALOG') }}"
host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}"
http_path: "{{ env_var('CI_DATABRICKS_DBT_HTTP_PATH') }}"
schema: klaviyo_source_integration_tests_3
schema: klaviyo_source_integration_tests_4
threads: 8
token: "{{ env_var('CI_DATABRICKS_DBT_TOKEN') }}"
type: databricks
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ vars:
klaviyo_metric_identifier: "metric"
klaviyo__event_pass_through_columns: []
klaviyo__person_pass_through_columns: []
klaviyo_schema: klaviyo_source_integration_tests_3
klaviyo_schema: klaviyo_source_integration_tests_4

seeds:
klaviyo_source_integration_tests:
Expand Down

0 comments on commit 213e765

Please sign in to comment.