diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2025-02-24 14:16:42 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2025-02-25 11:27:16 +0100 |
commit | 455003d0e924414db339395e8367166e7820c5da (patch) | |
tree | 54d117565ea7edf059f4a18ebb1aaceca764ec5c /CHANGELOG.md | |
parent | e61131b18ad90e9fc067e6036cbcd6c64b28c986 (diff) | |
download | justbuild-455003d0e924414db339395e8367166e7820c5da.tar.gz |
just serve: allow clients to access execution endpoint with a different address
To properly use `just serve`, both the client and the serve instance
must talk to the very same execution endpoint. Typically, both the
client and serve can reach out to the execution endpoint via the same
IP address. However, it might be possible that the client and a serve
instance know the same execution endpoint by means of differnet IP
addresses. For example, the client knows the execution endpoint
address through an _external_ IP address, while the serve instance,
deployed within the same network infrastructure, only knows the
_internal_ IP address.
This patch adds the subkey `"client address"` -- of the key
`"execution endpoint"` -- in the serve configuration file, to specify
the alternative pair `address:port` used by the client.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dfdeaf3c..e9c2635d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,14 @@ A feature release on top of `1.4.0`, backwards compatible. defines how special entries (e.g., symlinks) are to be handled when adding directories to CAS. +- `just serve` accepts a new subkey `"client address"` for the key + `"execution endpoint"` in the configuration file. It informs the + `serve` instance that the client will access the remote-execution + endpoint via the given `"client address"` and not using the one + listed in the subkey `"address"`. This feature allows to position + `just serve` next to the remote-execution endpoint behind some + form of address translation. + ### Fixes - `just-import-git` now correctly inherits pragmas for imported |