Oliver Giles
ded13ed9fe
docs: update references to current distro versions
2021-08-04 12:03:38 +12:00
Oliver Giles
15dbed4cac
pkg: move centos8 to rocky8
2021-08-04 12:02:09 +12:00
Oliver Giles
e67e0bc453
examples: add git post-receive hook example
2021-07-30 19:59:13 +12:00
Oliver Giles
2de8b91ad2
examples: consistently omit extension for scripts
2021-07-30 19:58:44 +12:00
Oliver Giles
399f07cf3a
add example config for nginx reverse proxy
2021-07-24 20:08:23 +12:00
Chl
2941a5abdd
Fix typos and formulation in UserManual.md
2021-07-21 08:41:22 +12:00
Oliver Giles
a50514a135
frontend: better dynamic update of graphs
...
react to jobCompletion messages by updating graphs in
more cases so manual refresh is not necessary to see
most up to date representation.
2021-07-09 10:04:20 +12:00
Oliver Giles
60f7ee5402
make cmake 3.6 the minimum supported version
...
All packaged distros have this for a long time now.
2021-07-09 10:04:20 +12:00
Oliver Giles
7f1c293588
pkg: centos8 has cmake not cmake3
2021-07-09 10:04:20 +12:00
Starbeamrainbowlabs
fe4caa155b
README: Use nproc to get cpu core count
...
This way, make will always use all the available cpu cores.
2021-06-24 11:05:12 +12:00
Oliver Giles
f3a6ba2f4b
console log: improve color scheme
...
based on base16 default/bright palette
2021-06-11 15:41:16 +12:00
Oliver Giles
dff4c93e15
cmake: GTEST_LIBRARIES not GTEST_LIBRARY
...
Seems this used to be OK but now not always...
2021-06-09 20:39:01 +12:00
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
Oliver Giles
9a5ccc70e3
add example script for docker builds
2021-06-04 10:12:59 +12:00
Oliver Giles
d01cf1c9b0
failure to remove rundir should not abort the jobrunner
...
kj::Directory::remove will throw if it fails to remove some files, e.g. in
case of insufficient permissions. Catch this and move right along.
resolves #156
2021-05-23 14:42:06 +12:00
Oliver Giles
02810309fc
make taskFailed non-fatal
...
turns out we can end up here when an http client unexpectedly
drops the connection, so it must not cause an exit()
2021-05-03 09:18:06 +12:00
Oliver Giles
b16991b17a
fix race in http log output
...
Creating of LogWatcher makes it automatically receive new log
chunks as it is part of logWatchers. But we cannot be sure that
stream->write().then() will have already completed, so there is
a chance that a null fulfiller will be caused, causing a crash.
We cannot defer the creation of the LogWatcher until after
stream->write() because in the meantime we may lose new messages,
so call writeLogChunk to make sure we have a fulfiller before
entering stream->write().
Also, pending chunks of log output were std::move()'d to the first
interested client in the loop, they need to be copied if there
is more than one client.
2021-03-19 21:11:22 +13:00
Paolo Greppi
c7c586167c
use relative paths to support LAMINAR_BASE_URL option
2021-03-19 20:47:56 +13:00
Jan-Benedict Glaw
7e77ec1211
Allow subdirs in artifacts directory
...
Extend populateArtifacts() with a subdir parameter (default initialized to ".")
to allow for recursive calls. With subdirs encountered, call recursively.
2021-03-08 20:30:59 +13:00
Oliver Giles
9b8c3762ec
fe: do not html entity encode angle braces
...
in log output, ansi_up does it already.
resolves #148
2021-03-07 21:02:42 +13:00
vrein
c42b6d4207
Pass reason and queuedAt to Home page
2021-02-22 08:53:05 +13:00
Oliver Giles
8df882b273
remove debug logging in app.js
2021-01-09 21:52:02 +13:00
Oliver Giles
14ea1f0f43
move ansi_up to latest version: 4.0.4
...
this is also the version in debian libjs-ansi-up
2021-01-09 21:51:12 +13:00
meskio
381fd8b55e
Remove vue-router in the build process ( #141 )
2021-01-07 09:32:14 +13:00
Oliver Giles
9f969ae847
remove deprecated href to custom style.css
2021-01-02 21:26:50 +13:00
Oliver Giles
907f3926ce
remove dependency on vue-router
...
only a small subset of vue-router is used, and integration is
complicated by each route having its own EventSource request.
Implementing the routing directly allows simplification of
the EventSource logic.
Another motivating factor is that the vue-router packages in
debian have been unreliable, making the dependence on vue-router
a hinderance for packaging laminar in debian.
2021-01-02 21:26:13 +13:00
meskio
c140fb51eb
Add Documentation links to the systemd service ( #139 )
2020-12-09 07:51:10 +13:00
meskio
63bbb8a6e7
Fix errors on the man page ( #138 )
2020-12-09 07:50:37 +13:00
Alex Myczko
882978fa77
Update client.cpp ( #137 )
...
fix typo
2020-12-09 07:48:29 +13:00
Oliver Giles
1a5292f141
remove old trigger command
...
it has been deprecated for a while now
2020-12-05 13:55:11 +13:00
Oliver Giles
ec237f475e
deprecate custom css
...
replaced by custom index html page
2020-12-05 13:54:35 +13:00
Oliver Giles
5e64844440
frontend: "builds" -> "runs"
...
use consistent naming
2020-12-05 13:52:40 +13:00
Oliver Giles
c274e321df
fetch average runtime as double, not int
...
only makes a difference for very short jobs, but nice
to have more accurate graphs
2020-12-05 13:51:25 +13:00
Oliver Giles
e442652e0a
rpm packaging: list man pages
2020-12-05 13:49:13 +13:00
Oliver Giles
212cfaf8ab
UserManual: laminard env vars with docker
...
explain how laminard uses environment variables and
recommend how to set them when using docker
resolves #136
2020-12-05 13:24:12 +13:00
Oliver Giles
b755a2ef9e
edit manpages and cmakeize them
...
so that they will be installed in the correct place as part of
a normal build or packaging process.
2020-11-27 21:25:48 +13:00
Dmitry Bogatov
cafd0ddaee
Write and install manpage for laminarc
2020-11-25 13:36:34 +13:00
Dmitry Bogatov
69df17d7bf
Write and install manpage for laminard
2020-11-25 13:35:25 +13:00
Oliver Giles
308d679ea4
update vue and vue-router
...
to 2.6.12 and 3.4.8 respectively, as they are the versions available
in Debian. fix an exposed issue where the status handler attempted
to manipulate the DOM before vue had rendered it - such manipulations
need to be deferred with $nextTick().
2020-11-20 14:34:26 +13:00
Oliver Giles
b851c72d53
progress bar: fix initial delayed update
...
when the displayed frontend state changes, any progress bar
should begin in the initial correct state before smoothly
transitioning with time.
2020-11-20 14:08:02 +13:00
Oliver Giles
3e993d35a0
no badges for unfinished runs
...
do not attempt to generate badges for runs which have not
yet finished.
resolves #134
2020-11-13 14:02:00 +13:00
Oliver Giles
579c192d89
builds per day: fix dynamic update to wrong result
...
the wrong dataset was updated, causing the graph to increase
the number of failed builds when a build succeeded and vice-versa.
2020-11-13 14:00:59 +13:00
Oliver Giles
4fb95fcb4f
allow contexts to specify accepted jobs
...
using a glob expression, the same way jobs can specify
contexts. This allows more flexibility in situations where
there are many jobs sharing limited contexts because it
may obviate the need to create a conf file for each job.
resolves #124
2020-11-13 13:47:02 +13:00
Oliver Giles
bd489bdbb0
frontend refactor
...
use a more modern style, reduce variable scopes where possible,
fix several minor bugs such as pagination and scales in chart
tooltips
2020-10-16 21:19:12 +13:00
Oliver Giles
c6b60646f6
rewrite gtest result formatting example
2020-10-09 20:17:33 +13:00
Oliver Giles
1ea9713536
implement wallboard view
...
resolves #51
2020-10-09 13:06:03 +13:00
Oliver Giles
746ab24676
move buildTimeDist chart to examples
...
too esoteric for the front page, converting it to an example
of querying laminar db directly and using gnuplot should provide
more value to those needing deeper insights into job behaviour.
2020-09-26 15:12:02 +12:00
Oliver Giles
9862affd98
fix warnings under clang++
2020-09-26 11:33:36 +12:00
Oliver Giles
9974df21ce
add example telegram notification
2020-09-26 09:03:21 +12:00
Oliver Giles
c774acbb98
add example email notification scripts
2020-09-26 08:53:17 +12:00