Documentation ¶
Overview ¶
Package pipeline provides helper functions for working with the Gitlab pipeline
Index ¶
Constants ¶
View Source
const ( // DefaultMajorVersion the default major version to use DefaultMajorVersion = "7" // AgentS3BucketRelease the production S3 bucket AgentS3BucketRelease = "ddagent-windows-stable" // AgentS3BucketTesting the testing S3 bucket AgentS3BucketTesting = "dd-agent-mstesting" // BetaChannel the "folder" where beta artifacts are uploaded to BetaChannel = "beta" // BetaURL the location of the "beta" installers_v2 JSON BetaURL = "https://s3.amazonaws.com/dd-agent-mstesting/builds/beta/installers_v2.json" // StableChannel the "folder" where stable artifacts are uploaded to StableChannel = "stable" // StableURL the location of the "stable" installers_v2 JSON StableURL = "https://ddagent-windows-stable.s3.amazonaws.com/installers_v2.json" )
Variables ¶
This section is empty.
Functions ¶
func GetPipelineArtifact ¶
func GetPipelineArtifact(pipelineID, bucket, majorVersion string, predicate func(string) bool) (string, error)
GetPipelineArtifact searches a public S3 bucket for a given artifact from a Gitlab pipeline majorVersion = [6,7] predicate = A function taking the artifact name (from github.com/aws/aws-sdk-go-v2/service/s3/types.Object.Key) and that returns true when the artifact matches.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.