Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI for tilt #319

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/tilt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
on:
pull_request:
paths:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe paths-ignore is more suitable here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept going back and forth on this. I can switch it if you'd prefer.

- '.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: operator-controller
- uses: actions/checkout@v3
with:
repository: operator-framework/rukpak
path: rukpak
- uses: actions/checkout@v3
with:
repository: operator-framework/catalogd
path: catalogd
- 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
Loading