ideas of cloud test
This commit is contained in:
parent
c76e301127
commit
2d2f35d509
24
autotest/idea.md
Normal file
24
autotest/idea.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 云测试平台构建 想法
|
||||
|
||||
## 功能需求
|
||||
|
||||
- 代码托管和版本管理
|
||||
- 角色管理
|
||||
- 项目流程管理
|
||||
- 测试用例提交和管理
|
||||
- 测试环境的搭建和管理
|
||||
- 测试环境的检查,监控和报警
|
||||
- 测试代码的编译和测试构建
|
||||
- 测试代码的静态检查和报警
|
||||
- 测试用例的分发和执行
|
||||
- 测试结果的保存与管理
|
||||
- 测试报告的生成
|
||||
- 性能监控和报警
|
||||
|
||||
## 系统结构设计
|
||||
|
||||

|
||||
|
||||
## 用户使用流程
|
||||
|
||||

|
||||
33
docker/docker.md
Normal file
33
docker/docker.md
Normal file
@ -0,0 +1,33 @@
|
||||
# ubuntu 安装 docker-ce
|
||||
|
||||
## step 1: 安装必要的一些系统工具
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
|
||||
|
||||
## step 2: 安装GPG证书
|
||||
|
||||
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
|
||||
|
||||
## Step 3: 写入软件源信息
|
||||
|
||||
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
|
||||
|
||||
## Step 4: 更新并安装 Docker-CE
|
||||
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install docker-ce
|
||||
|
||||
|
||||
## 加速
|
||||
|
||||
``` bash
|
||||
sudo mkdir -p /etc/docker
|
||||
sudo tee /etc/docker/daemon.json <<-'EOF'
|
||||
{
|
||||
"registry-mirrors": ["https://so4p5nnk.mirror.aliyuncs.com"]
|
||||
}
|
||||
EOF
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart docker
|
||||
```
|
||||
BIN
static/img/cloud-test-architecture.png
Normal file
BIN
static/img/cloud-test-architecture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
static/img/functional-flow.png
Normal file
BIN
static/img/functional-flow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
@ -18,7 +18,7 @@
|
||||
|
||||
## 思路
|
||||
|
||||

|
||||

|
||||
|
||||
如图2所示,端口转发走的是下发A路,利用nat表中prerouting做dnat,用postrouting做snat
|
||||
|
||||
@ -42,6 +42,9 @@ packet out|转发包|10.138.108.103:X|192.168.1.1:8001
|
||||
# net.ipv4.ipv4_forward=1
|
||||
```
|
||||
|
||||
使改动生效
|
||||
> sudo sysctl -p
|
||||
|
||||
## 脚本
|
||||
|
||||
``` bash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user