Commit Graph

19 Commits

Author SHA1 Message Date
4f2c2dc8da
Order tasks by change date first
All checks were successful
Alpine 3.20 Success
The user presumably does not want to look everywhere for recent tasks.
2024-12-26 16:24:54 +01:00
55a6693942
Fix deployment error processing 2024-12-26 16:18:37 +01:00
d5981249b1
Add time information 2024-12-26 16:17:45 +01:00
4a7fc55c92
Runtime configuration changes
All checks were successful
Alpine 3.20 Success
Through an RPC command, because systemd documentation told us to.
2024-12-26 12:03:00 +01:00
fb291b6def
Improve the terminal filter
All checks were successful
Alpine 3.20 Success
The new filter comes with these enhancements:

 - Processing is rune-wise rather than byte-wise;
   it assumes UTF-8 input and single-cell wide characters,
   but this condition should be /usually/ satisfied.
 - Unprocessed control characters are escaped, `cat -v` style.
 - A lot of escape sequences is at least recognised, if not processed.
 - Rudimentary preparation for efficient dynamic updates
   of task views, through Javascript.

We make terminal resets and screen clearing commands
flush all output and assume that the terminal has a new origin
for any later positioning commands.
This appears to work well enough with GRUB, at least.

The filter is now exposed through a command line option.
2024-12-25 23:14:54 +01:00
14a15e8b59
Prevent a data race 2024-12-25 23:14:54 +01:00
0746797c73
Add optional raw log redirection
For now using an environment variable.
2024-12-25 23:14:38 +01:00
a09b11256b
Clean up, add a deployment stage
All checks were successful
Alpine 3.20 Success
Errors should be handled a bit more nicely now.

The SFTP part could also be done from deploy scripts like:

 scp -i {runner.ssh.identity} \
   -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
   {runner.ssh.user}@{runner.ssh.address%:*} -p {runner.ssh.address#*:}

but that is deemed way too annoying, so we do it from Go.
2024-12-23 14:35:46 +01:00
bd13053773
Make manually invoked runners possible
All checks were successful
Alpine 3.20 Success
This is intended for runners that are only available on request.
2024-12-22 09:02:09 +01:00
0db2ff3409
Set a time limit on runners 2024-04-19 04:26:48 +02:00
4a23c47a92
Adjust shell quoting
All checks were successful
Alpine 3.19 Success
2024-04-17 01:45:13 +02:00
b594ff78b2
Improve shell quoting 2024-04-16 08:30:25 +02:00
fe81d713e1
Add an enqueue command 2024-04-15 00:20:39 +02:00
eda0f22f07
Rewrite RPC handling for wider usability 2024-04-15 00:05:53 +02:00
38669ce2ed
Notify Gitea about restarted tasks 2024-04-10 15:03:26 +02:00
d4405a0cde
Clear the detail when restarting tasks 2024-04-10 12:55:07 +02:00
274e71fb6a
Think about process groups 2024-04-08 03:22:51 +02:00
7bec477266
Fix Tasks link in a subroot 2024-04-08 02:49:12 +02:00
fd6959fff8
Initial commit 2024-04-04 19:40:14 +02:00