Skip to content

Commit fa84c73

Browse files
committed
Add CI for tilt
Signed-off-by: Andy Goldstein <[email protected]>
1 parent 0ddf9ad commit fa84c73

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/tilt.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
on:
2+
pull_request:
3+
paths:
4+
- '.bingo/**'
5+
- '.github/workflows/tilt.yaml'
6+
- 'api/**'
7+
- 'cmd/**'
8+
- 'config/**'
9+
- 'internal/**'
10+
- 'pkg/**'
11+
- 'Tiltfile'
12+
merge_group:
13+
14+
jobs:
15+
tilt:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
repository: operator-framework/tilt-support
21+
path: tilt-support
22+
- uses: actions/checkout@v3
23+
with:
24+
path: operator-controller
25+
- uses: actions/checkout@v3
26+
with:
27+
repository: operator-framework/rukpak
28+
path: rukpak
29+
- uses: actions/checkout@v3
30+
with:
31+
repository: operator-framework/catalogd
32+
path: catalogd
33+
- name: Install Tilt
34+
run: |
35+
TILT_VERSION="0.33.3"
36+
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
37+
tar -xzv -C /usr/local/bin tilt
38+
- name: Install ctlptl
39+
run: |
40+
CTLPTL_VERSION="0.8.20"
41+
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
42+
tar -xzv -C /usr/local/bin ctlptl
43+
- name: Set up kind
44+
run: ctlptl create cluster kind --registry=ctlptl-registry
45+
- name: Test Tilt
46+
run: |
47+
cd operator-controller
48+
tilt ci

0 commit comments

Comments
 (0)