...

Source file src/edge-infra.dev/pkg/edge/component/build/labels.go

Documentation: edge-infra.dev/pkg/edge/component/build

     1  // Package build provides libraries for working with builds of Edge platform
     2  // components
     3  package build
     4  
     5  import (
     6  	"edge-infra.dev/pkg/edge/constants"
     7  )
     8  
     9  // Build metadata labels, these are typically added by the EdgeRelease Kpt
    10  // function.
    11  const (
    12  	buildLabel = "build." + constants.Domain
    13  	// Timestamp should be the time of the commit which produced this artifact
    14  	TimestampLabel = buildLabel + "/timestamp"
    15  	// Build job ID, should be unique ID for your build system
    16  	BuildIDLabel = buildLabel + "/id"
    17  	// Git commit that produced the artifact
    18  	CommitLabel = buildLabel + "/commit"
    19  	// Semantic Version value (https://semver.org)
    20  	SemVerLabel = buildLabel + "/semver"
    21  	// Repository name, eg, edge-infra
    22  	RepoLabel = buildLabel + "/repo"
    23  	// Org name, eg, ncrvoyix-swt-retail
    24  	OrgLabel = buildLabel + "/org"
    25  )
    26  

View as plain text