Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BuildRunningOutdatedTimeout -- BuildRunningOutdatedTimeout = 1 * time.Hour // BuildPendingOutdatedTimeout -- BuildPendingOutdatedTimeout = 24 * time.Hour // BuildScheduledOutdatedTimeout -- BuildScheduledOutdatedTimeout = 1 * time.Hour // BuildPendingStuckTimeout -- BuildPendingStuckTimeout = 1 * time.Hour )
View Source
const ContextKeyDb contextKey = "db"
ContextKeyDb is used to set context value for db
View Source
const ContextKeyNode contextKey = "node"
ContextKeyNode is used to set context value for node/snowflake
View Source
const ContextKeyWebsocket contextKey = "websocket"
ContextKeyWebsocket is used to set context value for passing websocket
Variables ¶
View Source
var BRANCH = "dev"
BRANCH of the Version
View Source
var GitLabDefaultStages = []string{"build", "test", "deploy"}
GitLabDefaultStages defines the default stages if none are specified
View Source
var GitLabKeywordsGlobalDefaults = []string{
"image",
"services",
"before_script",
"after_script",
"tags",
"cache",
"artifacts",
"retry",
"timeout",
"interruptible",
}
GitLabKeywordsGlobalDefaults define the global defaults for a pipeline
View Source
"image",
"services",
"stages",
"types",
"before_script",
"after_script",
"variables",
"cache",
"include",
"tags",
"cache",
"artifacts",
"retry",
"timeout",
"script",
"interruptible",
}
GitLabUnavailableJobNames are used to exclude job names
View Source
var GitlabGlobalConfig = []string{
"image",
"services",
"before_script",
"after_script",
"tags",
"cache",
"artifacts",
"retry",
"timeout",
"interruptible",
"script",
"stages",
}
GitlabGlobalConfig --
View Source
var NAME = "pipeliner"
NAME of the App
View Source
var SUMMARY = "dirty"
SUMMARY of the Version
View Source
var VERSION = "0.2.0"
VERSION of Release
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.