⚠️ [Monorepo] PHASE 1 - Add Catalogd to Operator-Controller Repository #2363
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tilt | |
on: | |
pull_request: | |
paths: | |
- '.bingo/**' | |
- '.github/workflows/tilt.yaml' | |
- 'api/**' | |
- 'cmd/**' | |
- 'config/**' | |
- 'internal/**' | |
- 'pkg/**' | |
- 'Tiltfile' | |
- 'catalogd/**' | |
merge_group: | |
jobs: | |
tilt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: operator-framework/tilt-support | |
path: tilt-support | |
- uses: actions/checkout@v4 | |
with: | |
path: operator-controller | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "operator-controller/go.mod" | |
- 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: Set up kind | |
run: | | |
cd operator-controller | |
make kind-cluster | |
- name: Test Tilt for Catalogd | |
run: | | |
cd operator-controller/catalogd | |
tilt ci | |
- name: Test Tilt for Operator Controller | |
run: | | |
cd operator-controller | |
tilt ci |