Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRunner ¶
type BuildRunner interface {
Run(buildScript *script.Build, repo *repo.Repo, key []byte, buildOutput io.Writer) (success bool, err error)
}
func NewBuildRunner ¶
func NewBuildRunner(dockerClient *docker.Client, timeout time.Duration) BuildRunner
type BuildTask ¶
type BuildTask struct { Repo *Repo Commit *Commit Build *Build // Build instructions from the .drone.yml // file, unmarshalled. Script *script.Build }
BuildTasks represents a build that is pending execution.
Click to show internal directories.
Click to hide internal directories.