Skip to content

Commit 8191f63

Browse files
author
Test User
committed
ci: drop pkill; pin sccache server port to avoid v0.8/v0.14 collision
1 parent 11a81f3 commit 8191f63

4 files changed

Lines changed: 14 additions & 42 deletions

File tree

.github/workflows/ci-firecracker.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ jobs:
116116
env:
117117
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
118118
SCCACHE_BUCKET: rust-cache
119+
SCCACHE_SERVER_PORT: "4231"
119120
SCCACHE_ENDPOINT: http://172.26.0.1:8333
120121
SCCACHE_S3_USE_SSL: "false"
121122
SCCACHE_REGION: us-east-1
@@ -133,13 +134,8 @@ jobs:
133134

134135
- name: sccache start and zero stats
135136
run: |
136-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
137137
138-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
139-
140-
pkill -u "$(id -un)" -x sccache || true
141-
142-
/home/alex/.local/bin/sccache --start-server
138+
/home/alex/.local/bin/sccache --start-server || true
143139
/home/alex/.local/bin/sccache --zero-stats
144140
145141
# zlob is default on terraphim_file_search + terraphim_mcp_server, so

.github/workflows/ci-main.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
env:
106106
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
107107
SCCACHE_BUCKET: rust-cache
108+
SCCACHE_SERVER_PORT: "4231"
108109
SCCACHE_ENDPOINT: http://172.26.0.1:8333
109110
SCCACHE_S3_USE_SSL: "false"
110111
SCCACHE_REGION: us-east-1
@@ -157,13 +158,8 @@ jobs:
157158

158159
- name: sccache start and zero stats
159160
run: |
160-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
161161
162-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
163-
164-
pkill -u "$(id -un)" -x sccache || true
165-
166-
/home/alex/.local/bin/sccache --start-server
162+
/home/alex/.local/bin/sccache --start-server || true
167163
/home/alex/.local/bin/sccache --zero-stats
168164
169165
- name: Cache Cargo registry and dependencies (self-hosted)
@@ -329,6 +325,7 @@ jobs:
329325
env:
330326
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
331327
SCCACHE_BUCKET: rust-cache
328+
SCCACHE_SERVER_PORT: "4231"
332329
SCCACHE_ENDPOINT: http://172.26.0.1:8333
333330
SCCACHE_S3_USE_SSL: "false"
334331
SCCACHE_REGION: us-east-1
@@ -354,13 +351,8 @@ jobs:
354351

355352
- name: sccache start and zero stats
356353
run: |
357-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
358-
359-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
360-
361-
pkill -u "$(id -un)" -x sccache || true
362354
363-
/home/alex/.local/bin/sccache --start-server
355+
/home/alex/.local/bin/sccache --start-server || true
364356
/home/alex/.local/bin/sccache --zero-stats
365357
366358
- name: Install wasm-pack

.github/workflows/ci-native.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
env:
8181
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
8282
SCCACHE_BUCKET: rust-cache
83+
SCCACHE_SERVER_PORT: "4231"
8384
SCCACHE_ENDPOINT: http://172.26.0.1:8333
8485
SCCACHE_S3_USE_SSL: "false"
8586
SCCACHE_REGION: us-east-1
@@ -157,13 +158,8 @@ jobs:
157158
158159
- name: sccache start and zero stats
159160
run: |
160-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
161161
162-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
163-
164-
pkill -u "$(id -un)" -x sccache || true
165-
166-
/home/alex/.local/bin/sccache --start-server
162+
/home/alex/.local/bin/sccache --start-server || true
167163
/home/alex/.local/bin/sccache --zero-stats
168164
169165
- name: Run format and linting checks

.github/workflows/ci-pr.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ jobs:
161161
env:
162162
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
163163
SCCACHE_BUCKET: rust-cache
164+
SCCACHE_SERVER_PORT: "4231"
164165
SCCACHE_ENDPOINT: http://172.26.0.1:8333
165166
SCCACHE_S3_USE_SSL: "false"
166167
SCCACHE_REGION: us-east-1
@@ -197,13 +198,8 @@ jobs:
197198

198199
- name: sccache start and zero stats
199200
run: |
200-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
201201
202-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
203-
204-
pkill -u "$(id -un)" -x sccache || true
205-
206-
/home/alex/.local/bin/sccache --start-server
202+
/home/alex/.local/bin/sccache --start-server || true
207203
/home/alex/.local/bin/sccache --zero-stats
208204
209205
- name: Rustfmt Check
@@ -302,6 +298,7 @@ jobs:
302298
env:
303299
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
304300
SCCACHE_BUCKET: rust-cache
301+
SCCACHE_SERVER_PORT: "4231"
305302
SCCACHE_ENDPOINT: http://172.26.0.1:8333
306303
SCCACHE_S3_USE_SSL: "false"
307304
SCCACHE_REGION: us-east-1
@@ -342,13 +339,8 @@ jobs:
342339

343340
- name: sccache start and zero stats
344341
run: |
345-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
346-
347-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
348342
349-
pkill -u "$(id -un)" -x sccache || true
350-
351-
/home/alex/.local/bin/sccache --start-server
343+
/home/alex/.local/bin/sccache --start-server || true
352344
/home/alex/.local/bin/sccache --zero-stats
353345
354346
- name: Cache Cargo registry and index
@@ -384,6 +376,7 @@ jobs:
384376
env:
385377
RUSTC_WRAPPER: /home/alex/.local/bin/sccache
386378
SCCACHE_BUCKET: rust-cache
379+
SCCACHE_SERVER_PORT: "4231"
387380
SCCACHE_ENDPOINT: http://172.26.0.1:8333
388381
SCCACHE_S3_USE_SSL: "false"
389382
SCCACHE_REGION: us-east-1
@@ -419,13 +412,8 @@ jobs:
419412

420413
- name: sccache start and zero stats
421414
run: |
422-
# Stop any stale sccache server (e.g. from a prior GHA-action run on this
423-
424-
# runner) so the bigbox-local 0.8.2 client never hits a v0.14 server.
425-
426-
pkill -u "$(id -un)" -x sccache || true
427415
428-
/home/alex/.local/bin/sccache --start-server
416+
/home/alex/.local/bin/sccache --start-server || true
429417
/home/alex/.local/bin/sccache --zero-stats
430418
431419
- name: Install wasm-pack

0 commit comments

Comments
 (0)