Skip to content

Commit 2bb0625

Browse files
Buildkite improvements (#18)
Co-authored-by: Catherine Fritz <111930712+fivetran-catfritz@users.noreply.github.com>
1 parent a9fc457 commit 2bb0625

6 files changed

Lines changed: 58 additions & 218 deletions

File tree

.buildkite/hooks/pre-command

Lines changed: 0 additions & 27 deletions
This file was deleted.

.buildkite/pipeline.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.buildkite/scripts/run_models.sh

Lines changed: 0 additions & 38 deletions
This file was deleted.

integration_tests/ci/sample.profiles.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Only set if not using default adapter ranges
2+
# dbt_adapter_versions:
3+
# snowflake: ">=1.3.0,<2.0.0"
4+
# bigquery: ">=1.3.0,<2.0.0"
5+
# postgres: ">=1.3.0,<2.0.0"
6+
# redshift: ">=1.3.0,<2.0.0"
7+
# databricks: ">=1.6.0,<2.0.0"
8+
9+
schema_variable_name: "salesforce_marketing_cloud_schema"
10+
11+
include_databricks_sql: true
12+
include_sqlserver: false
13+
include_dbt_compile: true
14+
15+
test_scenarios:
16+
- name: "Default"
17+
vars: {}
18+
include_incremental: true
19+
20+
- name: "link and list disabled"
21+
vars:
22+
salesforce_marketing_cloud__link_enabled: false
23+
salesforce_marketing_cloud__list_enabled: false
24+
include_incremental: true

integration_tests/dbt_project.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dispatch:
1010

1111
vars:
1212
salesforce_marketing_cloud:
13-
salesforce_marketing_cloud_schema: sfmc_integration_tests_06
13+
salesforce_marketing_cloud_schema: sfmc_integration_tests
1414
salesforce_marketing_cloud_email_identifier: "email_data"
1515
salesforce_marketing_cloud_event_identifier: "event_data"
1616
salesforce_marketing_cloud_link_identifier: "link_data"
@@ -33,18 +33,46 @@ seeds:
3333
show: False
3434
salesforce_marketing_cloud_integration_tests:
3535
+quote_columns: "{{ true if target.type == 'redshift' else false }}"
36-
+column_types:
37-
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
38-
_fivetran_synced: "timestamp"
39-
_fivetran_start: "timestamp"
40-
_fivetran_end: "timestamp"
36+
email_data:
37+
+column_types:
38+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
39+
_fivetran_synced: "timestamp"
40+
_fivetran_start: "timestamp"
41+
_fivetran_end: "timestamp"
4142
event_data:
4243
+column_types:
44+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
45+
_fivetran_synced: "timestamp"
4346
created_date: "timestamp"
47+
link_data:
48+
+column_types:
49+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
50+
_fivetran_synced: "timestamp"
51+
link_send_data:
52+
+column_types:
53+
_fivetran_synced: "timestamp"
54+
list_data:
55+
+column_types:
56+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
57+
_fivetran_synced: "timestamp"
58+
list_subscriber_data:
59+
+column_types:
60+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
61+
_fivetran_synced: "timestamp"
62+
send_data:
63+
+column_types:
64+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
65+
_fivetran_synced: "timestamp"
4466
subscriber_data:
4567
+column_types:
68+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
69+
_fivetran_synced: "timestamp"
4670
created_date: "timestamp"
4771
unsubscribed_date: "timestamp"
72+
triggered_send_data:
73+
+column_types:
74+
id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
75+
_fivetran_synced: "timestamp"
4876
flags:
4977
send_anonymous_usage_stats: False
5078
use_colors: True

0 commit comments

Comments
 (0)