Oliver Giles
9c256815e4
resolves #29 : graceful shutdown
...
on SIGINT/SIGTERM:
1. stop accepting new connections
2. send SIGTERM to all child tasks
3. wait for processes to end
4. drop all websockets
2018-02-24 18:53:11 +02:00
Oliver Giles
93b428529e
webui may be modified with custom style.css
2017-12-29 11:14:20 +02:00
Oliver Giles
3129f0e73b
fix pedantic compiler warnings
2017-12-21 08:19:45 +02:00
Oliver Giles
e0a130f33d
add named getters to RunSet
...
this improves readability by removing the index-based
get<> methods in favour of explicitly named methods
2017-12-20 09:02:15 +02:00
Oliver Giles
bb9486e066
use compliant include guards
2017-12-20 08:24:25 +02:00
Oliver Giles
ff42dae7cc
read remaining data in run pipe when reaping
...
This fixes a bug where the last pieces of console output were lost. In that
case, the event loop scheduled the ended child process's SIGCHLD handler
before the handler to read the last of the process's output. We work around
that by doing an additional (non-blocking) read in the SIGCHLD handler
2017-12-09 20:27:08 +02:00
Oliver Giles
76e0e9e62a
resolves #22 : allow keeping N rundirs
...
This replaces LAMINAR_KEEP_RUNDIR (bool) with LAMINAR_KEEP_RUNDIRS (int)
2017-12-09 20:23:24 +02:00
Oliver Giles
74443c292a
Fix copyright years
...
This reverts commit 4e911756bc
.
In addition, copyright years are now expressed in the form of
(year file added)-(year file last changed)
2017-12-09 12:21:34 +02:00
Oliver Giles
32426ee34f
rundir could not be kept, use consistent naming
2017-10-14 17:51:24 +03:00
Oliver Giles
eda906b805
refactor: remove transport knowledge from Laminar class
...
Improve the boundary between RpcImpl and LaminarInterface such
that the Laminar class doesn't require any types from kj/async.h.
The necessary logic moved from Laminar to RpcImpl and the notification
now happens by abstract virtual callback instead of kj::Promise.
Also remove the fairly useless 'wait' RPC call and drop the wrappers
around kj::PromiseFulfillerPair
2017-08-10 08:25:20 +03:00
Oliver Giles
4e911756bc
update copyright year
2016-07-25 15:00:49 +03:00
Oliver Giles
2ea27d46ed
implement proper child cleanup
2016-07-25 14:59:45 +03:00
Oliver Giles
82b39c2961
compress logs in database
2015-12-06 13:47:43 +01:00
Oliver Giles
d44d5ba0e6
boost compatibility
2015-11-19 21:43:08 +01:00
Oliver Giles
e140221c72
cleanup, dynamically present artifacts
2015-11-01 11:28:22 +01:00
Oliver Giles
0df97e95fd
support for job and node tags
2015-09-24 22:02:11 +02:00
Oliver Giles
a729a6782e
implement display and serving of archived artifacts
2015-09-19 17:24:20 +02:00
Oliver Giles
dbc75000a5
readability: move runFinished into its own function
2015-09-19 15:41:19 +02:00
Oliver Giles
ae59da1245
implement LAMINAR_KEEP_WORKDIR
2015-09-19 15:29:07 +02:00
Oliver Giles
f260b7813c
remove iniparser, laminar.conf must be sourced
2015-09-19 14:36:03 +02:00
Oliver Giles
a2701dcfd9
Initial commit
2015-09-13 22:25:26 +02:00