mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Update etcd to 3.0.17 in integration tests
This commit is contained in:
parent
d53add76dd
commit
a7d2136ce1
@ -72,7 +72,7 @@ RUN mkdir $TMPDIR \
|
|||||||
github.com/tools/godep
|
github.com/tools/godep
|
||||||
|
|
||||||
# Download and symlink etcd. We need this for our integration tests.
|
# Download and symlink etcd. We need this for our integration tests.
|
||||||
RUN export ETCD_VERSION=v3.0.14; \
|
RUN export ETCD_VERSION=v3.0.17; \
|
||||||
mkdir -p /usr/local/src/etcd \
|
mkdir -p /usr/local/src/etcd \
|
||||||
&& cd /usr/local/src/etcd \
|
&& cd /usr/local/src/etcd \
|
||||||
&& curl -fsSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xz \
|
&& curl -fsSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xz \
|
||||||
|
@ -1 +1 @@
|
|||||||
v1.7.5-1
|
v1.7.5-2
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# This script performs etcd upgrade based on the following environmental
|
# This script performs etcd upgrade based on the following environmental
|
||||||
# variables:
|
# variables:
|
||||||
# TARGET_STORAGE - API of etcd to be used (supported: 'etcd2', 'etcd3')
|
# TARGET_STORAGE - API of etcd to be used (supported: 'etcd2', 'etcd3')
|
||||||
# TARGET_VERSION - etcd release to be used (supported: '2.2.1', '2.3.7', '3.0.14')
|
# TARGET_VERSION - etcd release to be used (supported: '2.2.1', '2.3.7', '3.0.17')
|
||||||
# DATA_DIRECTORY - directory with etcd data
|
# DATA_DIRECTORY - directory with etcd data
|
||||||
#
|
#
|
||||||
# The current etcd version and storage format is detected based on the
|
# The current etcd version and storage format is detected based on the
|
||||||
@ -27,8 +27,8 @@
|
|||||||
#
|
#
|
||||||
# The update workflow support the following upgrade steps:
|
# The update workflow support the following upgrade steps:
|
||||||
# - 2.2.1/etcd2 -> 2.3.7/etcd2
|
# - 2.2.1/etcd2 -> 2.3.7/etcd2
|
||||||
# - 2.3.7/etcd2 -> 3.0.14/etcd2
|
# - 2.3.7/etcd2 -> 3.0.17/etcd2
|
||||||
# - 3.0.14/etcd2 -> 3.0.14/etcd3
|
# - 3.0.17/etcd2 -> 3.0.17/etcd3
|
||||||
#
|
#
|
||||||
# NOTE: The releases supported in this script has to match release binaries
|
# NOTE: The releases supported in this script has to match release binaries
|
||||||
# present in the etcd image (to make this script work correctly).
|
# present in the etcd image (to make this script work correctly).
|
||||||
@ -68,7 +68,7 @@ fi
|
|||||||
# NOTE: SUPPORTED_VERSION has to match release binaries present in the
|
# NOTE: SUPPORTED_VERSION has to match release binaries present in the
|
||||||
# etcd image (to make this script work correctly).
|
# etcd image (to make this script work correctly).
|
||||||
# We cannot use array since sh doesn't support it.
|
# We cannot use array since sh doesn't support it.
|
||||||
SUPPORTED_VERSIONS_STRING="2.2.1 2.3.7 3.0.14"
|
SUPPORTED_VERSIONS_STRING="2.2.1 2.3.7 3.0.17"
|
||||||
SUPPORTED_VERSIONS=$(echo "${SUPPORTED_VERSIONS_STRING}" | tr " " "\n")
|
SUPPORTED_VERSIONS=$(echo "${SUPPORTED_VERSIONS_STRING}" | tr " " "\n")
|
||||||
|
|
||||||
VERSION_FILE="version.txt"
|
VERSION_FILE="version.txt"
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
# A set of helpers for starting/running etcd for tests
|
# A set of helpers for starting/running etcd for tests
|
||||||
|
|
||||||
ETCD_VERSION=${ETCD_VERSION:-3.0.14}
|
ETCD_VERSION=${ETCD_VERSION:-3.0.17}
|
||||||
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
|
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
|
||||||
ETCD_PORT=${ETCD_PORT:-2379}
|
ETCD_PORT=${ETCD_PORT:-2379}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user