1+ name : Combined Tilt
2+
13on :
24 pull_request :
35 paths :
46 - ' .bingo/**'
5- - ' .github/workflows/tilt.yaml '
7+ - ' .github/workflows/** '
68 - ' api/**'
79 - ' cmd/**'
810 - ' config/**'
911 - ' internal/**'
1012 - ' pkg/**'
1113 - ' Tiltfile'
14+ - ' catalogd/**'
1215 merge_group :
1316
1417jobs :
@@ -17,35 +20,34 @@ jobs:
1720 steps :
1821 - uses : actions/checkout@v4
1922 with :
20- repository : operator-framework/tilt-support
21- path : tilt-support
22- - uses : actions/checkout@v4
23- with :
24- path : operator-controller
25- - name : Get catalogd version
26- id : get-catalogd-version
23+ fetch-depth : 0
24+ - name : Clone tilt-support
2725 run : |
28- cd operator-controller
29- echo "CATALOGD_VERSION=$(go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)" >> "$GITHUB_OUTPUT"
30- - uses : actions/checkout@v4
31- with :
32- repository : operator-framework/catalogd
33- path : catalogd
34- ref : " ${{ steps.get-catalogd-version.outputs.CATALOGD_VERSION }}"
26+ git clone https://github.com/operator-framework/tilt-support ../tilt-support
27+ - name : Clone operator-controller
28+ run : |
29+ git clone https://github.com/operator-framework/operator-controller operator-controller
3530 - name : Install Go
3631 uses : actions/setup-go@v5
3732 with :
38- go-version-file : " operator-controller/go.mod"
33+ go-version-file : operator-controller/go.mod
3934 - name : Install Tilt
4035 run : |
4136 TILT_VERSION="0.33.3"
4237 curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
4338 tar -xzv -C /usr/local/bin tilt
39+ - name : Install ctlptl
40+ run : |
41+ CTLPTL_VERSION="0.8.20"
42+ curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
43+ tar -xzv -C /usr/local/bin ctlptl
4444 - name : Set up kind
45+ run : ctlptl create cluster kind --registry=ctlptl-registry
46+ - name : Test Tilt for Operator Controller
4547 run : |
4648 cd operator-controller
47- make kind-cluster
48- - name : Test Tilt
49+ tilt ci
50+ - name : Test Tilt for Catalogd
4951 run : |
50- cd operator-controller
52+ cd operator-controller/catalogd
5153 tilt ci
0 commit comments