Documentation ¶
Index ¶
- func AddDep(ctx *task.Context) error
- func BuildTools(ctx *task.Context) error
- func CheckMinimumGoVersion(ctx *task.Context) error
- func SAEvergreenValidate(ctx *task.Context) error
- func SAInstallDevTools(ctx *task.Context) error
- func SAModTidy(ctx *task.Context) error
- func SAPreciousLint(ctx *task.Context) error
- func TestAWSAuth(ctx *task.Context) error
- func TestIntegration(ctx *task.Context) error
- func TestKerberos(ctx *task.Context) error
- func TestUnit(ctx *task.Context) error
- func UpdateAllDeps(ctx *task.Context) error
- func UpdateDep(ctx *task.Context) error
- func WriteAugmentedSBOM(ctx *task.Context) error
- func WriteSBOMLite(ctx *task.Context) error
- func WriteThirdPartyNotices(ctx *task.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDep ¶
AddDep adds a new dependency. Pass a package name with an optional `@$version` at the end.
func BuildTools ¶
BuildTools is an Executor that builds the tools.
func CheckMinimumGoVersion ¶
func SAEvergreenValidate ¶
SAEvergreenValidate runs `evergreen validate` on common.yml and ensures the file is valid.
func SAInstallDevTools ¶
func SAModTidy ¶
SAModTidy runs go mod tidy and ensure no changes were made. Copied from mongohouse: https://github.com/10gen/mongohouse/blob/333308814f96a0909c8125f71af7748b263e3263/buildscript/sa.go#L72
func SAPreciousLint ¶
func TestAWSAuth ¶
TestAWSAuth is an Executor that runs all AWS auth tests for the provided packages.
func TestIntegration ¶
TestIntegration is an Executor that runs all integration tests for the provided packages.
func TestKerberos ¶
TestKerberos is an Executor that runs all kerberos tests for the provided packages.
func UpdateAllDeps ¶
UpdateAll updates all existing dependencies to their latest versions. To exclude one or more packages, set the `-exclude` argument to a list of packages separated by a space.
This does not upgrade packages included as the replacement in a `replace` block. Those must be upgraded by editing the `go.mod` file directly.
func UpdateDep ¶
UpdateDep updates an existing dependency. Pass a package name with an optional `@$version` at the end.
func WriteAugmentedSBOM ¶
WriteAugmentedSBOM creates the SBOM Lite file for this project. This requires the following env vars to be set:
- SILK_CLIENT_ID
- SILK_CLIENT_SECRET
- EVG_TRIGGERED_BY_TAG
func WriteSBOMLite ¶
func WriteThirdPartyNotices ¶
WriteThirdPartyNotices writes the `THIRD-PARTY-NOTICES` file for this project, which contains all the licenses for our vendored code.
Types ¶
This section is empty.