From 68ad064c0d0c0d4e9ba75af04777bb6e566e6eaa Mon Sep 17 00:00:00 2001 From: Jensen Yap Date: Tue, 10 Dec 2024 14:29:17 +0900 Subject: [PATCH 1/2] Update fsc-utils package revision to v1.33.0 in packages.yml --- packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.yml b/packages.yml index 19f9153b1..1e9c57054 100644 --- a/packages.yml +++ b/packages.yml @@ -6,7 +6,7 @@ packages: - package: dbt-labs/dbt_utils version: 1.0.0 - git: https://github.com/FlipsideCrypto/fsc-utils.git - revision: "v1.30.0" + revision: "v1.33.0" - git: https://github.com/FlipsideCrypto/fsc-evm.git revision: "v1.6.0" - package: get-select/dbt_snowflake_query_tags From 77db87b16d7b01cea23c9442281e1436bd58cc75 Mon Sep 17 00:00:00 2001 From: Jensen Yap Date: Tue, 10 Dec 2024 14:32:14 +0900 Subject: [PATCH 2/2] Update DBT workflows to use 'livequery_base' --- .github/workflows/dbt_run_dev_refresh.yml | 6 +++--- .github/workflows/dbt_test_daily.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dbt_run_dev_refresh.yml b/.github/workflows/dbt_run_dev_refresh.yml index 0f0575ae1..e99edaaba 100644 --- a/.github/workflows/dbt_run_dev_refresh.yml +++ b/.github/workflows/dbt_run_dev_refresh.yml @@ -6,7 +6,7 @@ on: schedule: # Runs "Monday at 4:00 UTC" (see https://crontab.guru) - cron: '0 4 * * 1' - + env: DBT_PROFILES_DIR: ./ @@ -27,7 +27,7 @@ concurrency: jobs: run_dbt_jobs: runs-on: ubuntu-latest - environment: + environment: name: workflow_prod steps: @@ -68,4 +68,4 @@ jobs: - name: Run Recreate UDFs run: | dbt run-operation fsc_utils.create_evm_streamline_udfs --vars '{"UPDATE_UDFS_AND_SPS":True}' -t dev - dbt run -s livequery_models.deploy.core._live --vars '{"UPDATE_UDFS_AND_SPS":True}' -t dev \ No newline at end of file + dbt run -s livequery_base.deploy.core._live --vars '{"UPDATE_UDFS_AND_SPS":True}' -t dev diff --git a/.github/workflows/dbt_test_daily.yml b/.github/workflows/dbt_test_daily.yml index b6551ffe7..d8861be69 100644 --- a/.github/workflows/dbt_test_daily.yml +++ b/.github/workflows/dbt_test_daily.yml @@ -6,7 +6,7 @@ on: schedule: # Runs "at 9:00 UTC" (see https://crontab.guru) - cron: '0 9 * * *' - + env: DBT_PROFILES_DIR: ./ @@ -27,7 +27,7 @@ concurrency: jobs: run_dbt_jobs: runs-on: ubuntu-latest - environment: + environment: name: workflow_test steps: @@ -44,7 +44,7 @@ jobs: dbt deps - name: Run DBT Jobs run: | - dbt test --exclude "ethereum_models,tag:full_test" "ethereum_models,tag:recent_test" "ethereum_models,tag:beacon" "ethereum_models,tag:gha_tasks" livequery_models - + dbt test --exclude "ethereum_models,tag:full_test" "ethereum_models,tag:recent_test" "ethereum_models,tag:beacon" "ethereum_models,tag:gha_tasks" livequery_base +