This commit is contained in:
yulike 2022-11-03 12:06:09 -04:00
parent a30b0196ba
commit 7cc3ca25a0
3 changed files with 87 additions and 2 deletions

50
.github/workflows/dbt_run-adhoc.yml vendored Normal file
View File

@ -0,0 +1,50 @@
# This is a basic workflow that is manually triggered
name: dbt run ad hoc job
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
description: 'blockchain'
default: 'axelar'
required: true
type: choice
options:
- axelar
- ethereum
- polygon
- flow
- algorand
- near
inputs:
name:
description: 'environment'
default: 'dev'
required: true
type: choice
options:
- dev
- prod
inputs:
name:
description: 'command'
default: ''
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"

View File

@ -1,6 +1,6 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
name: dbt run udf lambda read
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
@ -10,7 +10,7 @@ on:
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
description: ''
# Default value if no value is explicitly provided
default: 'debug'
# Input has to be provided for the workflow to run

35
.github/workflows/dbt_test-adhoc.yml vendored Normal file
View File

@ -0,0 +1,35 @@
# This is a basic workflow that is manually triggered
name: Ad Hoc Job
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: ''
# Default value if no value is explicitly provided
default: 'debug'
# Input has to be provided for the workflow to run
required: true
type: choice
options:
- info
- warning
- debug
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"