edited ci file
This commit is contained in:
@@ -80,7 +80,10 @@ func main() {
|
||||
ciCtx, ciCancel := context.WithCancel(context.Background())
|
||||
defer ciCancel()
|
||||
|
||||
orchestrator := ci.NewOrchestrator(engine, bus)
|
||||
sbomGen := sbom.NewGenerator(engine, bus)
|
||||
go sbomGen.Start(ciCtx)
|
||||
|
||||
orchestrator := ci.NewOrchestrator(engine, bus, sbomGen)
|
||||
go orchestrator.Start(ciCtx)
|
||||
|
||||
runnerMgr := ci.NewRunnerManager(engine, bus, cfg, 4)
|
||||
@@ -89,9 +92,6 @@ func main() {
|
||||
gitopsCtrl := gitops.NewController(engine, bus, cfg)
|
||||
go gitopsCtrl.Start(ciCtx)
|
||||
|
||||
sbomGen := sbom.NewGenerator(engine, bus)
|
||||
go sbomGen.Start(ciCtx)
|
||||
|
||||
go observability.StartNATSWatcher(ciCtx, bus)
|
||||
|
||||
// Initialise artifact signing key store.
|
||||
|
||||
Reference in New Issue
Block a user