This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andy Goldstein <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
on: | ||
pull_request: | ||
paths: | ||
- '.bingo/**' | ||
- '.github/workflows/tilt.yaml' | ||
- 'api/**' | ||
- 'cmd/**' | ||
- 'config/**' | ||
- 'internal/**' | ||
- 'pkg/**' | ||
- 'Tiltfile' | ||
merge_group: | ||
|
||
jobs: | ||
tilt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: operator-framework/tilt-support | ||
path: tilt-support | ||
- uses: actions/checkout@v3 | ||
with: | ||
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 rukpak | ||
tilt ci |