Skip to content

Add ability to build without interacting with available artifact servers

Background

As mentioned in #buildstream, it seems reasonable that bst build should have the option to build everything from source without attempting to reach out to remote caches, especially when consuming junctions in which artifact servers are defined and populated for pulling or have the opportunity to be pushed to. One example of wanting to do this would be to periodically check that a whole project can be built from 'scratch'.

Task description

  • Add a cli option (could be main or specific to build) and a user config context option with a suitable name for this behaviour override
  • Use cli/context/app as appropriate to consume this during streams creation of queues, emitting pull and push queues as appropriate
  • Add tests

Acceptance Criteria

Testable and does not break normal behaviour


Edited by Tom Pollard
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information