create and store card data (#41)
* ability to stream a file to the drone server
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
"github.com/drone/runner-go/pipeline/reporter/history"
|
||||
"github.com/drone/runner-go/pipeline/reporter/remote"
|
||||
"github.com/drone/runner-go/pipeline/runtime"
|
||||
"github.com/drone/runner-go/pipeline/uploader"
|
||||
"github.com/drone/runner-go/poller"
|
||||
"github.com/drone/runner-go/registry"
|
||||
"github.com/drone/runner-go/secret"
|
||||
@@ -109,6 +110,7 @@ func (c *daemonCommand) run(*kingpin.ParseContext) error {
|
||||
}
|
||||
|
||||
remote := remote.New(cli)
|
||||
upload := uploader.New(cli)
|
||||
tracer := history.New(remote)
|
||||
hook := loghistory.New()
|
||||
logrus.AddHook(hook)
|
||||
@@ -182,6 +184,7 @@ func (c *daemonCommand) run(*kingpin.ParseContext) error {
|
||||
Exec: runtime.NewExecer(
|
||||
tracer,
|
||||
remote,
|
||||
upload,
|
||||
engine,
|
||||
config.Runner.Procs,
|
||||
).Exec,
|
||||
|
||||
Reference in New Issue
Block a user