Skip to content

Commit ccf3d58

Browse files
Merge pull request #137 from fivetran/feature/integration-tests-parallel
feature/integration-tests-parallel
2 parents f022d15 + a7ce0e5 commit ccf3d58

File tree

2 files changed

+22
-46
lines changed

2 files changed

+22
-46
lines changed

.buildkite/pipeline.yml

Lines changed: 15 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ steps:
146146
- "CI_DATABRICKS_DBT_TOKEN"
147147
commands: |
148148
bash .buildkite/scripts/run_standard_models.sh databricks tiktok_ads twitter_ads amazon_ads reddit_ads
149-
depends_on:
150-
- step: run_dbt_databricks_ads_1
151-
allow_failure: true
149+
152150
153151
## Ads Packages 3
154152
- label: ":snowflake: Run Tests - Ads Packages :bookmark: :three:"
@@ -223,9 +221,7 @@ steps:
223221
- "CI_DATABRICKS_DBT_TOKEN"
224222
commands: |
225223
bash .buildkite/scripts/run_standard_models.sh databricks google_ads microsoft_ads pinterest
226-
depends_on:
227-
- step: run_dbt_databricks_ads_2
228-
allow_failure: true
224+
229225
230226
## Social Packages
231227
- label: ":snowflake: Run Tests - Social Packages :iphone:"
@@ -300,9 +296,7 @@ steps:
300296
- "CI_DATABRICKS_DBT_TOKEN"
301297
commands: |
302298
bash .buildkite/scripts/run_standard_models.sh databricks linkedin_pages facebook_pages instagram_business twitter_organic youtube_analytics
303-
depends_on:
304-
- step: run_dbt_databricks_ads_3
305-
allow_failure: true
299+
306300
307301
## App Packages
308302
- label: ":snowflake: Run Tests - App Packages :video_game:"
@@ -377,9 +371,7 @@ steps:
377371
- "CI_DATABRICKS_DBT_TOKEN"
378372
commands: |
379373
bash .buildkite/scripts/run_standard_models.sh databricks google_play apple_store
380-
depends_on:
381-
- step: run_dbt_databricks_social
382-
allow_failure: true
374+
383375
384376
## CRM Packages
385377
- label: ":snowflake: Run Tests - CRM Packages :salesforce::hubspot:"
@@ -454,9 +446,7 @@ steps:
454446
- "CI_DATABRICKS_DBT_TOKEN"
455447
commands: |
456448
bash .buildkite/scripts/run_standard_models.sh databricks salesforce hubspot
457-
depends_on:
458-
- step: run_dbt_databricks_app
459-
allow_failure: true
449+
460450
461451
## Ecommerce and Subscription Packages
462452
- label: ":snowflake: Run Tests - Ecommerce and Subscription Packages :shopping_bags:"
@@ -531,9 +521,7 @@ steps:
531521
- "CI_DATABRICKS_DBT_TOKEN"
532522
commands: |
533523
bash .buildkite/scripts/run_standard_models.sh databricks shopify recurly stripe zuora
534-
depends_on:
535-
- step: run_dbt_databricks_crm
536-
allow_failure: true
524+
537525
538526
## Email Marketing Packages
539527
- label: ":snowflake: Run Tests - Email Marketing Packages :email:"
@@ -609,9 +597,7 @@ steps:
609597
commands: |
610598
bash .buildkite/scripts/run_standard_models.sh databricks marketo klaviyo mailchimp pardot
611599
# Iterable removed as it is not databricks compatible for now.
612-
depends_on:
613-
- step: run_dbt_databricks_esub
614-
allow_failure: true
600+
615601

616602
## Finance Packages
617603
- label: ":snowflake: Run Tests - Finance Packages :money_with_wings:"
@@ -687,9 +673,7 @@ steps:
687673
commands: |
688674
bash .buildkite/scripts/run_standard_models.sh databricks xero sage_intacct netsuite
689675
# Quickbooks removed as it is not databricks compatible for now
690-
depends_on:
691-
- step: run_dbt_databricks_email
692-
allow_failure: true
676+
693677

694678
## Log and People Packages
695679
- label: ":snowflake: Run Tests - Log and People Packages :people_hugging:"
@@ -765,9 +749,7 @@ steps:
765749
commands: |
766750
bash .buildkite/scripts/run_standard_models.sh databricks fivetran_log
767751
## Removed greenhouse and lever as it is not databricks compatible at the moment.
768-
depends_on:
769-
- step: run_dbt_databricks_finance
770-
allow_failure: true
752+
771753

772754
## Product Packages
773755
- label: ":snowflake: Run Tests - Product Packages :unicorn_face:"
@@ -842,9 +824,7 @@ steps:
842824
- "CI_DATABRICKS_DBT_TOKEN"
843825
commands: |
844826
bash .buildkite/scripts/run_standard_models.sh databricks amplitude mixpanel pendo
845-
depends_on:
846-
- step: run_dbt_databricks_log_people
847-
allow_failure: true
827+
848828
849829
## Velocity Packages
850830
- label: ":snowflake: Run Tests - Velocity Packages :roller_coaster:"
@@ -920,9 +900,7 @@ steps:
920900
commands: |
921901
bash .buildkite/scripts/run_standard_models.sh databricks github zendesk jira
922902
## Intercome and Asana are removed since they are not compatible with databricks at the moment.
923-
depends_on:
924-
- step: run_dbt_databricks_product
925-
allow_failure: true
903+
926904

927905
## Ad Reporting Roll Up Packages
928906
- label: ":snowflake: Run Tests - Ad Reporting Roll Up Package :roller_skate:"
@@ -997,9 +975,7 @@ steps:
997975
- "CI_DATABRICKS_DBT_TOKEN"
998976
commands: |
999977
bash .buildkite/scripts/run_standard_models.sh databricks ad_reporting
1000-
depends_on:
1001-
- step: run_dbt_databricks_velocity
1002-
allow_failure: true
978+
1003979
1004980
## App Reporting Roll Up Packages
1005981
- label: ":snowflake: Run Tests - App Reporting Roll Up Package :roller_skate:"
@@ -1074,9 +1050,7 @@ steps:
10741050
- "CI_DATABRICKS_DBT_TOKEN"
10751051
commands: |
10761052
bash .buildkite/scripts/run_standard_models.sh databricks app_reporting
1077-
depends_on:
1078-
- step: run_dbt_databricks_ad_roll
1079-
allow_failure: true
1053+
10801054
10811055
## Social Media Reporting Roll Up Packages
10821056
- label: ":snowflake: Run Tests - Social Reporting Roll Up Package :roller_skate:"
@@ -1151,9 +1125,7 @@ steps:
11511125
- "CI_DATABRICKS_DBT_TOKEN"
11521126
commands: |
11531127
bash .buildkite/scripts/run_standard_models.sh databricks social_media_reporting
1154-
depends_on:
1155-
- step: run_dbt_databricks_app_roll
1156-
allow_failure: true
1128+
11571129
11581130
## Shopify Holistic Reporting Roll Up Packages
11591131
- label: ":snowflake: Run Tests - Shopify Holistic Reporting Roll Up Package :roller_skate:"
@@ -1228,6 +1200,4 @@ steps:
12281200
- "CI_DATABRICKS_DBT_TOKEN"
12291201
commands: |
12301202
bash .buildkite/scripts/run_standard_models.sh databricks shopify_holistic_reporting
1231-
depends_on:
1232-
- step: run_dbt_databricks_social_roll
1233-
allow_failure: true
1203+

integration_tests/dbt_project.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ profile: 'integration_tests'
55

66
clean-targets:
77
- "target"
8-
- "dbt_packages"
8+
- "dbt_packages"
9+
10+
dispatch:
11+
- macro_namespace: fivetran_utils
12+
search_order: ['spark_utils', 'fivetran_utils']
13+
- macro_namespace: dbt_utils
14+
search_order: ['spark_utils', 'fivetran_utils', 'dbt_utils']

0 commit comments

Comments
 (0)