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

  1. Configure the host GOPATH, GOROOT, GIT environment
  2. Download the solo-CI compiled program
  3. Create a new project using the REST API
  4. Write a simple solo.json file in your project and configure Webhook in code management (see REST API for the address).
  5. 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