metadata

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AnnotationBitbucketBranch is an identifier for Bitbucket branch this environment was built from.
	AnnotationBitbucketBranch = "bitbucket.org/branch"

	// AnnotationBitbucketRepoOwner is an identifier for Bitbucket repository owner.
	AnnotationBitbucketRepoOwner = "bitbucket.org/repo-owner"

	// AnnotationBitbucketRepoName is an identifier for Bitbucket repository this environment was built from.
	AnnotationBitbucketRepoName = "bitbucket.org/repo-name"

	// AnnotationBitbucketBuildNumber is the unique identifier for a build. It increments with each build and can be
	// used to create unique artifact names.
	AnnotationBitbucketBuildNumber = "bitbucket.org/build-number"

	// AnnotationBitbucketCommit is the commit hash of a commit that kicked off the build.
	AnnotationBitbucketCommit = "bitbucket.org/commit"

	// AnnotationBitbucketRepoOwnerUUID is the UUID of the account in which the repository lives.
	AnnotationBitbucketRepoOwnerUUID = "bitbucket.org/repo-owner-uuid"

	// AnnotationBitbucketRepoUUID is the UUID of the repository.
	AnnotationBitbucketRepoUUID = "bitbucket.org/repo-uuid"

	// AnnotationBitbucketTag is the tag of a commit that kicked off the build. This value is only available on tags.
	AnnotationBitbucketTag = "bitbucket.org/tag"

	// AnnotationBitbucketBookmark is for use with Mercurial projects.
	AnnotationBitbucketBookmark = "bitbucket.org/bookmark"

	// AnnotationBitbucketParallelStep is zero-based index of the current step in the group.
	AnnotationBitbucketParallelStep = "bitbucket.org/parallel-step"

	// AnnotationBitbucketParallelStepCount is Total number of steps in the group.
	AnnotationBitbucketParallelStepCount = "bitbucket.org/parallel-step-count"

	// AnnotationCircleCIRepositoryUsername is an identifier for CircleCI repository the environment was built from.
	AnnotationCircleCIRepositoryUsername = "circleci.com/project-username"

	// AnnotationCircleCIRepositoryName is an identifier for CircleCI repository the environment was built from.
	AnnotationCircleCIRepositoryName = "circleci.com/project-reponame"

	// AnnotationCircleCIRepositoryURL is an identifier for CircleCI repository the environment was built from.
	AnnotationCircleCIRepositoryURL = "circleci.com/repository-url"

	// AnnotationCircleCIPRNumber is an identifier for CircleCI pull request the environment was built from.
	AnnotationCircleCIPRNumber = "circleci.com/pr-number"

	// AnnotationCircleCIPRUsername is an identifier for CircleCI pull request submitted by a user.
	AnnotationCircleCIPRUsername = "circleci.com/pr-username"

	// AnnotationCircleCIBuildNum is the number of the CircleCI build.
	AnnotationCircleCIBuildNum = "circleci.com/build-num"

	// AnnotationCircleCIBuildURL is the URL for the current build.
	AnnotationCircleCIBuildURL = "circleci.com/build-url"

	// AnnotationCircleCICompareURL is the GitHub or Bitbucket URL to compare commits of a build.
	AnnotationCircleCICompareURL = "circleci.com/compare-url"

	// AnnotationCircleCISHA1 is the SHA1 hash of the last commit of the current build.
	AnnotationCircleCISHA1 = "circleci.com/sha1"

	// AnnotationCircleCIUsername is the GitHub or Bitbucket username of the user who triggered the build.
	AnnotationCircleCIUsername = "circleci.com/username"

	// AnnotationCircleCIBranch is the name of the Git branch currently being built.
	AnnotationCircleCIBranch = "circleci.com/branch"

	// AnnotationCircleCIJob is the name of the current job.
	AnnotationCircleCIJob = "circleci.com/job"

	// AnnotationCircleCIWorkflowID is a unique identifier for the workflow instance of the current job. This
	// identifier is the same for every job in a given workflow instance.
	AnnotationCircleCIWorkflowID = "circleci.com/workflow-id"

	// AnnotationCircleCIWorkflowJobID is the workflow job ID.
	AnnotationCircleCIWorkflowJobID = "circleci.com/workflow-job-id"

	// AnnotationCircleCIWorkflowWorkspaceID is the workspace ID.
	AnnotationCircleCIWorkflowWorkspaceID = "circleci.com/workflow-workspace-id"
)

Variables

This section is empty.

Functions

func Annotations

func Annotations(envs []string) ([]*pb.Annotation, error)

Annotations are used for attaching metadata to a environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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