Skip to content

project.conf: Set the artifact cache URL here

Sam Thursfield requested to merge sam/bst-artifacts-url into master

This is possible since this change:

BuildStream/buildstream@00e08459

Older versions of BuildStream will fail to parse the project.conf file with this change; I think it's acceptable to force everyone to update as we are still in the development stage of the BuildStream migration.

If you want to override the configuration for whatever reason you'll now need to put this in your ~/.config/buildstream.conf file:

projects:
  baserock:
    artifacts:
      pull-url: ...
      push-url: ...

If you set a "global" artifacts configuration by doing this...

artifacts:
  pull-url: ...

... it'll be ignored because the project-specific config from this project.conf file will take precedence.

Overriding seems to be done for the whole config block, so if you only set push-url in your buildstream.conf file it will be interpreted to mean "set push-url, and unset pull-url" rather than "set push-url and use the existing value of pull-url."

Edited by Sam Thursfield

Merge request reports