Description
A lightweight Golang CI/CD tool that automatically clone code, build, and deploy with just a few lines of configuration
{
"get_list": ["github.com/asaskevich/govalidator"]."zip_list": ["conf"]."after_script":"echo hello"."before_script":"pwd"
}Copy the code
Use
- Configure the host GOPATH, GOROOT, GIT environment
- Download the solo-CI compiled program
- Create a new project using the REST API
- Write a simple solo.json file in your project and configure Webhook in code management (see REST API for the address).
- Push! Trigger a CI
solo-ci.json
- Get_list: Go package to download
- Zip_list: files or directories that need to be packed into the project after the build is complete
- Before_script: Scripts executed before build
- After_script: A script that is executed after the build
None of the options need to exist, even if you write nothing at all. Here is an example of an empty configuration file
{}Copy the code