implemented gitops controller + drift detection
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
"github.com/forgeo/forgebucket/internal/db"
|
||||
"github.com/forgeo/forgebucket/internal/domain/ci"
|
||||
gitdomain "github.com/forgeo/forgebucket/internal/domain/git"
|
||||
"github.com/forgeo/forgebucket/internal/domain/gitops"
|
||||
"github.com/forgeo/forgebucket/internal/events"
|
||||
"github.com/forgeo/forgebucket/internal/models/migrations"
|
||||
"github.com/forgeo/forgebucket/web"
|
||||
@@ -73,6 +74,9 @@ func main() {
|
||||
runnerMgr := ci.NewRunnerManager(engine, bus, cfg, 4)
|
||||
go runnerMgr.Start(ciCtx)
|
||||
|
||||
gitopsCtrl := gitops.NewController(engine, bus, cfg)
|
||||
go gitopsCtrl.Start(ciCtx)
|
||||
|
||||
handler := api.New(cfg, engine, store, bus, cfg.ArtifactRoot, web.FS())
|
||||
|
||||
srv := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user