From cfd1de448baf44479591318307ee249d703baba1 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Tue, 14 Sep 2021 17:29:52 +0800 Subject: [PATCH] Set README_EN as default README (#7902) Signed-off-by: zhuwenxing --- tests/README.md | 74 ++++++++++++++++++------------------- tests/README_CN.md | 91 ++++++++++++++++++++++++++++++++++++++++++++++ tests/README_EN.md | 91 ---------------------------------------------- 3 files changed, 127 insertions(+), 129 deletions(-) create mode 100644 tests/README_CN.md delete mode 100644 tests/README_EN.md diff --git a/tests/README.md b/tests/README.md index f91c21d91b..a515530ab6 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,54 +1,52 @@ -## EN Version [here](README_EN.md) - ## Tests ### E2E Test -#### 配置清单 +#### Configuration Requirements -##### 操作系统 +##### Operating System -| 操作系统 | 版本 | +| Operating System | Version | | ------ | --------- | -| CentOS | 7.5 或以上 | -| Ubuntu | 16.04 或以上 | -| Mac | 10.14 或以上 | +| CentOS | 7.5 or above | +| Ubuntu | 16.04 or above | +| Mac | 10.14 or above | -##### 硬件 +##### Hardware -| 硬件名称 | 建议配置 | +| Hardware Type | Recommended Configuration | | ---- | --------------------------------------------------------------------------------------------------- | -| CPU | x86_64 平台
Intel CPU Sandy Bridge 或以上
CPU 指令集
_ SSE42
_ AVX
_ AVX2
_ AVX512 | -| 内存 | 16 GB 或以上 | +| CPU | x86_64 architechture
Intel CPU Sandy Bridge or above
CPU Instruction Set
_ SSE42
_ AVX
_ AVX2
_ AVX512 | +| Memory | 16 GB or more | -##### 软件 +##### Software -| 软件名称 | 版本 | +| Software Name | Version | | -------------- | ---------- | -| Docker | 19.05 或以上 | -| Docker Compose | 1.25.5 或以上 | -| jq | 1.3 或以上 | -| kubectl | 1.14 或以上 | -| helm | 3.0 或以上 | -| kind | 0.10.0 或以上 | +| Docker | 19.05 or above | +| Docker Compose | 1.25.5 or above | +| jq | 1.3 or above | +| kubectl | 1.14 or above | +| helm | 3.0 or above | +| kind | 0.10.0 or above | -#### 安装依赖 +#### Installing Dependencies -##### 检查 Docker 和 Docker Compose 状态 +##### Troubleshooting Docker and Docker Compose - 1. 确认 Docker Daemon 正在运行: + 1. Confirm that Docker Daemon is running: ```shell $ docker info ``` -- 安装 Docker 步骤见 [Docker CE/EE 官方安装说明](https://docs.docker.com/get-docker/)进行安装 +- Ensure that Docker is installed. Refer to the official installation instructions for [Docker CE/EE](https://docs.docker.com/get-docker/). -- 如果无法正常打印 Docker 相关信息,请启动 Docker Daemon。 +- Start the Docker Daemon if it is not already started. -- 要在没有 `root` 权限的情况下运行 Docker 命令,请创建 `docker` 组并添加用户,以运行:`sudo usermod -aG docker $USER`, 退出终端并重新登录,以使更改生效 ,详见 [使用非 root 用户管理 docker](https://docs.docker.com/install/linux/linux-postinstall/)。 +- To run Docker without `root` priveleges, create a user group labeled `docker`, then add a user to the group with `sudo usermod -aG docker $USER`. Log out and log back into the terminal for the changes to take effect. For more invormation, see the official Docker documentation for [Managing Docker as a Non-Root User](https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user). - 2. 确认 Docker Compose 版本 + 2. Check the version of Docker-Compose ```shell $ docker-compose version @@ -59,25 +57,25 @@ CPython version: 3.7.5 OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020 ``` -- 安装 Docker Compose 步骤见 [Install Docker Compose](https://docs.docker.com/compose/install/) +- To install Docker-Compose, see [Install Docker Compose](https://docs.docker.com/compose/install/) -##### 安装 jq +##### Install jq -- 安装方式见 +- Refer to -##### 安装 kubectl +##### Install kubectl -- 安装方式见 +- Refer to -##### 安装 helm +##### Install helm -- 安装方式见 +- Refer to -##### 安装 kind +##### Install kind -- 安装方式见 +- Refer to -#### 运行 E2E Test +#### Run E2E Tests ```shell $ cd tests/scripts @@ -86,7 +84,7 @@ $ ./e2e-k8s.sh > Getting help > -> 你可以执行以下命令获取帮助 +> You can get help with the following command: > > ```shell > $ ./e2e-k8s.sh --help diff --git a/tests/README_CN.md b/tests/README_CN.md new file mode 100644 index 0000000000..cc49a9a5b2 --- /dev/null +++ b/tests/README_CN.md @@ -0,0 +1,91 @@ +## Tests + +### E2E Test + +#### 配置清单 + +##### 操作系统 + +| 操作系统 | 版本 | +| ------ | --------- | +| CentOS | 7.5 或以上 | +| Ubuntu | 16.04 或以上 | +| Mac | 10.14 或以上 | + +##### 硬件 + +| 硬件名称 | 建议配置 | +| ---- | --------------------------------------------------------------------------------------------------- | +| CPU | x86_64 平台
Intel CPU Sandy Bridge 或以上
CPU 指令集
_ SSE42
_ AVX
_ AVX2
_ AVX512 | +| 内存 | 16 GB 或以上 | + +##### 软件 + +| 软件名称 | 版本 | +| -------------- | ---------- | +| Docker | 19.05 或以上 | +| Docker Compose | 1.25.5 或以上 | +| jq | 1.3 或以上 | +| kubectl | 1.14 或以上 | +| helm | 3.0 或以上 | +| kind | 0.10.0 或以上 | + +#### 安装依赖 + +##### 检查 Docker 和 Docker Compose 状态 + + 1. 确认 Docker Daemon 正在运行: + +```shell +$ docker info +``` + +- 安装 Docker 步骤见 [Docker CE/EE 官方安装说明](https://docs.docker.com/get-docker/)进行安装 + +- 如果无法正常打印 Docker 相关信息,请启动 Docker Daemon。 + +- 要在没有 `root` 权限的情况下运行 Docker 命令,请创建 `docker` 组并添加用户,以运行:`sudo usermod -aG docker $USER`, 退出终端并重新登录,以使更改生效 ,详见 [使用非 root 用户管理 docker](https://docs.docker.com/install/linux/linux-postinstall/)。 + + 2. 确认 Docker Compose 版本 + +```shell +$ docker-compose version + +docker-compose version 1.25.5, build 8a1c60f6 +docker-py version: 4.1.0 +CPython version: 3.7.5 +OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020 +``` + +- 安装 Docker Compose 步骤见 [Install Docker Compose](https://docs.docker.com/compose/install/) + +##### 安装 jq + +- 安装方式见 + +##### 安装 kubectl + +- 安装方式见 + +##### 安装 helm + +- 安装方式见 + +##### 安装 kind + +- 安装方式见 + +#### 运行 E2E Test + +```shell +$ cd tests/scripts +$ ./e2e-k8s.sh +``` + +> Getting help +> +> 你可以执行以下命令获取帮助 +> +> ```shell +> $ ./e2e-k8s.sh --help +> ``` diff --git a/tests/README_EN.md b/tests/README_EN.md deleted file mode 100644 index a515530ab6..0000000000 --- a/tests/README_EN.md +++ /dev/null @@ -1,91 +0,0 @@ -## Tests - -### E2E Test - -#### Configuration Requirements - -##### Operating System - -| Operating System | Version | -| ------ | --------- | -| CentOS | 7.5 or above | -| Ubuntu | 16.04 or above | -| Mac | 10.14 or above | - -##### Hardware - -| Hardware Type | Recommended Configuration | -| ---- | --------------------------------------------------------------------------------------------------- | -| CPU | x86_64 architechture
Intel CPU Sandy Bridge or above
CPU Instruction Set
_ SSE42
_ AVX
_ AVX2
_ AVX512 | -| Memory | 16 GB or more | - -##### Software - -| Software Name | Version | -| -------------- | ---------- | -| Docker | 19.05 or above | -| Docker Compose | 1.25.5 or above | -| jq | 1.3 or above | -| kubectl | 1.14 or above | -| helm | 3.0 or above | -| kind | 0.10.0 or above | - -#### Installing Dependencies - -##### Troubleshooting Docker and Docker Compose - - 1. Confirm that Docker Daemon is running: - -```shell -$ docker info -``` - -- Ensure that Docker is installed. Refer to the official installation instructions for [Docker CE/EE](https://docs.docker.com/get-docker/). - -- Start the Docker Daemon if it is not already started. - -- To run Docker without `root` priveleges, create a user group labeled `docker`, then add a user to the group with `sudo usermod -aG docker $USER`. Log out and log back into the terminal for the changes to take effect. For more invormation, see the official Docker documentation for [Managing Docker as a Non-Root User](https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user). - - 2. Check the version of Docker-Compose - -```shell -$ docker-compose version - -docker-compose version 1.25.5, build 8a1c60f6 -docker-py version: 4.1.0 -CPython version: 3.7.5 -OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020 -``` - -- To install Docker-Compose, see [Install Docker Compose](https://docs.docker.com/compose/install/) - -##### Install jq - -- Refer to - -##### Install kubectl - -- Refer to - -##### Install helm - -- Refer to - -##### Install kind - -- Refer to - -#### Run E2E Tests - -```shell -$ cd tests/scripts -$ ./e2e-k8s.sh -``` - -> Getting help -> -> You can get help with the following command: -> -> ```shell -> $ ./e2e-k8s.sh --help -> ```