You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coordinator: Serve env file via new GetEnvironment RPC
The lab admin currently has to distribute the env file to every client
out of band - via a shared filesystem, git checkout, scp etc. This is
awkward duplication for casual clients who just want to talk to a few
boards from a remote machine. It also makes it harder to scale to larger
labs with a lot of clients.
For some labs, particularly smaller ones, the environment is very tied
to the client, with each client having its own special file. For other
labs, such as larger labs where changes are few, the environment is the
same for each client.
Add a new GetEnvironment RPC that returns the env file's text content,
and a coordinator --environment flag pointing at the file to serve. The
file is read fresh on each request, so admins can edit it in place and
clients pick up the new version on their next invocation.
The default (no --environment) is unchanged: GetEnvironment returns an
empty string and clients keep loading env from a local file as before.
Signed-off-by: Simon Glass <sjg@chromium.org>
0 commit comments