implementation of cron daemon #134

Merged
Jef Roosens merged 22 commits from cron into dev 2022-04-30 21:05:06 +02:00

This PR merges my own implementation of a cron daemon & build scheduler for Vieter. Switching to our own version allows for much greater customisability, better logging, and ease of use.

While this PR does merge the initial version, I don't expect it to be completely stable yet. It will have to be tested thoroughly to make sure we can iron out any unwanted bugs.

Closes #116

This PR merges my own implementation of a cron daemon & build scheduler for Vieter. Switching to our own version allows for much greater customisability, better logging, and ease of use. While this PR does merge the initial version, I don't expect it to be completely stable yet. It will have to be tested thoroughly to make sure we can iron out any unwanted bugs. Closes #116
Jef Roosens added this to the 0.3.0 milestone 2022-04-21 09:54:55 +02:00
Jef Roosens added the
enhancement
label 2022-04-21 09:54:55 +02:00
Jef Roosens added 15 commits 2022-04-21 09:54:56 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
f7e1aba30b
Attempt at writing renew_queue function; seems to just stop in the
middle
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
78b477fb92
Removed deprecated err.msg & err.code
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
c8af362a4a
Workaround for weird bug
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
c8fc683384
Eh don't feel like writing scheduler rn
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
cd8fd78616
Added experimental builds to CI
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
cf77037188
Some more experimental builds
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
92ca5b8024
Merge branch 'dev' into cron
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
10377632d5
Make vieter compiler with -skip-unused
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
c6813f1e0d
Make skip-unused build prod; better ci information
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
2c62f6bda1
Added boehm garbage collector to skip-unused
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
32d542102f
Removed references to byte; enabled -skip-unused by default
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details
15d21e3f1e
cron: basic working loop; removed -skip-unused
Jef Roosens added 1 commit 2022-04-21 09:59:12 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details
0dca7374db
Fixed some errors in CI
Jef Roosens added 1 commit 2022-04-21 15:51:54 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
dca7ccd649
ci: switch back to building debug
Jef Roosens added 1 commit 2022-04-21 16:12:55 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/test Pipeline is pending Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
efa67bf930
Compile boehm gc dynamically for debug
Jef Roosens added 1 commit 2022-04-21 16:13:38 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
1b1b9d2edd
ci: build regular binary again
Jef Roosens added 1 commit 2022-04-21 16:15:15 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
7df9d921f4
Add dynamic boehm compiler to tests as well
Jef Roosens added 1 commit 2022-04-21 16:27:10 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
4be25ff356
ci: added dynamic boehm prod build to experimental builds
Jef Roosens added 1 commit 2022-04-21 16:48:51 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
8e40481022
Use dynamic_boehm everywhere
Jef Roosens added 1 commit 2022-04-21 16:49:58 +02:00
Jef Roosens added 1 commit 2022-04-29 10:34:30 +02:00
Jef Roosens added 1 commit 2022-04-29 22:41:59 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details
62ea840e7a
Removed dynamic_boehm because of segfaults; worked on cron loop
Jef Roosens added 1 commit 2022-04-29 23:05:09 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
eb9f21a0ea
Re-added -d dynamic_boehm for now
Jef Roosens force-pushed cron from eb9f21a0ea to b27041d5a7 2022-04-30 10:41:46 +02:00 Compare
Jef Roosens force-pushed cron from b27041d5a7 to cc061a38da 2022-04-30 12:13:42 +02:00 Compare
Jef Roosens force-pushed cron from cc061a38da to a5239ced1f 2022-04-30 12:23:24 +02:00 Compare
Jef Roosens force-pushed cron from a5239ced1f to a1c308f29d 2022-04-30 14:24:39 +02:00 Compare
Jef Roosens added 4 commits 2022-04-30 18:38:40 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
fb65efdfbe
feat(cron): added removal of old builder images
Jef Roosens added 1 commit 2022-04-30 20:22:25 +02:00
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
f9f440500e
docs: added comment string to each function
Jef Roosens changed title from WIP: implementation of cron daemon to implementation of cron daemon 2022-04-30 20:34:21 +02:00
Jef Roosens added 1 commit 2022-04-30 20:49:09 +02:00
Jef Roosens force-pushed cron from ebfd49e615 to cfacf9ed0f 2022-04-30 20:58:53 +02:00 Compare
Jef Roosens merged commit 4a47c7bbdc into dev 2022-04-30 21:05:06 +02:00
Jef Roosens deleted branch cron 2022-05-06 08:19:42 +02:00
Sign in to join this conversation.
There is no content yet.