Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
fbd58294
Commit
fbd58294
authored
Oct 08, 2015
by
Jeff Grafton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test helpers and dev doc to use etcd v2.0.12.
parent
28314c79
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
Dockerfile
build/build-image/Dockerfile
+4
-3
install-etcd.sh
cluster/mesos/docker/test/bin/install-etcd.sh
+1
-1
development.md
docs/devel/development.md
+1
-1
install-etcd.sh
hack/install-etcd.sh
+3
-3
No files found.
build/build-image/Dockerfile
View file @
fbd58294
...
...
@@ -35,11 +35,12 @@ RUN rm -rf /var/lib/apt/lists/
RUN
apt-get
-o
Acquire::Check-Valid-Until
=
false
update
&&
apt-get
install
-y
rsync
# Download and symlink etcd. We need this for our integration tests.
ENV
ETCD_VERSION v2.0.12
RUN
mkdir
-p
/usr/local/src/etcd
&&
\
cd
/usr/local/src/etcd
&&
\
curl
-
L
-O
-s
https://github.com/coreos/etcd/releases/download/v2.0.0/etcd-v2.0.0
-linux-amd64.tar.gz
&&
\
tar
xzf etcd-
v2.0.0
-linux-amd64.tar.gz
&&
\
ln
-s
../src/etcd/etcd-
v2.0.0
-linux-amd64/etcd /usr/local/bin/
curl
-
fsSLO
https://github.com/coreos/etcd/releases/download/
$ETCD_VERSION
/etcd-
$ETCD_VERSION
-linux-amd64
.tar.gz
&&
\
tar
xzf etcd-
$ETCD_VERSION
-linux-amd64
.tar.gz
&&
\
ln
-s
../src/etcd/etcd-
$ETCD_VERSION
-linux-amd64
/etcd /usr/local/bin/
# Mark this as a kube-build container
RUN
touch
/kube-build-image
...
...
cluster/mesos/docker/test/bin/install-etcd.sh
View file @
fbd58294
...
...
@@ -20,7 +20,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
ETCD_VERSION
=
${
ETCD_VERSION
:-
v2
.0.1
1
}
ETCD_VERSION
=
${
ETCD_VERSION
:-
v2
.0.1
2
}
full_name
=
etcd-
${
ETCD_VERSION
}
-linux-amd64
archive_url
=
https://github.com/coreos/etcd/releases/download/
${
ETCD_VERSION
}
/
${
full_name
}
.tar.gz
...
...
docs/devel/development.md
View file @
fbd58294
...
...
@@ -264,7 +264,7 @@ Coverage results for the project can also be viewed on [Coveralls](https://cover
## Integration tests
You need an
[
etcd
](
https://github.com/coreos/etcd/releases/tag/v2.0.
0
)
in your path, please make sure it is installed and in your
``$PATH``
.
You need an
[
etcd
](
https://github.com/coreos/etcd/releases/tag/v2.0.
12
)
in your path, please make sure it is installed and in your
``$PATH``
.
```
sh
cd
kubernetes
...
...
hack/install-etcd.sh
View file @
fbd58294
...
...
@@ -20,9 +20,9 @@ set -o pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
ETCD_VERSION
=
${
ETCD_VERSION
:-
v2
.0.
0
}
ETCD_VERSION
=
${
ETCD_VERSION
:-
v2
.0.
12
}
cd
"
${
KUBE_ROOT
}
/third_party"
curl
-
s
L
https://github.com/coreos/etcd/releases/download/
${
ETCD_VERSION
}
/etcd-
${
ETCD_VERSION
}
-linux-amd64
.tar.gz
\
curl
-
fsS
L
https://github.com/coreos/etcd/releases/download/
${
ETCD_VERSION
}
/etcd-
${
ETCD_VERSION
}
-linux-amd64
.tar.gz
\
|
tar
xzf -
ln
-
sF
etcd-
${
ETCD_VERSION
}
-linux-amd64
etcd
ln
-
fns
etcd-
${
ETCD_VERSION
}
-linux-amd64
etcd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment