manifest: add only necessary repositories to each pipeline
Each pipeline constructor receives the full list of repositories and filters the list based on its own internal name.
This commit is contained in:
parent
a66003e513
commit
c7e0b69704
5 changed files with 15 additions and 10 deletions
|
|
@ -41,10 +41,11 @@ func NewOSTreeCommitServer(m *Manifest,
|
|||
commitPipeline *OSTreeCommit,
|
||||
nginxConfigPath,
|
||||
listenPort string) *OSTreeCommitServer {
|
||||
name := "container-tree"
|
||||
p := &OSTreeCommitServer{
|
||||
Base: NewBase(m, "container-tree", buildPipeline),
|
||||
Base: NewBase(m, name, buildPipeline),
|
||||
platform: platform,
|
||||
repos: repos,
|
||||
repos: filterRepos(repos, name),
|
||||
commitPipeline: commitPipeline,
|
||||
nginxConfigPath: nginxConfigPath,
|
||||
listenPort: listenPort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue