mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
removed unused and broken packages
This commit is contained in:
@@ -18,8 +18,6 @@ import (
|
||||
"github.com/cncd/logging"
|
||||
"github.com/cncd/pipeline/pipeline/rpc/proto"
|
||||
"github.com/cncd/pubsub"
|
||||
"github.com/drone/drone/plugins/registry"
|
||||
"github.com/drone/drone/plugins/secrets"
|
||||
"github.com/drone/drone/plugins/sender"
|
||||
"github.com/drone/drone/remote"
|
||||
"github.com/drone/drone/router"
|
||||
@@ -503,12 +501,6 @@ func setupEvilGlobals(c *cli.Context, v store.Store, r remote.Remote) {
|
||||
droneserver.Config.Services.Senders = sender.New(v, v)
|
||||
droneserver.Config.Services.Environ = setupEnvironService(c, v)
|
||||
|
||||
if endpoint := c.String("registry-service"); endpoint != "" {
|
||||
droneserver.Config.Services.Registries = registry.NewRemote(endpoint)
|
||||
}
|
||||
if endpoint := c.String("secret-service"); endpoint != "" {
|
||||
droneserver.Config.Services.Secrets = secrets.NewRemote(endpoint)
|
||||
}
|
||||
if endpoint := c.String("gating-service"); endpoint != "" {
|
||||
droneserver.Config.Services.Senders = sender.NewRemote(endpoint)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user