Documentation ¶
Overview ¶
ctx provides a cumulative structure carried over to each module in the build pipeline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Info = &info{}
Functions ¶
Types ¶
type Artifact ¶
type Artifact struct { Arch string ArchName string ArmVersion int32 Filename string ID string Location string OS string }
Artifact is a file generated by the build pipeline, which can be further processed by later steps (eg. a build result put into an archive)
type Artifacts ¶
type Artifacts []*Artifact
Artifacts is a slice of Artifact
type Context ¶
type Context struct { context.Context Artifacts Artifacts Env *withenv.Env Git *GitData ProjectName string Publish bool TargetDir string Version string }
Context are a cumulative structure carried over to each module, to contain data later steps might require
type GitData ¶
type GitData struct { // Tag contains git tag information, if the repo is on a specific tag Tag string // Ref contains the full SHA1 checksum of the current commit Ref string // URL contains git repo's URL, collected from current branch's upstream URL string }
GitData contains git-specific information on the repository
Click to show internal directories.
Click to hide internal directories.