feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
This commit is contained in:
1 parent
272542b92a
commit
bf52b21150
131 files changed
+9222
-17
No files matched your search
@@ -1,3 +1,24 @@
|
||||
package main
|
||||
|
||||
func main() {}
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"evobgp/internal/config"
|
||||
"evobgp/internal/deploy"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg := config.Load()
|
||||
name := cfg.ServiceName
|
||||
if name == "" {
|
||||
name = "evobgp-deploy"
|
||||
}
|
||||
log.Printf("%s starting (reference profile worker)", name)
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
defer stop()
|
||||
deploy.Run(ctx)
|
||||
}
|
||||
Reference in new issue
Block a user