Skip to content

Commit ad17aac

Browse files
committed
add CI templates
1 parent 5a2d793 commit ad17aac

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

.github/workflows/tinybird-cd.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
##################################################
3+
### Visit https://github.com/tinybirdco/ci ###
4+
### for more details or custom CI/CD ###
5+
##################################################
6+
7+
name: Tinybird - CD Workflow
8+
9+
on:
10+
workflow_dispatch:
11+
push:
12+
paths:
13+
- 'tinybird/**'
14+
branches:
15+
- main
16+
jobs:
17+
cd:
18+
uses: tinybirdco/ci/.github/workflows/[email protected]
19+
with:
20+
data_project_dir: ./tinybird
21+
secrets:
22+
tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }}
23+
tb_host: https://api.tinybird.co

.github/workflows/tinybird-ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
##################################################
3+
### Visit https://github.com/tinybirdco/ci ###
4+
### for more details or custom CI/CD ###
5+
##################################################
6+
7+
name: Tinybird - CI Workflow
8+
9+
on:
10+
workflow_dispatch:
11+
pull_request:
12+
paths:
13+
- 'tinybird/**'
14+
branches:
15+
- main
16+
types: [opened, reopened, labeled, unlabeled, synchronize, closed]
17+
18+
concurrency: ${{ github.workflow }}-${{ github.event.pull_request.number }}
19+
20+
jobs:
21+
ci:
22+
uses: tinybirdco/ci/.github/workflows/[email protected]
23+
with:
24+
data_project_dir: ./tinybird
25+
secrets:
26+
tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }}
27+
tb_host: https://api.tinybird.co

0 commit comments

Comments
 (0)