mirror of
https://gitee.com/gokins/gokins.git
synced 2024-11-29 17:57:50 +08:00
commit
f11cfd89c8
69
README.md
69
README.md
@ -9,7 +9,7 @@
|
||||
|
||||
## What does it do
|
||||
|
||||
Gokins是一个款轻量级、能够持续集成和持续交付的工具
|
||||
Gokins是一个由Go语言和Vue编写的款轻量级、能够持续集成和持续交付的工具
|
||||
|
||||
|
||||
* **持续集成和持续交付**
|
||||
@ -29,6 +29,7 @@ Gokins是一个款轻量级、能够持续集成和持续交付的工具
|
||||
绝不收集任何用户、服务器信息,是一个独立安全的服务
|
||||
|
||||
## Quick Start
|
||||
|
||||
It is super easy to get started with your first project.
|
||||
|
||||
#### Step 1: 下载
|
||||
@ -37,37 +38,42 @@ It is super easy to get started with your first project.
|
||||
|
||||
#### Step 2: 启动服务
|
||||
|
||||
```sh
|
||||
./gokins-unix-mac64
|
||||
```
|
||||
./gokins
|
||||
```
|
||||
#### Step 3: 查看服务
|
||||
|
||||
访问 `http://localhost:8030`
|
||||
|
||||
|
||||
|
||||
### 使用gokins
|
||||
|
||||
|
||||
#### 下载运行
|
||||
- 项目地址 : https://github.com/mgr9525/gokins
|
||||
- 可以选择到Gokins的github主页下载对应平台的执行文件
|
||||
- [下载最新版本](https://github.com/mgr9525/gokins/releases)
|
||||
|
||||
- github地址 : https://github.com/mgr9525/gokins
|
||||
- gitee地址 : https://gitee.com/mgr9525/gokins
|
||||
|
||||
可在对应平台需找发行版
|
||||
|
||||
- 或者直接在服务器上执行以下命令
|
||||
```
|
||||
## 获取可执行文件
|
||||
wget -c https://github.com/mgr9525/gokins/releases/download/v0.1.0/gokins-linux-amd64
|
||||
|
||||
## 授权
|
||||
```
|
||||
|
||||
//获取可执行文件
|
||||
wget -c https://github.com/mgr9525/gokins/releases/download/v0.1.2/gokins-linux-amd64
|
||||
|
||||
//授权
|
||||
chmod +x gokins-linux-amd64
|
||||
|
||||
## 运行gokins
|
||||
//运行gokins
|
||||
./gokins-linux-amd64
|
||||
|
||||
##查看帮助命令
|
||||
//查看帮助命令
|
||||
./gokins-linux-amd64 --help
|
||||
|
||||
```
|
||||
|
||||
- 运行成功后 访问 `8030` 端口
|
||||
|
||||
#### 初始化配置
|
||||
@ -76,6 +82,7 @@ chmod +x gokins-linux-amd64
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/2020101018222471.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
- 登录后我们可以查看主界面
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010183151544.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
#### 流水线的使用
|
||||
@ -84,13 +91,16 @@ chmod +x gokins-linux-amd64
|
||||
配置代码目录
|
||||
|
||||
```
|
||||
|
||||
cd ~
|
||||
mkdir programs
|
||||
cd programs
|
||||
git clone http://用户名:密码@git.xxx.cn/IPFS/IPFS-Slave.git
|
||||
cd IPFS-Slave/
|
||||
pwd
|
||||
|
||||
```
|
||||
|
||||
使用用户名密码clone防止流水线更新代码时需要登录凭证
|
||||
|
||||
复制此目录路径,新建流水线时需要
|
||||
@ -98,6 +108,7 @@ pwd
|
||||
2. 流水线构建
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010185507308.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
3. 新建好之后进入插件列表新建插件
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010190422932.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
@ -112,14 +123,18 @@ pwd
|
||||
5. 之后新建一个编译插件
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010185940669.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
可以查看到有两个插件
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010190009652.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
|
||||
6. 返回运行流水线
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010190548125.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010190653913.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201010190721865.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21ncjk1MjU=,size_16,color_FFFFFF,t_70#pic_center)
|
||||
|
||||
|
||||
@ -162,10 +177,18 @@ Gokins目前还处于需要不断进步的阶段,如果你有兴趣假如我
|
||||
|
||||
### 帮助
|
||||
|
||||
```sh
|
||||
```
|
||||
./gokins -h
|
||||
```
|
||||
|
||||
### 升级
|
||||
|
||||
升级数据库、添加触发器功能,针对于于之前使用过Gokins的用户
|
||||
|
||||
```
|
||||
./gokins -up
|
||||
```
|
||||
|
||||
## Contact
|
||||
|
||||
* Join us from QQ(Group : 975316343).
|
||||
@ -178,7 +201,23 @@ Gokins目前还处于需要不断进步的阶段,如果你有兴趣假如我
|
||||
|
||||
|
||||
## Who is using
|
||||
[![一点通教学网](http://1ydts.com/image/biaotou.jpg)](http://1ydts.com)
|
||||
<a href="http://1ydts.com" align="center"><img src="static/whouse/biaotou.jpg" width="50%" height="50%"></a>
|
||||
|
||||
## 开发日志
|
||||
|
||||
### Gokins V0.1.2 (更新日期2020-10-20)
|
||||
- 新增功能 :
|
||||
1. 新增触发器(加入流水线日志触发方式)
|
||||
2. 实现触发器manager,task
|
||||
3. 新增升级功能 `./gokins -up`(升级数据库、添加触发器功能,针对于于之前使用过Gokins的用户)
|
||||
|
||||
- bug fix :
|
||||
1. 前端循环请求卡死问题
|
||||
2. 协程context严重bug整改
|
||||
|
||||
- 优化问题 :
|
||||
1. 日志入库改为日志文件,减少数据库大小
|
||||
2. 环境变量PATH优化,加入变量获取
|
||||
|
||||
***
|
||||
|
||||
|
BIN
static/whouse/biaotou.jpg
Normal file
BIN
static/whouse/biaotou.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue
Block a user