mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
Merge pull request #959 from kinvolk/dongsu/go-1.16-default
Set the default Go version to 1.16
This commit is contained in:
commit
818e27951e
@ -6,6 +6,7 @@ CROS_WORKON_PROJECT="flatcar-linux/updateservicectl"
|
|||||||
CROS_WORKON_LOCALNAME="updateservicectl"
|
CROS_WORKON_LOCALNAME="updateservicectl"
|
||||||
CROS_WORKON_REPO="git://github.com"
|
CROS_WORKON_REPO="git://github.com"
|
||||||
COREOS_GO_PACKAGE="github.com/coreos/updateservicectl"
|
COREOS_GO_PACKAGE="github.com/coreos/updateservicectl"
|
||||||
|
COREOS_GO_GO111MODULE="off"
|
||||||
inherit cros-workon coreos-go
|
inherit cros-workon coreos-go
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
|
@ -6,6 +6,7 @@ CROS_WORKON_PROJECT="appc/acbuild"
|
|||||||
CROS_WORKON_REPO="git://github.com"
|
CROS_WORKON_REPO="git://github.com"
|
||||||
CROS_WORKON_LOCALNAME="appc-acbuild"
|
CROS_WORKON_LOCALNAME="appc-acbuild"
|
||||||
COREOS_GO_PACKAGE="github.com/appc/acbuild"
|
COREOS_GO_PACKAGE="github.com/appc/acbuild"
|
||||||
|
COREOS_GO_GO111MODULE="off"
|
||||||
inherit coreos-go toolchain-funcs cros-workon
|
inherit coreos-go toolchain-funcs cros-workon
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
|
@ -5,7 +5,6 @@ EAPI=7
|
|||||||
|
|
||||||
inherit coreos-go
|
inherit coreos-go
|
||||||
|
|
||||||
COREOS_GO_VERSION="go1.15"
|
|
||||||
COREOS_GO_PACKAGE="github.com/kubernetes-sigs/cri-tools"
|
COREOS_GO_PACKAGE="github.com/kubernetes-sigs/cri-tools"
|
||||||
COREOS_GO_MOD="vendor"
|
COREOS_GO_MOD="vendor"
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# @CODE
|
# @CODE
|
||||||
# COREOS_GO_VERSION=go1.15
|
# COREOS_GO_VERSION=go1.16
|
||||||
# @CODE
|
# @CODE
|
||||||
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.15}"
|
export COREOS_GO_VERSION="${COREOS_GO_VERSION:-go1.16}"
|
||||||
|
|
||||||
case "${EAPI:-0}" in
|
case "${EAPI:-0}" in
|
||||||
5|6) DEPEND="dev-lang/go:${COREOS_GO_VERSION#go}=" ;;
|
5|6) DEPEND="dev-lang/go:${COREOS_GO_VERSION#go}=" ;;
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# @CODE
|
# @CODE
|
||||||
# COREOS_GO_VERSION=go1.15
|
# COREOS_GO_VERSION=go1.16
|
||||||
# @CODE
|
# @CODE
|
||||||
|
|
||||||
case "${EAPI:-0}" in
|
case "${EAPI:-0}" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user