From 4074a73f757dd501d91d9e742e82adffd5c35950 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Wed, 29 May 2024 15:17:59 +0200 Subject: [PATCH] Add CI for daily_spellbook --- .github/workflows/commit_manifest.yml | 2 +- .github/workflows/daily_spellbook.yml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/daily_spellbook.yml diff --git a/.github/workflows/commit_manifest.yml b/.github/workflows/commit_manifest.yml index ac61bd1b816..ee8cd47c3c2 100644 --- a/.github/workflows/commit_manifest.yml +++ b/.github/workflows/commit_manifest.yml @@ -15,7 +15,7 @@ jobs: runs-on: [ self-hosted, linux, spellbook-trino-ci ] strategy: matrix: - project: [ 'tokens', 'spellbook' ] + project: [ 'tokens', 'spellbook', 'daily_spellbook' ] max-parallel: 1 steps: diff --git a/.github/workflows/daily_spellbook.yml b/.github/workflows/daily_spellbook.yml new file mode 100644 index 00000000000..3f4b5c27074 --- /dev/null +++ b/.github/workflows/daily_spellbook.yml @@ -0,0 +1,20 @@ +name: DBT Daily Spellbook run + +on: + workflow_dispatch: + pull_request: + paths: + - daily_spellbook/** + - .github/workflows/daily_spellbook.yml + - .github/workflows/dbt_run.yml + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + dbt-run: + uses: ./.github/workflows/dbt_run.yml + with: + project: 'daily_spellbook' +