github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/build-support/functions/00-vars.sh (about) 1 # GPG Key ID to use for publically released builds 2 HASHICORP_GPG_KEY="348FFC4C" 3 4 # Default Image Names 5 UI_BUILD_CONTAINER_DEFAULT="consul-build-ui" 6 UI_LEGACY_BUILD_CONTAINER_DEFAULT="consul-build-ui-legacy" 7 GO_BUILD_CONTAINER_DEFAULT="consul-build-go" 8 9 # Whether to colorize shell output 10 COLORIZE=${COLORIZE-1} 11 12 # determine GOPATH and the first GOPATH to use for intalling binaries 13 GOPATH=${GOPATH:-$(go env GOPATH)} 14 case $(uname) in 15 CYGWIN*) 16 GOPATH="$(cygpath $GOPATH)" 17 ;; 18 esac 19 MAIN_GOPATH=$(cut -d: -f1 <<< "${GOPATH}") 20 21 # Build debugging output is off by default 22 BUILD_DEBUG=${BUILD_DEBUG-0} 23 24 # default publish host is github.com - only really useful to use something else for testing 25 PUBLISH_GIT_HOST="${PUBLISH_GIT_HOST-github.com}" 26 27 # default publish repo is hashicorp/consul - useful to override for testing as well as in the enterprise repo 28 PUBLISH_GIT_REPO="${PUBLISH_GIT_REPO-hashicorp/consul.git}" 29 30 CONSUL_PKG_NAME="consul" 31 32 if test "$(uname)" == "Darwin" 33 then 34 SED_EXT="-E" 35 else 36 SED_EXT="-r" 37 fi 38 39 CONSUL_BINARY_TYPE=oss