Skip to content

Commit c733d11

Browse files
fix by comments
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
1 parent 0ebbc35 commit c733d11

File tree

1 file changed

+31
-8
lines changed
  • docs/content/en/docs/developer-guide

1 file changed

+31
-8
lines changed

docs/content/en/docs/developer-guide/e2e.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ Kurator has provided E2E Test in order to avoid potential impacts of future chan
1414

1515
```console
1616
# For AMD64 / x86_64
17-
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
17+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
18+
1819
# For ARM64
19-
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-arm64
20+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-arm64
21+
2022
chmod +x ./kind
23+
2124
sudo mv ./kind /usr/local/bin/kind
2225
```
2326

@@ -26,21 +29,41 @@ sudo mv ./kind /usr/local/bin/kind
2629
- Manual installation
2730

2831
```console
29-
1.Download the required version(https://github.com/helm/helm/releases)
30-
2.Extract a zip file(tar -zxvf helm-vXXX-linux-amd64.tar.gz)
31-
3.Find the helm program in the extracted directory and move it to the desired directory(mv linux-amd64/helm /usr/local/bin/helm)
32+
Can download the required version of helm you need from https://github.com/helm/helm/releases
33+
34+
To extract the zip file of helm, run:
35+
tar -zxvf helm-vXXX-linux-amd64.tar.gz
36+
37+
Find the helm program in the extracted directory and move it to the desired directory, run:
38+
mv linux-amd64/helm /usr/local/bin/helm
3239
```
3340

3441
- Script Installation
3542

3643
```console
3744
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
45+
3846
chmod 700 get_helm.sh
47+
3948
./get_helm.sh
4049
```
4150

4251
## Steps For Running E2E Test
4352

44-
- Script to Install Kubernetes Test Cluster Environment. `bash hack/e2e-test/build-cluster.sh`
45-
- Deploying a Newest Built Kurator Image to the Cluster. `bash hack/e2e-test/install-kurator.sh`
46-
- Running Kurator E2E Tests. `bash hack/e2e-test/run-e2e.sh`
53+
- Install Kubernetes Test Cluster Environment.
54+
55+
```console
56+
bash hack/e2e-test/build-cluster.sh
57+
```
58+
59+
- Deploy kurator.
60+
61+
```console
62+
bash hack/e2e-test/install-kurator.sh
63+
```
64+
65+
- Run Kurator E2E Tests.
66+
67+
```console
68+
bash hack/e2e-test/run-e2e.sh
69+
```

0 commit comments

Comments
 (0)