Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MultiStageTestLabel is the label we use to mark a pod as part of a multi-stage test MultiStageTestLabel = "ci.openshift.io/multi-stage-test" // ClusterProfileMountPath is where we mount the cluster profile in a pod ClusterProfileMountPath = "/var/run/secrets/ci.openshift.io/cluster-profile" // SecretMountPath is where we mount the shared dir secret SecretMountPath = "/var/run/secrets/ci.openshift.io/multi-stage" // SecretMountEnv is the env we use to expose the shared dir SecretMountEnv = "SHARED_DIR" // ClusterProfileMountEnv is the env we use to expose the cluster profile dir ClusterProfileMountEnv = "CLUSTER_PROFILE_DIR" // CliMountPath is where we mount the cli in a pod CliMountPath = "/cli" // CommandPrefix is the prefix we add to a user's commands CommandPrefix = "#!/bin/bash\nset -eu\n" // CommandScriptMountPath is where we mount the command script CommandScriptMountPath = "/var/run/configmaps/ci.openshift.io/multi-stage" )
Variables ¶
This section is empty.
Functions ¶
func MultiStageTestStep ¶
func MultiStageTestStep( testConfig api.TestStepConfiguration, config *api.ReleaseBuildConfiguration, params api.Parameters, client kubernetes.PodClient, jobSpec *api.JobSpec, leases []api.StepLease, nodeName string, targetAdditionalSuffix string, cancelObservers func(context.CancelFunc), ) api.Step
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.