Skip to content

Adapt buildbox plugin to use --input-digest and --output-digest arguments

Description

The latest version of Buildbox accepts --input-digest and --output-digest arguments instead of passing a digest on stdin and returning one on stdout. The current buildbox plugin in BuildGrid will not work with this new interface.

Changes proposed in this merge request:

  • Add some extra import lines which were necessary to make the buildbox plugin work
  • Adapt the buildbox plugin to accept a Digest of an Action, rather than an Action directly
  • Add code necessary to write out the input digest, add it to the command line to run buildbox, and read the output digest back in.

This merge request, when approved, will close issue/bug:

#58 (closed)

Edited by Jim MacArthur

Merge request reports