Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultBuildUser represents the default builduser
DefaultBuildUser = "cimalva"
)
Variables ¶
This section is empty.
Functions ¶
func CopyFilesToImage ¶ added in v0.2.0
func CopyFilesToImage(myBaton *Baton) ciutil.OnWriterFunc
CopyFilesToImage copies the files from dockerdirectory to image
func GetDockerImageTag ¶ added in v0.2.0
GetDockerImageTag returns the image tag for the given information
Types ¶
type Baton ¶
type Baton struct {
// BuildUser represents the name of the build user
BuildUser string
// ProjectID represents the unique projectID of this project
ProjectID string
// ProjectName represents the name of the project under discussion
ProjectName string
// CommitID represents the latest commitID / commit hash of the checkout
CommitID string
// ProjectRoot represents the root of the current project
ProjectRoot string
// ProjectRootParent representsthe parent of project root directory
ProjectRootParent string
// BuildOS represents the abstractions of the platform operating system
BuildOS buildos.BuildOS
}
Baton represents the information exchanged / shared between pipelines
Click to show internal directories.
Click to hide internal directories.