Solo CI
![Gitter](https://badges.gitter.im/Join Chat.svg)
Description###
中文版
A lightweight golang CI/CD tools, you only need write a simple config, it will clone, build, test, deploy
{
"get_list":[
"github.com/asaskevich/govalidator"
],
"zip_list":[
"conf"
],
"after_script":"echo hello",
"before_script":"pwd"
}
Features###
- Support Gitlab, Github(application/json) webhook
- Only need very small memory and cpu, it can run on every Linux host
- You only need to start it ,it will get the env auto.
- The simple config, if you want, you don't need to write it.
- Auto clone, buil, test, clean, tar
- Support after script and before script, it will run on the project path
- Support REST API
- Every build will be saved
Use###
- go get github.com/astaxie/beego go get github.com/mattn/go-sqlite3 go get github.com/satori/go.uuid
- GOPATH,GOROOT,GIT
- Build solo-ci source
- Use REST API new a ci project
- Write a config and configure your webhook
- push!
- The Build will save at workspace dir.
REST API###
Config solo-ci.json
- get_list:the go get list
- zip_list:the file you want to tar
- before_script:it will run before build
- after_script:it will run after build
If you don't want to write a config, you can write a blank config.
{
}
Next###