Skip to content

Multiple remote cache support

Sam Thursfield requested to merge sam/multiple-caches into master

Add support for multiple remote caches

This extends the 'artifacts' configuration block such that a list of url mappings can be given instead of a single entry. For example:

artifacts:
  - url: http://example.com/artifacts1
  - url: ssh://ostree@example.com/artifacts2

The OSTreeCache class is updated to set up multiple remotes and query remote refs from all of them.

This also adds bst push --remote and bst pull --remote options to push to a specific remote.

Tests included.

Edited by Sam Thursfield

Merge request reports