Commit Graph

53 Commits (e23635a1d394f135c60b67a6517d78db0ed0b579)

Author SHA1 Message Date
Jef Roosens 461f227169
refactor: use new module names 2022-06-22 09:31:08 +02:00
Jef Roosens d060366dcb
refactor: move docker code to external vdocker module 2022-06-22 09:31:08 +02:00
Jef Roosens 5e11a91f3d
refactor: renamed cron & build code to use "target" naming 2022-06-17 16:24:12 +02:00
Jef Roosens 102a7f8899
refactor: renamed codebase to "targets" 2022-06-16 16:56:58 +02:00
Jef Roosens 4d581da7bf
refactor: renamed api routes & client code to 'targets' 2022-06-16 16:56:58 +02:00
Jef Roosens 339267e6b2
fix: added VIETER_ prefix to vconf.load calls 2022-06-15 22:54:27 +02:00
Jef Roosens 44696fc11b
refactor: migrated env code to own external module 2022-06-15 13:20:29 +02:00
Jef Roosens 768da5b790
refactor: added CronExpression.next_n function 2022-05-26 13:41:28 +02:00
Jef Roosens 7f6e9e636c
fix(cron): retrieve all GitRepo's instead of first 25 2022-05-25 09:24:01 +02:00
Jef Roosens 0233b8559d
doc: added some missing docstrings 2022-05-19 22:14:41 +02:00
Jef Roosens 6bd5b7cb48
refactor: separated GitRepo types into own module
feat: added more query params for GitRepo API
2022-05-19 22:11:48 +02:00
Jef Roosens ce67208fbd
refactor(docker): remove old code 2022-05-15 10:01:12 +02:00
Jef Roosens 5f21e256ee
refactor: apply new vfmt defaults 2022-05-14 20:06:08 +02:00
Jef Roosens ea4c4fce16
feat(cron): upload logs after build 2022-05-09 08:51:10 +02:00
Jef Roosens fa6603bd45
feat(client): added client code for logs API 2022-05-07 19:38:28 +02:00
Jef Roosens 407b226955
refactor: moved client code into own module 2022-05-07 16:10:27 +02:00
Jef Roosens a3b6680153
cron: filter out repos with wrong architecture 2022-05-06 08:31:59 +02:00
Jef Roosens 5781796e99
doc: added docstrings to all db/git functions 2022-05-03 20:02:05 +02:00
Jef Roosens 204144cee8
refactor: removed commented code & ran formatter 2022-05-03 19:50:14 +02:00
Jef Roosens c818273790
feat: simplified config down to pkg_dir & data_dir
BREAKING: downloads are now stored inside the root of pkg_dir, the log
file is always stored in the root of data_dir
2022-05-03 19:50:14 +02:00
Jef Roosens 7419144f97
feat: removed git.GitRepo type
feat(cli): updated to new GitRepo format
2022-05-03 19:50:14 +02:00
Jef Roosens 03318586ed
feat(cron): added debug log on build_repo failure 2022-05-02 07:50:44 +02:00
Jef Roosens 325dcc27de
fix(cron): made Daemon.run infallible 2022-05-01 09:15:17 +02:00
Jef Roosens cfacf9ed0f
fix(cron): don't show error for empty cron schedule 2022-04-30 20:58:43 +02:00
Jef Roosens f9f440500e
docs: added comment string to each function 2022-04-30 20:22:03 +02:00
Jef Roosens fb65efdfbe
feat(cron): added removal of old builder images 2022-04-30 18:38:24 +02:00
Jef Roosens 369b4458c5
feat(cron): added automatic rebuilding of image; implemented builds 2022-04-30 18:10:33 +02:00
Jef Roosens caee56efd4
feat(cron): improve sleep calculation; prevent invalid rescheduling of
finished builds
2022-04-30 16:08:35 +02:00
Jef Roosens a1c308f29d
feature(daemon): added api renewal & calculated sleep time 2022-04-30 14:19:08 +02:00
Jef Roosens 6f9e1b5f3c
feat(cron): start of working loop 2022-04-30 11:58:49 +02:00
Jef Roosens c8fc683384
Eh don't feel like writing scheduler rn 2022-04-14 21:20:10 +02:00
Jef Roosens c8af362a4a
Workaround for weird bug 2022-04-14 20:38:14 +02:00
Jef Roosens 78b477fb92
Removed deprecated err.msg & err.code 2022-04-13 22:20:05 +02:00
Jef Roosens f7e1aba30b
Attempt at writing renew_queue function; seems to just stop in the
middle
2022-04-13 16:12:22 +02:00
Jef Roosens ff57d73998
Start of daemon (not working) [CI SKIP] 2022-04-13 15:24:55 +02:00
Jef Roosens bd0c276fd8
Added 'WIP' notice for cron cli 2022-04-12 21:28:44 +02:00
Jef Roosens 5ce431aa4a
Added two more test dates; pleased v vet 2022-04-12 21:23:38 +02:00
Jef Roosens 1116fee3fc
Actually possibly kinda decent cron next func 2022-04-12 21:16:09 +02:00
Jef Roosens e6033f9ab4
Ran vfmt 2022-04-12 20:53:20 +02:00
Jef Roosens eb65bb8a69
These bugs are gonna take a while 2022-04-12 14:22:40 +02:00
Jef Roosens 65d6aae701
Made sure unix value is calculated 2022-04-12 11:10:49 +02:00
Jef Roosens 2942793f40
Added support for x-y syntax 2022-04-12 10:35:29 +02:00
Jef Roosens f4bb03f488
Tests n bug fixes 2022-04-12 09:48:25 +02:00
Jef Roosens 04e54b8b10
Migrated tests to new bitv-based implementation 2022-04-12 09:00:18 +02:00
Jef Roosens ab4f64b6b6
Failed attempt at x,y,z cron stuff [CI SKIP] 2022-04-11 22:52:06 +02:00
Jef Roosens 0e5f31e649
Added some much-needed documentation 2022-04-11 22:30:22 +02:00
Jef Roosens 135b6c3d7f
Alpha version cron 'next' function 2022-04-11 22:16:31 +02:00
Jef Roosens e3da3d0d7f
Can't figure out cron algo right now [CI SKIP] 2022-04-10 17:48:15 +02:00
Jef Roosens 799fe2e454
Added some extra tests for parse_range 2022-04-10 16:58:55 +02:00
Jef Roosens f92a20fcf8
Gave all modules own directory; added test CI pipeline 2022-04-10 16:48:37 +02:00