Skip to content

Investigate whether uploading build artifacts from harbormaster would be usful

In harbormaster it is possible to upload build artifacts and associate them with each build, for example we could upload the user manual for each build or even binaries. I am not sure what would be useful. One use case might be checking the rendering of the user guide when it is modified.

The idea is to write a small utility program which uploads suitable artifacts and then add an extra build step to the relevant build plans which calls this program. The utility doesn't have to be in-tree as it can be installed in the environment.

Some more information:

  • There are some bindings to the phabricator API in arc-lite
  • The relevant API methods are file.allocate, file.upload and harbormaster.createartifact
  • file.allocate allows you to specify a time to delete a file, this would be good to avoid consuming lots

of storage for builds.

  • Artifacts appear in the "artifacts" tab here
Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC bgamari
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information