teamcity

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestRunnerName = "teamcity"

	EnvParamEnvType         = "env.S2H_ENV_TYPE"
	EnvParamNamespace       = "env.S2H_NAMESPACE"
	EnvParamVersion         = "env.S2H_VERSION"
	EnvParamTeam            = "env.S2H_TEAM"
	EnvParamGitCommit       = "env.S2H_GIT_COMMIT"
	EnvParamCompName        = "env.S2H_COMPONENT_NAME"
	EnvParamCompVersion     = "env.S2H_COMPONENT_VERSION"
	EnvParamQueueType       = "env.S2H_QUEUE_TYPE"
	ParamEnvType            = "s2hEnvType"
	ParamNamespace          = "s2hNamespace"
	ParamVersion            = "s2hVersion"
	ParamTeam               = "s2hTeam"
	ParamGitCommit          = "s2hGitCommit"
	ParamCompName           = "s2hComponentName"
	ParamCompVersion        = "s2hComponentVersion"
	ParamQueueType          = "s2hQueueType"
	ParamReverseEnvType     = "reverse.dep.*.s2hEnvType"
	ParamReverseNamespace   = "reverse.dep.*.s2hNamespace"
	ParamReverseVersion     = "reverse.dep.*.s2hVersion"
	ParamReverseTeam        = "reverse.dep.*.s2hTeam"
	ParamReverseGitCommit   = "reverse.dep.*.s2hGitCommit"
	ParamReverseCompName    = "reverse.dep.*.s2hComponentName"
	ParamReverseCompVersion = "reverse.dep.*.s2hComponentVersion"
	ParamReverseQueueType   = "reverse.dep.*.s2hQueueType"
)

Variables

This section is empty.

Functions

func New

func New(client client.Client, baseURL, username, password string) internal.StagingTestRunner

TODO: should read teamcity credentials from secret New creates a new teamcity test runner

Types

type ResultResponse

type ResultResponse struct {
	BuildNumber string `xml:"number,attr"`
	State       string `xml:"state,attr"`
	Status      string `xml:"status,attr"`
}

type TriggerResponse

type TriggerResponse struct {
	BuildID string `xml:"id,attr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL