github.com/jenkins-x/jx/v2@v2.1.155/pkg/tekton/constants.go (about)

     1  package tekton
     2  
     3  import (
     4  	v1 "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1"
     5  )
     6  
     7  const (
     8  	// LastBuildNumberAnnotationPrefix used to annotate SourceRepository with the latest build number for a branch
     9  	LastBuildNumberAnnotationPrefix = "jenkins.io/last-build-number-for-"
    10  
    11  	// LabelOwner is the label added to Tekton CRDs for the owner of the repository being built.
    12  	LabelOwner = v1.LabelOwner
    13  
    14  	// LabelRepo is the label added to Tekton CRDs for the repository being built.
    15  	LabelRepo = v1.LabelRepository
    16  
    17  	// LabelBranch is the label added to Tekton CRDs for the branch being built.
    18  	LabelBranch = v1.LabelBranch
    19  
    20  	// LabelBuild is the label added to Tekton CRDs for the build number.
    21  	LabelBuild = v1.LabelBuild
    22  
    23  	// LabelContext is the label added to Tekton CRDs for the context being built.
    24  	LabelContext = "context"
    25  
    26  	// LabelType is the label added to Tekton CRDs for the type of pipeline.
    27  	LabelType = "jenkins.io/pipelineType"
    28  
    29  	// DefaultPipelineSA is the default service account used for pipelines
    30  	DefaultPipelineSA = "tekton-bot"
    31  )