mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:47:03 +00:00
* updated and added the rest api client and call * updated * increased sql limit * updated params * refresh * updated * updated the rest api call format * updated * updated * updated
35 lines
962 B
YAML
35 lines
962 B
YAML
name: dbt_run_streamline_transactions_realtime
|
|
run-name: dbt_run_streamline_transactions_realtime
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# Runs "at minute 10 and 40, every hour" (see https://crontab.guru)
|
|
- cron: '10,40 * * * *'
|
|
|
|
env:
|
|
DBT_PROFILES_DIR: ./
|
|
|
|
ACCOUNT: "${{ vars.ACCOUNT }}"
|
|
ROLE: "${{ vars.ROLE }}"
|
|
USER: "${{ vars.USER }}"
|
|
PASSWORD: "${{ secrets.PASSWORD }}"
|
|
REGION: "${{ vars.REGION }}"
|
|
DATABASE: "${{ vars.DATABASE }}"
|
|
WAREHOUSE: "${{ vars.WAREHOUSE }}"
|
|
SCHEMA: "${{ vars.SCHEMA }}"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}
|
|
|
|
jobs:
|
|
called_workflow_template:
|
|
uses: FlipsideCrypto/analytics-workflow-templates/.github/workflows/dbt_run_template.yml@main
|
|
with:
|
|
dbt_command: |
|
|
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m 1+models/streamline/core/realtime/streamline__tx_search_realtime.sql
|
|
|
|
environment: workflow_prod
|
|
warehouse: ${{ vars.WAREHOUSE }}
|
|
secrets: inherit
|