Skip to content

Commit

Permalink
Merge pull request #2136 from bradrydzewski/master [ci skip]
Browse files Browse the repository at this point in the history
remove broken plugins pending redesign [ci skip]
  • Loading branch information
bradrydzewski committed Jul 24, 2017
2 parents 6930274 + 07c82aa commit a5a339a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 109 deletions.
8 changes: 0 additions & 8 deletions cmd/drone-server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -555,12 +553,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)
}
Expand Down
46 changes: 0 additions & 46 deletions plugins/registry/plugin.go

This file was deleted.

1 change: 0 additions & 1 deletion plugins/registry/plugin_test.go

This file was deleted.

53 changes: 0 additions & 53 deletions plugins/secrets/plugin.go

This file was deleted.

1 change: 0 additions & 1 deletion plugins/secrets/plugin_test.go

This file was deleted.

1 change: 1 addition & 0 deletions server/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ func EventStreamSSE(c *gin.Context) {
c.Header("Content-Type", "text/event-stream")
c.Header("Cache-Control", "no-cache")
c.Header("Connection", "keep-alive")
c.Header("X-Accel-Buffering", "no")

rw := c.Writer

Expand Down

0 comments on commit a5a339a

Please sign in to comment.