Skip to content

Commit

Permalink
Update vars GitHub actions (#4)
Browse files Browse the repository at this point in the history
* updated

* updated

* removed the branch

* updated
  • Loading branch information
xiuy001 authored May 12, 2023
1 parent d5577d9 commit de36354
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dbt_run_streamline_realtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run_dbt_jobs:
runs-on: ubuntu-latest
environment:
name: workflow_prod_backfill
name: workflow_prod

steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 3 additions & 6 deletions macros/streamline/streamline_udfs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
{% endmacro %}

{% macro create_udf_json_rpc() %}
CREATE
OR REPLACE EXTERNAL FUNCTION streamline.udf_json_rpc(
CREATE EXTERNAL FUNCTION IF NOT EXISTS streamline.udf_json_rpc(
json OBJECT
) returns ARRAY api_integration = aws_evmos_api AS {% if target.name == "prod" %}
'https://n0reh6ugbf.execute-api.us-east-1.amazonaws.com/prod/bulk_get_json_rpc'
Expand All @@ -18,8 +17,7 @@
{% endmacro %}

{% macro create_udf_get_tendermint_transactions() %}
CREATE
OR REPLACE EXTERNAL FUNCTION streamline.bulk_get_tendermint_transactions(
CREATE EXTERNAL FUNCTION IF NOT EXISTS streamline.bulk_get_tendermint_transactions(
json OBJECT
) returns ARRAY api_integration = aws_evmos_api AS {% if target.name == "prod" %}
'https://n0reh6ugbf.execute-api.us-east-1.amazonaws.com/prod/bulk_get_tendermint_transactions'
Expand All @@ -29,8 +27,7 @@
{% endmacro %}

{% macro create_udf_get_tendermint_validators() %}
CREATE
OR REPLACE EXTERNAL FUNCTION streamline.bulk_get_tendermint_validators(
CREATE EXTERNAL FUNCTION IF NOT EXISTS streamline.bulk_get_tendermint_validators(
json OBJECT
) returns ARRAY api_integration = aws_evmos_api AS {% if target.name == "prod" %}
'https://n0reh6ugbf.execute-api.us-east-1.amazonaws.com/prod/bulk_get_tendermint_validators'
Expand Down

0 comments on commit de36354

Please sign in to comment.