command
module
Version:
v0.0.3-0...-58c867d
Opens a new window with list of versions in this module.
Published: Jul 4, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Solo CI
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
- Download solo-ci binary
- Use REST API new a ci project
- Write a config and configure your webhook
- push!
- The Build will save at workspace dir.
- go-sqlite3 requires gcc pre-installed. use "sudo apt-get install build-essential" to install gcc if necessary
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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.