mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
minor edits to testing guide
Signed-off-by: mikebrow <brownwm@us.ibm.com>
This commit is contained in:
parent
bf07a6f5e1
commit
23fddb3a08
@ -32,11 +32,11 @@ Documentation for other releases can be found at
|
|||||||
This assumes you already read the [development guide](development.md) to
|
This assumes you already read the [development guide](development.md) to
|
||||||
install go, godeps, and configure your git client.
|
install go, godeps, and configure your git client.
|
||||||
|
|
||||||
In order to send pull requests you need to make sure you changes pass
|
Before sending pull requests you should at least make sure your changes have
|
||||||
unit and integration tests.
|
passed both unit and integration tests.
|
||||||
|
|
||||||
Kubernetes only merges pull requests when e2e tests are passing, so it is often
|
Kubernetes only merges pull requests when unit, integration, and e2e tests are
|
||||||
a good idea to make sure these work as well.
|
passing, so it is often a good idea to make sure the e2e tests work as well.
|
||||||
|
|
||||||
## Unit tests
|
## Unit tests
|
||||||
|
|
||||||
@ -155,13 +155,13 @@ Kubernetes includes a script to help install etcd on your machine.
|
|||||||
# Option a) install inside kubernetes root
|
# Option a) install inside kubernetes root
|
||||||
cd kubernetes
|
cd kubernetes
|
||||||
hack/install-etcd.sh # Installs in ./third_party/etcd
|
hack/install-etcd.sh # Installs in ./third_party/etcd
|
||||||
echo export PATH="$PATH:$(pwd)/third_party/etcd" >> .profile # Add to PATH
|
echo export PATH="$PATH:$(pwd)/third_party/etcd" >> ~/.profile # Add to PATH
|
||||||
|
|
||||||
# Option b) install manually
|
# Option b) install manually
|
||||||
cd kubernetes
|
cd kubernetes
|
||||||
grep -E "image.*etcd" cluster/saltbase/etcd/etcd.manifest # Find version
|
grep -E "image.*etcd" cluster/saltbase/etcd/etcd.manifest # Find version
|
||||||
# Install that version using yum/apt-get/etc
|
# Install that version using yum/apt-get/etc
|
||||||
echo export PATH="$PATH:<LOCATION>" >> .profile # Add to PATH
|
echo export PATH="$PATH:<LOCATION>" >> ~/.profile # Add to PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run integration tests
|
### Run integration tests
|
||||||
|
Loading…
Reference in New Issue
Block a user