mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #114084 from dims/bump-golang-version-for-building-etcd
Bump GOLANG_VERSION to build etcd `migrate` utility
This commit is contained in:
commit
9884746f0f
@ -81,10 +81,10 @@ dependencies:
|
|||||||
|
|
||||||
# From https://github.com/etcd-io/etcd/blob/main/Makefile
|
# From https://github.com/etcd-io/etcd/blob/main/Makefile
|
||||||
- name: "golang: etcd release version"
|
- name: "golang: etcd release version"
|
||||||
version: 1.16.15 # for etcd v3.5.5: https://github.com/etcd-io/etcd/blob/19002cfc689fba2b8f56605e5797bf79f8b61fdd/Makefile#L58
|
version: 1.17.13 # for etcd v3.5.6: https://github.com/etcd-io/etcd/blob/v3.5.6/Makefile#L58 golang version should be 1.16.15, BUT because of newer dependencies in our repository we use newer golang which has `unsafe.Slice`
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: cluster/images/etcd/Makefile
|
- path: cluster/images/etcd/Makefile
|
||||||
match: 'GOLANG_VERSION\?=\d+.\d+(alpha|beta|rc)?\.?(\d+)?'
|
match: 'GOLANG_VERSION := \d+.\d+(alpha|beta|rc)?\.?(\d+)?'
|
||||||
|
|
||||||
# Golang
|
# Golang
|
||||||
- name: "golang: upstream version"
|
- name: "golang: upstream version"
|
||||||
|
@ -34,7 +34,7 @@ LATEST_ETCD_VERSION?=3.5.6
|
|||||||
# REVISION provides a version number for this image and all it's bundled
|
# REVISION provides a version number for this image and all it's bundled
|
||||||
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment
|
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment
|
||||||
# for each revision of this image at that etcd version.
|
# for each revision of this image at that etcd version.
|
||||||
REVISION?=1
|
REVISION?=0
|
||||||
|
|
||||||
# IMAGE_TAG Uniquely identifies registry.k8s.io/etcd docker image with a tag of the form "<etcd-version>-<revision>".
|
# IMAGE_TAG Uniquely identifies registry.k8s.io/etcd docker image with a tag of the form "<etcd-version>-<revision>".
|
||||||
IMAGE_TAG=$(LATEST_ETCD_VERSION)-$(REVISION)
|
IMAGE_TAG=$(LATEST_ETCD_VERSION)-$(REVISION)
|
||||||
@ -83,7 +83,7 @@ endif
|
|||||||
# This option is for running docker manifest command
|
# This option is for running docker manifest command
|
||||||
export DOCKER_CLI_EXPERIMENTAL := enabled
|
export DOCKER_CLI_EXPERIMENTAL := enabled
|
||||||
# golang version should match the golang version of the official build from https://github.com/etcd-io/etcd/releases.
|
# golang version should match the golang version of the official build from https://github.com/etcd-io/etcd/releases.
|
||||||
GOLANG_VERSION?=1.16.15
|
GOLANG_VERSION := 1.17.13
|
||||||
GOARM?=7
|
GOARM?=7
|
||||||
TEMP_DIR:=$(shell mktemp -d)
|
TEMP_DIR:=$(shell mktemp -d)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user