Remote Execution: Implement the REAPI Platform message

Background

The Command message a REAPI client, BuildStream here, submits as part of a remote-execution request should contain a Platform message. This message contains a set of properties (list of key/value pairs) that can be seen as requirements for the submitted build. This information is needed by the server in order to assign the build request to a worker bot meeting these requirements. BuildStream should implement that message.

The Platform message fields are in the process of being standardised.

Task description

  • Resolve, and translate if needed, Platform properties for build actions.
  • Attach Platform messages to remote-execution Command messages.

Acceptance Criteria

Every ExecutionRequest messages forged by BuildStream remote-execution client contains a Platform message describing fundamental build requirements.


Edited by Martin Blanchard