diff options
author | Mathieu Bridon <bochecha@daitauha.fr> | 2017-09-14 18:15:05 +0200 |
---|---|---|
committer | Mathieu Bridon <bochecha@daitauha.fr> | 2017-09-19 09:34:00 +0200 |
commit | 00e08459c4ac0ee7d150b282d1228df1d60aff12 (patch) | |
tree | c2fbdecea70c03405a28253335d64a0c714613d1 /buildstream/data/userconfig.yaml | |
parent | e1da62e4eccf94a11e60d972f87aa03b413ac350 (diff) | |
download | buildstream-00e08459c4ac0ee7d150b282d1228df1d60aff12.tar.gz |
Let users override project artifacts options
A project can specify its artifacts cache sharing settings, and users can
define a default artifacts cache to use as a fallback.
With this change, users can also override the project configuration with
their own.
That means for a project named "libfoo", BuildStream will resolve the
artifacts-related options in the following order:
1. the projects.libfoo.artifacts options from the user configuration;
2. if the above was not defined, then the artifacts options from the
project configuration;
3. if the above was not defined, then the artifacts options from the
user configuration;
Fixes #87
Diffstat (limited to 'buildstream/data/userconfig.yaml')
-rw-r--r-- | buildstream/data/userconfig.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/buildstream/data/userconfig.yaml b/buildstream/data/userconfig.yaml index 1cce9fcd5..ce0812840 100644 --- a/buildstream/data/userconfig.yaml +++ b/buildstream/data/userconfig.yaml @@ -96,3 +96,20 @@ logging: element-format: | %{state: >12} %{key} %{name} %{variant} %{workspace-dirs} + +# +# Per project overrides +# +# Some settings defined in the project configuration can be overridden by +# the user configuration. +# +# projects: +# +# project1: +# artifacts: +# pull-url: https://artifacts.com +# push-url: artifacts@artifacts.com:artifacts +# push-port: 443 +# +# project2: +# ... |