summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r--buildstream/_project.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index 8348ca9f1..3a4bf97f3 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -171,9 +171,8 @@ class Project():
# Load artifacts pull/push configuration for this project
artifacts = _yaml.node_get(config, Mapping, 'artifacts', default_value={})
- _yaml.node_validate(artifacts, ['pull-url', 'push-url'])
- self.artifact_pull = _yaml.node_get(artifacts, str, 'pull-url', default_value='') or None
- self.artifact_push = _yaml.node_get(artifacts, str, 'push-url', default_value='') or None
+ _yaml.node_validate(artifacts, ['url'])
+ self.artifact_url = _yaml.node_get(artifacts, str, 'url', default_value='') or None
# Workspace configurations
self._workspaces = self._load_workspace_config()