Skip to content

Commit

Permalink
Merge branch 'master' into test-sources
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit authored Apr 18, 2024
2 parents 0d05d9a + 33c1125 commit 4ddacc7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- id: "get-credentials"
uses: "google-github-actions/get-gke-credentials@v2"
with:
cluster_name: "us-central1-hubble-1pt5-dev-7db0e004-gke"
location: "us-central1-c"
cluster_name: "us-central1-test-hubble-2-5f1f2dbf-gke"
location: "us-central1"

- name: Pytest
run: pytest dags/
Expand Down
4 changes: 2 additions & 2 deletions airflow_variables_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"partnership_assets__account_holders_activity_fact": false,
"partnership_assets__asset_activity_fact": false
},
"dbt_image_name": "stellar/stellar-dbt:b621192",
"dbt_image_name": "stellar/stellar-dbt:8ae3438",
"dbt_job_execution_timeout_seconds": 300,
"dbt_job_retries": 1,
"dbt_mart_dataset": "test_sdf_marts",
Expand All @@ -62,7 +62,7 @@
"dbt_threads": 12,
"gcs_exported_data_bucket_name": "us-central1-test-hubble-2-5f1f2dbf-bucket",
"gcs_exported_object_prefix": "dag-exported",
"image_name": "chowbao/stellar-etl:cdp-test3",
"image_name": "stellar/stellar-etl:395f1f8",
"image_output_path": "/etl/exported_data/",
"image_pull_policy": "IfNotPresent",
"kube_config_location": "",
Expand Down
4 changes: 2 additions & 2 deletions airflow_variables_prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"partnership_assets__asset_activity_fact": false,
"trade_agg": false
},
"dbt_image_name": "stellar/stellar-dbt:b621192",
"dbt_image_name": "stellar/stellar-dbt:8ae3438",
"dbt_job_execution_timeout_seconds": 1800,
"dbt_job_retries": 1,
"dbt_mart_dataset": "sdf_marts",
Expand All @@ -153,7 +153,7 @@
"dbt_threads": 12,
"gcs_exported_data_bucket_name": "us-central1-hubble-2-d948d67b-bucket",
"gcs_exported_object_prefix": "dag-exported",
"image_name": "stellar/stellar-etl:75c9a9c",
"image_name": "stellar/stellar-etl:395f1f8",
"image_output_path": "/etl/exported_data/",
"image_pull_policy": "IfNotPresent",
"kube_config_location": "",
Expand Down
15 changes: 9 additions & 6 deletions dags/dbt_sdf_marts_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@

mgi_task = dbt_task(dag, tag="mgi")
liquidity_providers_task = dbt_task(dag, tag="liquidity_providers")
# liquidity_pools_values_task = dbt_task(dag, tag="liquidity_pools_value")
# liquidity_pools_value_history_task = dbt_task(dag, tag="liquidity_pools_value_history")
liquidity_pools_values_task = dbt_task(dag, tag="liquidity_pools_value")
liquidity_pools_value_history_task = dbt_task(dag, tag="liquidity_pools_value_history")
trade_agg_task = dbt_task(dag, tag="trade_agg")
fee_stats_agg_task = dbt_task(dag, tag="fee_stats")
asset_stats_agg_task = dbt_task(dag, tag="asset_stats")
network_stats_agg_task = dbt_task(dag, tag="network_stats")
partnership_assets_task = dbt_task(dag, tag="partnership_assets")
history_assets = dbt_task(dag, tag="history_assets")
soroban = dbt_task(dag, tag="soroban")
snapshot_state = dbt_task(dag, tag="snapshot_state")

elementary = elementary_task(dag, "dbt_sdf_marts")

Expand All @@ -57,20 +58,21 @@
wait_on_partner_pipeline_dag >> mgi_task

wait_on_dbt_enriched_base_tables >> liquidity_providers_task
# wait_on_dbt_enriched_base_tables >> liquidity_pools_values_task
# wait_on_dbt_enriched_base_tables >> liquidity_pools_value_history_task
wait_on_dbt_enriched_base_tables >> liquidity_pools_values_task
wait_on_dbt_enriched_base_tables >> liquidity_pools_value_history_task
wait_on_dbt_enriched_base_tables >> trade_agg_task
wait_on_dbt_enriched_base_tables >> fee_stats_agg_task
wait_on_dbt_enriched_base_tables >> asset_stats_agg_task
wait_on_dbt_enriched_base_tables >> network_stats_agg_task
wait_on_dbt_enriched_base_tables >> partnership_assets_task
wait_on_dbt_enriched_base_tables >> history_assets
wait_on_dbt_enriched_base_tables >> soroban
wait_on_dbt_enriched_base_tables >> snapshot_state

mgi_task >> elementary
liquidity_providers_task >> elementary
# liquidity_pools_values_task >> elementary
# liquidity_pools_value_history_task >> elementary
liquidity_pools_values_task >> elementary
liquidity_pools_value_history_task >> elementary
trade_agg_task >> elementary
fee_stats_agg_task >> elementary
asset_stats_agg_task >> elementary
Expand All @@ -79,3 +81,4 @@
history_assets >> elementary
soroban >> elementary
liquidity_pool_trade_volume_task >> elementary
snapshot_state >> elementary
5 changes: 5 additions & 0 deletions schemas/history_operations_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,11 @@
"mode": "NULLABLE",
"name": "contract_code_hash",
"type": "STRING"
},
{
"mode": "REPEATED",
"name": "ledger_key_hash",
"type": "STRING"
}
],
"mode": "NULLABLE",
Expand Down

0 comments on commit 4ddacc7

Please sign in to comment.