diff options
author | Malfurious <m@lfurio.us> | 2023-10-25 01:49:42 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-10-26 20:41:40 -0400 |
commit | 618d4dac812c2d0ff46e4925cae4950f59bb02bf (patch) | |
tree | 3a346a634fe0a4ba23bc140805b6f4d1120afb1e /UNLICENSE | |
parent | 73994d9858a4d69747731f29f8093a4db441606f (diff) | |
download | cychedelic-618d4dac812c2d0ff46e4925cae4950f59bb02bf.tar.gz cychedelic-618d4dac812c2d0ff46e4925cae4950f59bb02bf.zip |
acid: Manage persistent build logs
The output from build jobs are now stored in dedicated log files instead
of being dumped to stdout. Files are saved in the new volume at /logs
and intended to be accessed by the web interface for auditing there.
Files are named like "X_Y_Z.log" where X = a unique build number, Y = a
timestamp in UNIX epoch seconds, and Z = the corresponding service name.
Log files are simply closed when the job is finished, so the UI can
check for the existence of a file "/logs/active" which indicates that
the highest-numbered job is still in progress. This file is removed
afterward.
Failed jobs have a "JOB FAILED" message appended at the end of their
log. Successful jobs simply lack this message. One reason this is the
case is due to the build for cychedelic (--self) losing execution before
success can be affirmatively determined.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'UNLICENSE')
0 files changed, 0 insertions, 0 deletions