From de9b993e7fda4580f1a4e924ea0ee33b08994848 Mon Sep 17 00:00:00 2001 From: yulike Date: Fri, 2 Dec 2022 10:32:44 -0500 Subject: [PATCH] updated --- .github/workflows/dbt_run-adhoc.yml | 50 ------------------- .github/workflows/dbt_run-uds_lambda_read.yml | 35 ------------- .github/workflows/dbt_test-adhoc.yml | 35 ------------- .github/workflows/maunal.yml | 35 ------------- .github/workflows/run_chain_template.yml | 46 ----------------- 5 files changed, 201 deletions(-) delete mode 100644 .github/workflows/dbt_run-adhoc.yml delete mode 100644 .github/workflows/dbt_run-uds_lambda_read.yml delete mode 100644 .github/workflows/dbt_test-adhoc.yml delete mode 100644 .github/workflows/maunal.yml delete mode 100644 .github/workflows/run_chain_template.yml diff --git a/.github/workflows/dbt_run-adhoc.yml b/.github/workflows/dbt_run-adhoc.yml deleted file mode 100644 index 7ee4e6f..0000000 --- a/.github/workflows/dbt_run-adhoc.yml +++ /dev/null @@ -1,50 +0,0 @@ -# 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/dbt_run-uds_lambda_read.yml b/.github/workflows/dbt_run-uds_lambda_read.yml deleted file mode 100644 index 492f6a5..0000000 --- a/.github/workflows/dbt_run-uds_lambda_read.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This is a basic workflow that is manually triggered - -name: dbt run udf lambda read - -# 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 diff --git a/.github/workflows/dbt_test-adhoc.yml b/.github/workflows/dbt_test-adhoc.yml deleted file mode 100644 index 6380f16..0000000 --- a/.github/workflows/dbt_test-adhoc.yml +++ /dev/null @@ -1,35 +0,0 @@ -# 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 diff --git a/.github/workflows/maunal.yml b/.github/workflows/maunal.yml deleted file mode 100644 index 0ab1c0d..0000000 --- a/.github/workflows/maunal.yml +++ /dev/null @@ -1,35 +0,0 @@ -# This is a basic workflow that is manually triggered - -name: Manual workflow - -# 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: 'Person to greet' - # 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 diff --git a/.github/workflows/run_chain_template.yml b/.github/workflows/run_chain_template.yml deleted file mode 100644 index 8b034b8..0000000 --- a/.github/workflows/run_chain_template.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: dbt_run - -on: - workflow_call: - inputs: - dbt_command: - type: string - description: 'dbt commands to run' - required: true - -env: - DBT_PROFILES_DIR: ./ - - ACCOUNT: "${{ secrets.ACCOUNT }}" - ROLE: "${{ secrets.ROLE }}" - USER: "${{ secrets.USER }}" - PASSWORD: "${{ secrets.PASSWORD }}" - REGION: "${{ secrets.REGION }}" - DATABASE_DEV: "${{ secrets.DATABASE_DEV }}" - DATABASE_PROD: "${{ secrets.DATABASE_PROD }}" - WAREHOUSE_DEV: "${{ secrets.WAREHOUSE_DEV }}" - WAREHOUSE_PROD: "${{ secrets.WAREHOUSE_PROD }}" - SCHEMA: "${{ secrets.SCHEMA }}" - -jobs: - scheduled_run: - name: dbt_run - runs-on: ubuntu-latest - environment: - name: workflow - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-python@v1 - with: - python-version: "3.7.x" - - - name: install dependencies - run: | - pip install dbt-snowflake - dbt deps - - - name: Run DBT Jobs - run: | - ${{ inputs.dbt_command }} \ No newline at end of file