env

package
v0.0.0-...-95a44f4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvgBuildID

func EvgBuildID() (string, error)

EvgBuildID returns the build_id of the current evergreen task, based on the value of an env variable set by the evg project file.

func EvgIsPatch

func EvgIsPatch() bool

EvgIsPatch returns whether the current evergreen task is a patch, based on the value of an env variable set by the evg project file.

func EvgIsTagTriggered

func EvgIsTagTriggered() bool

EvgIsTagTriggered returns whether the current evergreen task is part of a tag-triggered version, based on the value of an env variable set by the evg project file.

func EvgVariant

func EvgVariant() (string, error)

EvgVariant returns the variant name for the current evergreen task, based on the value of an env variable set by the evg project file.

func EvgVersionID

func EvgVersionID() (string, error)

EvgVersionID returns the current evergreen version, based on the value of an env variable set by the evg project file.

func IsFakeTag

func IsFakeTag() bool

IsFakeTag returns true if the tag set in `EVG_TRIGGERED_BY_TAG` was set via the `fake_tag_for_release_testing` parameter in our Evergreen config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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