Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 3b1ff67

Browse files
committed
rename
1 parent 204e611 commit 3b1ff67

29 files changed

+462
-453
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
rustc: 1.56.1 # Oldest supported version, keep in sync with README.md
5353
- os: ubuntu-20.04
5454
rustc: 1.56.1
55-
extra_desc: dist-server
55+
extra_desc: dist-worker
5656
extra_args: --no-default-features --features=dist-tests test_dist_ -- --test-threads 1
5757
- os: ubuntu-20.04
5858
rustc: stable
@@ -153,9 +153,9 @@ jobs:
153153
path: target_repo
154154

155155
- name: Double-check that cachepot is not running
156-
run: cachepot --stop-server || true
156+
run: cachepot --stop-coordinator || true
157157
- name: Start the local cachepot server daemon
158-
run: cachepot --start-server
158+
run: cachepot --start-coordinator
159159
# This is the main server that's going to send the compilation requests
160160
# so logging is more important for this than for subsequent (client)
161161
# cachepot invocations
@@ -192,10 +192,10 @@ jobs:
192192
include:
193193
- os: ubuntu-20.04
194194
target: x86_64-unknown-linux-musl
195-
extra_args: --features="dist-server"
195+
extra_args: --features="dist-worker"
196196
- os: ubuntu-20.04
197197
binary: cachepot-dist
198-
extra_args: --features="dist-server"
198+
extra_args: --features="dist-worker"
199199
target: x86_64-unknown-linux-musl
200200
- os: ubuntu-20.04
201201
target: aarch64-unknown-linux-musl

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ build:
112112
<<: *build-refs
113113
stage: build
114114
variables:
115-
FEATURES: "openssl/vendored,dist-server"
115+
FEATURES: "openssl/vendored,dist-worker"
116116
script:
117117
- cargo +stable build --locked --release --verbose --bin cachepot-dist --target x86_64-unknown-linux-musl --features=${FEATURES}
118118
# collect artifacts

Cargo.lock

Lines changed: 66 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ cachepot supports gcc, clang, MSVC, rustc, NVCC, and [Wind River's diab compiler
8181

8282
If you don't [specify otherwise](#storage-options), cachepot will use a local disk cache.
8383

84-
cachepot works using a client-server model, where the server runs locally on the same machine as the client. The client-server model allows the server to be more efficient by keeping some state in memory. The cachepot command will spawn a server process if one is not already running, or you can run `cachepot --start-server` to start the background server process without performing any compilation.
84+
cachepot works using a client-coordinator model, where the server runs locally on the same machine as the client. The client-coordinator model allows the server to be more efficient by keeping some state in memory. The cachepot command will spawn a server process if one is not already running, or you can run `cachepot --start-coordinator` to start the background server process without performing any compilation.
8585

86-
You can run `cachepot --stop-server` to terminate the server. It will also terminate after (by default) 10 minutes of inactivity.
86+
You can run `cachepot --stop-coordinator` to terminate the server. It will also terminate after (by default) 10 minutes of inactivity.
8787

8888
Running `cachepot --show-stats` will print a summary of cache statistics.
8989

0 commit comments

Comments
 (0)