1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00
Go to file
Oliver Giles 747ae3ada8 abort test: use "sleep inf" instead of "yes"
Sometimes yes can produce too much output too quickly and
overwhelm the host. It is not relevant to testing the abort
functionaliy.

resolves #143
2021-06-04 15:26:23 +12:00
docker cmake: more appropriate use of CMAKE_INSTALL_PREFIX 2020-06-20 15:59:35 +12:00
etc Add Documentation links to the systemd service (#139) 2020-12-09 07:51:10 +13:00
examples add example script for docker builds 2021-06-04 10:12:59 +12:00
pkg rpm packaging: list man pages 2020-12-05 13:49:13 +13:00
src failure to remove rundir should not abort the jobrunner 2021-05-23 14:42:06 +12:00
test abort test: use "sleep inf" instead of "yes" 2021-06-04 15:26:23 +12:00
CMakeLists.txt move ansi_up to latest version: 4.0.4 2021-01-09 21:51:12 +13:00
COPYING Added GPLv3 license file. 2017-10-11 09:56:26 +02:00
README.md readme: add a warning about "make install" overriding laminar.conf 2020-06-27 10:26:28 +12:00
UserManual.md add example script for docker builds 2021-06-04 10:12:59 +12:00

Laminar CI status

Laminar (https://laminar.ohwg.net) is a lightweight and modular Continuous Integration service for Linux. It is self-hosted and developer-friendly, eschewing a configuration UI in favour of simple version-controllable configuration files and scripts.

Laminar encourages the use of existing GNU/Linux tools such as bash and cron instead of reinventing them.

Although the status and progress front-end is very user-friendly, administering a Laminar instance requires writing shell scripts and manually editing configuration files. That being said, there is nothing esoteric here and the guide should be straightforward for anyone with even very basic Linux server administration experience.

See the website and the documentation for more information.

Building from source

First install development packages for capnproto (version 0.7.0 or newer), rapidjson, sqlite and boost (for the header-only multi_index_container library) from your distribution's repository or other source.

On Debian Buster, this can be done with:

sudo apt install \
		 capnproto cmake g++ libboost-dev libcapnp-dev libsqlite-dev libsqlite3-dev make rapidjson-dev zlib1g-dev

Then compile and install laminar with:

git clone https://github.com/ohwgiles/laminar.git
cd laminar
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make -j4
# Warning: the following will overwrite an existing /etc/laminar.conf
sudo make install

make install includes a systemd unit file. If you intend to use it, consider creating a new user laminar or modifying the user specified in the unit file.

Packaging for distributions

The pkg directory contains shell scripts which use docker to build native packages (deb,rpm) for common Linux distributions. Note that these are very simple packages which may not completely conform to the distribution's packaging guidelines, however they may serve as a starting point for creating an official package, or may be useful if the official package lags.

Contributing

Issues and pull requests via GitHub are most welcome. All pull requests must adhere to the Developer Certificate of Origin.