|
1 | 1 | on: |
2 | 2 | pull_request: |
3 | 3 | paths: |
4 | | - - '.bingo/**' |
5 | | - - '.github/workflows/tilt.yaml' |
6 | | - - 'api/**' |
7 | | - - 'cmd/**' |
8 | | - - 'config/**' |
9 | | - - 'internal/**' |
10 | | - - 'pkg/**' |
11 | | - - 'Tiltfile' |
| 4 | + - 'catalogd/.bingo/**' |
| 5 | + - 'catalogd/.github/workflows/catalogd-tilt.yaml' |
| 6 | + - 'catalogd/api/**' |
| 7 | + - 'catalogd/cmd/**' |
| 8 | + - 'catalogd/config/**' |
| 9 | + - 'catalogd/internal/**' |
| 10 | + - 'catalogd/pkg/**' |
| 11 | + - 'catalogd/Tiltfile' |
12 | 12 | merge_group: |
13 | 13 |
|
14 | 14 | jobs: |
15 | 15 | tilt: |
16 | 16 | runs-on: ubuntu-latest |
17 | 17 | steps: |
18 | | - - uses: actions/checkout@v4 |
19 | | - with: |
20 | | - repository: operator-framework/tilt-support |
21 | | - path: tilt-support |
22 | | - - uses: actions/checkout@v4 |
23 | | - with: |
24 | | - path: catalogd |
25 | | - - name: Install Go |
26 | | - uses: actions/setup-go@v5 |
27 | | - with: |
28 | | - go-version-file: "catalogd/go.mod" |
29 | | - - name: Install Tilt |
30 | | - run: | |
31 | | - TILT_VERSION="0.33.3" |
32 | | - curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \ |
33 | | - tar -xzv -C /usr/local/bin tilt |
34 | | - - name: Install ctlptl |
35 | | - run: | |
36 | | - CTLPTL_VERSION="0.8.20" |
37 | | - curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \ |
38 | | - tar -xzv -C /usr/local/bin ctlptl |
39 | | - - name: Set up kind |
40 | | - run: ctlptl create cluster kind --registry=ctlptl-registry |
41 | | - - name: Test Tilt |
42 | | - run: | |
43 | | - cd catalogd |
44 | | - tilt ci |
| 18 | + - uses: actions/checkout@v4 |
| 19 | + with: |
| 20 | + repository: operator-framework/tilt-support |
| 21 | + path: tilt-support |
| 22 | + - uses: actions/checkout@v4 |
| 23 | + with: |
| 24 | + path: operator-controller |
| 25 | + - name: Install Go |
| 26 | + uses: actions/setup-go@v5 |
| 27 | + with: |
| 28 | + go-version-file: operator-controller/catalogd/go.mod |
| 29 | + - name: Install Tilt |
| 30 | + run: | |
| 31 | + TILT_VERSION="0.33.3" |
| 32 | + curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \ |
| 33 | + tar -xzv -C /usr/local/bin tilt |
| 34 | + - name: Install ctlptl |
| 35 | + run: | |
| 36 | + CTLPTL_VERSION="0.8.20" |
| 37 | + curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \ |
| 38 | + tar -xzv -C /usr/local/bin ctlptl |
| 39 | + - name: Set up kind |
| 40 | + run: ctlptl create cluster kind --registry=ctlptl-registry |
| 41 | + - name: Test Tilt |
| 42 | + run: | |
| 43 | + cd catalogd |
| 44 | + tilt ci |
0 commit comments