pipeline: remove sources server

All sources are now pre-fetched before any pipeline and thus any
stage is being built. Additionally, in the version 1 foramt, all
stages that were using source are converted to use inputs when
the manifest is loaded. Thus, nothing should use `source.get`
and thus the sources API (`SourcesServer`) anymore.
This commit is contained in:
Christian Kellner 2021-04-28 09:15:50 +00:00
parent fd21da3aa6
commit f1b406a774

View file

@ -9,7 +9,6 @@ from .api import API
from . import buildroot
from . import objectstore
from . import remoteloop
from . import sources
from .inputs import Input
from .sources import Source
from .util import osrelease
@ -104,12 +103,6 @@ class Stage:
api = API(args, monitor)
build_root.register_api(api)
src = sources.SourcesServer(libdir,
self.sources,
os.path.join(store.store, "sources"),
sources_output)
build_root.register_api(src)
rls = remoteloop.LoopServer()
build_root.register_api(rls)