Commit Graph

19 Commits

Author SHA1 Message Date
Martchus edd78667c5 Allow configuring retention for build actions 2023-11-23 18:49:43 +01:00
Martchus 72d449977f Fix note about deleted build actions in cleanup action 2023-05-28 20:37:45 +02:00
Martchus 86581ec002 Add note in cleanup action stating how many build actions have been deleted 2023-04-08 18:50:46 +02:00
Martchus 5af8de2468 Fix catching exception from `boost::filesystem` in `BuildServiceCleanup` and adapt tests 2023-04-08 18:43:58 +02:00
Martchus 00edfed48b Improve error handling in `BuildServiceCleanup` 2023-04-07 19:23:13 +02:00
Martchus 836b7da8a3 Invoke `paccache` as part of the build service cleanup 2023-04-07 19:15:16 +02:00
Martchus 08af21ddb5 Fix warnings about unqualified calls in `buildaction.cpp` 2023-04-07 17:55:13 +02:00
Martchus 4f413e86ba Allow to abort build action immediately while waiting for chroot locks
* Avoid aborted build actions from being stuck in running state while
  waiting until the chroot locks can be acquired; allow aborting action
  immediately instead
* Use async locks when invoking makechrootpkg and split affected function
  accordingly
2023-01-17 18:40:05 +01:00
Martchus 218e1f6b17 Add simple cleanup of old build actions 2022-11-24 21:33:42 +01:00
Martchus 255da5b091 Allow passing secrets to build action 2022-07-11 23:33:28 +02:00
Martchus 55c7c62c7c Speed up returning build actions table by avoiding deserializing whole obj 2022-05-31 20:54:02 +02:00
Martchus c2e7f40767 Fix typos 2022-03-01 00:43:06 +01:00
Martchus 382169ab6e Fix varoius build action related problems
* Fix crashes in some situations
* Fix aborting reloading library dependencies
2022-02-22 22:49:40 +01:00
Martchus 93afb3883d Write build action "output" log to a logfile like for sub-processes 2022-02-20 00:11:23 +01:00
Martchus 557fd1a738 lmdb: Use lmdb to store build actions 2022-02-13 21:04:54 +01:00
Martchus 56ad086c0c Start the next job only if all start after actions were successful 2021-04-16 14:06:18 +02:00
Martchus ff1e955bde Consider concurrent flag when starting build actions from task
This allows concurrent build actions within the same task.
2021-04-05 12:10:42 +02:00
Martchus aa356944da Log process IDs of started sub processes 2021-02-08 23:54:02 +01:00
Martchus c1554f4c87 Initial import 2021-02-08 23:53:56 +01:00