From 83f5e96a383adb2851d00fe80a3ec187f4fcf54c Mon Sep 17 00:00:00 2001 From: gnzjgo Date: Mon, 8 Jan 2024 16:53:58 +0100 Subject: [PATCH 1/3] Init requirements.txt --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..01aaa56 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +--pre +tinybird-cli From 1486dcd01d626b160e94f6574bd74d901b904b47 Mon Sep 17 00:00:00 2001 From: gnzjgo Date: Mon, 8 Jan 2024 16:53:59 +0100 Subject: [PATCH 2/3] Init .github/workflows/tinybird_ci.yml --- .github/workflows/tinybird_ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/tinybird_ci.yml diff --git a/.github/workflows/tinybird_ci.yml b/.github/workflows/tinybird_ci.yml new file mode 100644 index 0000000..4ea0765 --- /dev/null +++ b/.github/workflows/tinybird_ci.yml @@ -0,0 +1,29 @@ + + ################################################## + ### Visit https://github.com/tinybirdco/ci ### + ### for more details or custom CI/CD ### + ################################################## + + name: Tinybird - CI Workflow + + on: + workflow_dispatch: + pull_request: + branches: + - main + - master + types: [opened, reopened, labeled, unlabeled, synchronize, closed] + paths: + - '*' + + concurrency: ${{ github.workflow }}-${{ github.event.pull_request.number }} + + jobs: + ci: + uses: tinybirdco/ci/.github/workflows/ci.yml@main + with: + tb_deploy: true + data_project_dir: . + secrets: + tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }} + tb_host: https://ui.tinybird.co From b34f51b87a30ffd0c9509794a1c4b7dadb640446 Mon Sep 17 00:00:00 2001 From: gnzjgo Date: Mon, 8 Jan 2024 16:53:59 +0100 Subject: [PATCH 3/3] Init .github/workflows/tinybird_cd.yml --- .github/workflows/tinybird_cd.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tinybird_cd.yml diff --git a/.github/workflows/tinybird_cd.yml b/.github/workflows/tinybird_cd.yml new file mode 100644 index 0000000..aff54a8 --- /dev/null +++ b/.github/workflows/tinybird_cd.yml @@ -0,0 +1,25 @@ + + ################################################## + ### Visit https://github.com/tinybirdco/ci ### + ### for more details or custom CI/CD ### + ################################################## + + name: Tinybird - CD Workflow + + on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - '*' + jobs: + cd: + uses: tinybirdco/ci/.github/workflows/cd.yml@main + with: + tb_deploy: true + data_project_dir: . + secrets: + tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }} + tb_host: https://ui.tinybird.co