Ejemplo n.º 1
0
// RunSTIBuild creates a STI builder and runs its build
func RunSTIBuild() {
	run(func(client bld.DockerClient, sock string, build *api.Build) builder {
		return bld.NewSTIBuilder(client, sock, build)
	}, []scmauth.SCMAuth{&scmauth.SSHPrivateKey{}})
}
Ejemplo n.º 2
0
// RunSTIBuild creates a STI builder and runs its build
func RunSTIBuild() {
	run(func(client bld.DockerClient, sock string, auth docker.AuthConfiguration, present bool, build *api.Build) builder {
		return bld.NewSTIBuilder(client, sock, auth, present, build)
	}, []scmauth.SCMAuth{&scmauth.SSHPrivateKey{}})
}
Ejemplo n.º 3
0
// RunSTIBuild creates a STI builder and runs its build
func RunSTIBuild() {
	run(func(client bld.DockerClient, sock string, build *api.Build) builder {
		return bld.NewSTIBuilder(client, sock, build)
	})
}