Loading buildstream/_artifactcache.py +1 −4 Original line number Diff line number Diff line Loading @@ -1046,8 +1046,5 @@ class ArtifactCache(): # A list of ArtifactCacheSpec instances describing the remote artifact caches. # def _configured_remote_artifact_cache_specs(context, project): project_overrides = context.get_overrides(project.name) project_extra_specs = ArtifactCache.specs_from_config_node(project_overrides) return list(utils._deduplicate( project_extra_specs + project.artifact_cache_specs + context.artifact_cache_specs)) project.artifact_cache_specs + context.artifact_cache_specs)) buildstream/_project.py +9 −1 Original line number Diff line number Diff line Loading @@ -549,7 +549,15 @@ class Project(): # # Load artifacts pull/push configuration for this project self.artifact_cache_specs = ArtifactCache.specs_from_config_node(config, self.directory) project_specs = ArtifactCache.specs_from_config_node(config, self.directory) override_specs = ArtifactCache.specs_from_config_node( self._context.get_overrides(self.name), self.directory) self.artifact_cache_specs = override_specs + project_specs if self.junction: parent = self.junction._get_project() self.artifact_cache_specs = parent.artifact_cache_specs + self.artifact_cache_specs # Load remote-execution configuration for this project project_specs = SandboxRemote.specs_from_config_node(config, self.directory) Loading Loading
buildstream/_artifactcache.py +1 −4 Original line number Diff line number Diff line Loading @@ -1046,8 +1046,5 @@ class ArtifactCache(): # A list of ArtifactCacheSpec instances describing the remote artifact caches. # def _configured_remote_artifact_cache_specs(context, project): project_overrides = context.get_overrides(project.name) project_extra_specs = ArtifactCache.specs_from_config_node(project_overrides) return list(utils._deduplicate( project_extra_specs + project.artifact_cache_specs + context.artifact_cache_specs)) project.artifact_cache_specs + context.artifact_cache_specs))
buildstream/_project.py +9 −1 Original line number Diff line number Diff line Loading @@ -549,7 +549,15 @@ class Project(): # # Load artifacts pull/push configuration for this project self.artifact_cache_specs = ArtifactCache.specs_from_config_node(config, self.directory) project_specs = ArtifactCache.specs_from_config_node(config, self.directory) override_specs = ArtifactCache.specs_from_config_node( self._context.get_overrides(self.name), self.directory) self.artifact_cache_specs = override_specs + project_specs if self.junction: parent = self.junction._get_project() self.artifact_cache_specs = parent.artifact_cache_specs + self.artifact_cache_specs # Load remote-execution configuration for this project project_specs = SandboxRemote.specs_from_config_node(config, self.directory) Loading