-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (41 loc) · 1.21 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on:
pull_request:
paths:
- Tiltfile
- .github/workflows/test.yaml
merge_group:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: tilt-support
- uses: actions/checkout@v3
with:
repository: operator-framework/catalogd
path: catalogd
- uses: actions/checkout@v3
with:
repository: operator-framework/operator-controller
path: operator-controller
- uses: actions/checkout@v3
with:
repository: operator-framework/rukpak
path: rukpak
- name: Install Tilt
run: |
TILT_VERSION="0.33.3"
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
tar -xzv -C /usr/local/bin tilt
- name: Install ctlptl
run: |
CTLPTL_VERSION="0.8.20"
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
tar -xzv -C /usr/local/bin ctlptl
- name: Set up kind
run: ctlptl create cluster kind --registry=ctlptl-registry
- name: Test Tilt
run: |
cd operator-controller
tilt ci