Skip to content

Commit

Permalink
tests: add integration test for exec()
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed May 10, 2022
1 parent 15414c0 commit 7c8d1d2
Show file tree
Hide file tree
Showing 9 changed files with 825 additions and 10 deletions.
1 change: 1 addition & 0 deletions cmd/vela-worker/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (w *Worker) exec(index int) error {
// https://pkg.go.dev/github.com/go-vela/worker/runtime?tab=doc#New
w.Runtime, err = runtime.New(&runtime.Setup{
Logger: logger,
Mock: w.Config.Runtime.Mock,
Driver: w.Config.Runtime.Driver,
ConfigFile: w.Config.Runtime.ConfigFile,
HostVolumes: w.Config.Runtime.HostVolumes,
Expand Down
Loading

0 comments on commit 7c8d1d2

Please sign in to comment.