optimism-models/.github/workflows/dbt_run_adhoc.yml
drethereum 6623a042f3
AN-5991/op-migration (#340)
* streamline bronze

* silver models

* gold tables

* docs, gha

* bronze folders

* macros

* make file, packages, project yml, delete tests

* remove silver nft transfers ref

* sources

* macro tests

* update for fsc-evm changes - package, makefile, sources, dbt_project, workflows, docs

* gold tags

* add ethereum models back in

* silver bridge tags

* dex tags

* lending tags

* nft tags

* added back protocols folder and tagged

* temp package

* docs

* docs

* wh

* observability exclusions

* 48

* v51

* 52

* 53

---------

Co-authored-by: sam <sam@flipsidecrypto.com>
2025-05-08 13:54:57 -06:00

43 lines
983 B
YAML

name: dbt_run_adhoc
run-name: ${{ inputs.dbt_command }}
on:
workflow_dispatch:
branches:
- "main"
inputs:
target:
type: choice
description: DBT Run Environment
required: true
options:
- dev
- prod
default: dev
warehouse:
type: choice
description: Snowflake warehouse
required: true
options:
- DBT
- DBT_CLOUD
- DBT_EMERGENCY
- DBT_MEGA
default: DBT
dbt_command:
type: string
description: 'DBT Run Command'
required: true
concurrency:
group: ${{ github.workflow }}
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@pre-release/v4-beta
with:
warehouse: ${{ inputs.warehouse }}
target: ${{ inputs.target }}
command_name: Run DBT Command
command: ${{ inputs.dbt_command }}
secrets: inherit