|Stefan Naumann 54e55a5b3a||2 months ago|
|auth||2 months ago|
|build||10 months ago|
|core||2 months ago|
|hook||10 months ago|
|static||10 months ago|
|views||2 months ago|
|web||2 months ago|
|.gitignore||2 years ago|
|LICENSE||2 years ago|
|Makefile||2 months ago|
|README.md||11 months ago|
|main.go||2 months ago|
My Very Own CI-server (Continuous Integration). With it you can build Git-repositories with webhooks, i.e. whenever commits are pushed or on the press of a button.
mvoCI aims to be simple and do as much as is necessary and nothing more. No Plugins, no Modules, no 500 MB of RAM eaten (your mileage may vary).
Be advised, that mvoCI has shell access. It is your responsibility to secure your machine from damage by mvoCI.
mvoCI uses the following golang libraries:
go get github.com/jinzhu/gorm github.com/labstack/echo golang.org/x/crypto/bcrypt github.com/foolin/goview github.com/foolin/goview/supports/echoview-v4
You need a database server, or use SQLite as database backend. You may use one of the following:
./mvo --installfor the installation dialogues
./mvofor production mode
LogFile -> path to the log file LogFileEnable -> (bool) should a log-file be produced? LogMode -> write logs also to the terminal on (stderr/stdout) app_title -> Name your Instance compression_method -> compression method used for archiving build artifacts (e.g. gz) database_provider -> what database backend do you use? -> based on that more database-options, the Install dialog helps you configuring these debug -> (bool) more verbose output dir_build -> path to where the build artifacts are stored dir_repo -> path to where the repos are cloned to on build host -> hostname of the server http_port -> (int) port, the server listens to impress_* -> information about the administrator for impress (city, mail, owner, street, zip) impress_privacy -> privacy statement login_token_duration -> (int) specifies how long the login-token stays valid (in seconds) parallel_builds -> (int) the number of build threads and therefore the number of possible builds in parallel on the instance
As stated earlier, it is recommended, that mvoCI is not executed as root. It should be used with as little rights are possible, but enough to be useful for your usecase.
You may use this script to start mvoCI automatically as an own user (e.g.
mvo). Please make sure, that that user cannot do anything you wouldn't do yourself!
[Unit] Description=mvoCI After=syslog.target After=network.target After=mysqld.service #After=postgresql.service [Service] RestartSec=2s Type=simple User=mvo Group=mvo WorkingDirectory=/home/mvo ExecStart=/home/mvo/mvo Restart=always Environment=USER=mvo HOME=/home/mvo [Install] WantedBy=multi-user.target