From 7cc3ca25a0db1e15f4555bab67dd2efd9d407348 Mon Sep 17 00:00:00 2001 From: yulike Date: Thu, 3 Nov 2022 12:06:09 -0400 Subject: [PATCH] push --- .github/workflows/dbt_run-adhoc.yml | 50 +++++++++++++++++++ ...manual.yml => dbt_run-uds_lambda_read.yml} | 4 +- .github/workflows/dbt_test-adhoc.yml | 35 +++++++++++++ 3 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/dbt_run-adhoc.yml rename .github/workflows/{manual.yml => dbt_run-uds_lambda_read.yml} (89%) create mode 100644 .github/workflows/dbt_test-adhoc.yml diff --git a/.github/workflows/dbt_run-adhoc.yml b/.github/workflows/dbt_run-adhoc.yml new file mode 100644 index 0000000..7ee4e6f --- /dev/null +++ b/.github/workflows/dbt_run-adhoc.yml @@ -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 }}" \ No newline at end of file diff --git a/.github/workflows/manual.yml b/.github/workflows/dbt_run-uds_lambda_read.yml similarity index 89% rename from .github/workflows/manual.yml rename to .github/workflows/dbt_run-uds_lambda_read.yml index 0ab1c0d..492f6a5 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/dbt_run-uds_lambda_read.yml @@ -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 diff --git a/.github/workflows/dbt_test-adhoc.yml b/.github/workflows/dbt_test-adhoc.yml new file mode 100644 index 0000000..6380f16 --- /dev/null +++ b/.github/workflows/dbt_test-adhoc.yml @@ -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 }}" \ No newline at end of file