Skip to content

Commit c6ba3de

Browse files
authored
Run remote-kubernetes-net-test on config changes as well (#4826)
## Motivation Right now if we change the configs and break things for the kubernetes deployment, it won't be caught by CI ## Proposal Make sure that for the `remote-kubernetes-net-test` we also run it on config changes, or `Dockerfile` changes. ## Test Plan CI ## Release Plan - Nothing to do / These changes follow the usual release cycle.
1 parent 555334f commit c6ba3de

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/rust.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,26 @@ jobs:
5050
filters: |
5151
paths:
5252
- '!docker/**'
53-
- '!docker_scylla/**'
5453
- '!configuration/**'
5554
- '!kubernetes/**'
5655
- '!CONTRIBUTING.md'
5756
- '!INSTALL.md'
57+
changed-files-kubernetes:
58+
runs-on: ubuntu-latest
59+
outputs:
60+
should-run: ${{ steps.files-changed.outputs.paths }}
61+
steps:
62+
- uses: actions/checkout@v4
63+
- name: Filter paths
64+
uses: dorny/paths-filter@v3
65+
id: files-changed
66+
with:
67+
predicate-quantifier: 'every'
68+
filters: |
69+
paths:
70+
- '!configuration/**'
71+
- '!CONTRIBUTING.md'
72+
- '!INSTALL.md'
5873
remote-net-test:
5974
needs: changed-files
6075
if: needs.changed-files.outputs.should-run == 'true'
@@ -94,8 +109,8 @@ jobs:
94109
cargo test -p linera-service remote_net_grpc --features remote-net
95110
96111
remote-kubernetes-net-test:
97-
needs: changed-files
98-
if: needs.changed-files.outputs.should-run == 'true'
112+
needs: changed-files-kubernetes
113+
if: needs.changed-files-kubernetes.outputs.should-run == 'true'
99114
runs-on: ubuntu-latest-16-cores
100115
timeout-minutes: 90
101116

0 commit comments

Comments
 (0)