Commit Graph

593 Commits (3e40eeff2d87d2b504c37046353c161b9aaa7318)

Author SHA1 Message Date
Jef Roosens 7e01dbafec
feat(server): added endpoints for listing & uploading build logs 2022-05-07 15:10:07 +02:00
Jef Roosens 58c1ecd25e
db: added BuildLog & required methods 2022-05-07 14:16:30 +02:00
Jef Roosens 230920576d Merge pull request 'Release 0.3.0-alpha.1' (#164) from release-0.3.0-alpha.1 into main
ci/woodpecker/tag/lint Pipeline was successful Details
ci/woodpecker/tag/build Pipeline was successful Details
ci/woodpecker/tag/test Pipeline was successful Details
ci/woodpecker/tag/docs Pipeline was successful Details
ci/woodpecker/tag/gitea Pipeline was successful Details
ci/woodpecker/tag/docker Pipeline was successful Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline failed Details
Reviewed-on: vieter/vieter#164
2022-05-06 20:12:51 +02:00
Jef Roosens 356a34ab01
chore: bumped versions
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/pr/docs unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker unknown status Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
2022-05-06 20:04:48 +02:00
Jef Roosens 1156e896f7 Merge pull request 'cron: filter out repos with wrong architecture' (#163) from Chewing_Bever/vieter:cron-check-arch into dev
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
Reviewed-on: vieter/vieter#163
2022-05-06 09:00:53 +02:00
Jef Roosens a3b6680153
cron: filter out repos with wrong architecture
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-05-06 08:31:59 +02:00
Jef Roosens 7fdbcdf3e7
ci(arch): also change URL of downloaded PKGBUILD
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
2022-05-05 23:38:12 +02:00
Jef Roosens d4306133e0 Merge pull request 'Fix PKGBUILD' (#161) from Chewing_Bever/vieter:pkgbuild-fixes into dev
ci/woodpecker/push/docs Pipeline is pending Details
ci/woodpecker/push/lint Pipeline is pending Details
ci/woodpecker/push/test Pipeline is pending Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/arch Pipeline failed Details
Reviewed-on: vieter/vieter#161
2022-05-05 23:36:42 +02:00
Jef Roosens 1990ade089
ci: fixed some steps running when not required
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-05-05 23:30:54 +02:00
Jef Roosens e008133981
ci(arch): changed PKGBUILD to new URL 2022-05-05 23:29:08 +02:00
Jef Roosens 1a076a7a8c Merge pull request 'Sqlite backend & simplifying of config variables' (#158) from Chewing_Bever/vieter:sqlite-backend into dev
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/arch Pipeline failed Details
Reviewed-on: vieter/vieter#158
2022-05-05 23:18:43 +02:00
Jef Roosens 8c5652c230
ci: made build upload failable; updated ci for use with PRs
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-05-05 23:11:18 +02:00
Jef Roosens b6d5bd3228
doc: listed new config variables in docs
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful 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
2022-05-03 20:13:28 +02:00
Jef Roosens 5781796e99
doc: added docstrings to all db/git functions
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful 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
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 0a2488a4df
feat(server): migrated repo patch to sqlite 2022-05-03 19:50:14 +02:00
Jef Roosens 891a206116
feat(server): partially migrated repos API to sqlite 2022-05-03 19:50:14 +02:00
Jef Roosens 03318586ed
feat(cron): added debug log on build_repo failure
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
2022-05-02 07:50:44 +02:00
Jef Roosens c5161cac37
chore: updated changelog [CI SKIP] 2022-05-01 15:25:21 +02:00
Jef Roosens 5cde3d0235
fix(cli): allow empty schedule to clear it
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
2022-05-01 14:51:52 +02:00
Jef Roosens 0b050a81db Merge pull request 'Repo CLI Improvements' (#146) from better-repos-cli into dev
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
Reviewed-on: Chewing_Bever/vieter#146
2022-05-01 13:17:21 +02:00
Jef Roosens d313c5b786
feat(cli): added command to show detailed repo info
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful 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
2022-05-01 13:06:57 +02:00
Jef Roosens 92b8f1fb93
feat(cli): added management of cron schedules 2022-05-01 12:52:05 +02:00
Jef Roosens b1ac39e234
feat: made arch param optional when adding Git repo 2022-05-01 12:44:54 +02:00
Jef Roosens d9d7272b44 Merge pull request 'Move over documentation' (#143) from docs-move into dev
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/deploy Pipeline was successful Details
Reviewed-on: Chewing_Bever/vieter#143
2022-05-01 12:17:39 +02:00
Jef Roosens 1f1aa381e1
ci: corrected docs deploy step & re-enabled deploy workflow
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/push/build Pipeline failed Details
2022-05-01 12:14:13 +02:00
Jef Roosens e5d50f3a59
ci(docs): build & deploy docs in CI 2022-05-01 12:14:13 +02:00
Jef Roosens 1dd810a605
docs: migrated over Hugo documentation 2022-05-01 12:14:13 +02:00
Jef Roosens 325dcc27de
fix(cron): made Daemon.run infallible
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
2022-05-01 09:15:17 +02:00
Jef Roosens 37c27ae84b
fix(ci): add -DGC_THREADS flag to prod build
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/arch Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
2022-04-30 23:02:54 +02:00
Jef Roosens 60598f719c
fix(ci): only download PKGBUILD instead of cloning entire repo
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/arch Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline failed Details
2022-04-30 22:22:12 +02:00
Jef Roosens 4a47c7bbdc Merge pull request 'implementation of cron daemon' (#134) from cron into dev
ci/woodpecker/push/build_experimental unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/arch Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
Reviewed-on: Chewing_Bever/vieter#134
2022-04-30 21:05:05 +02:00
Jef Roosens cfacf9ed0f
fix(cron): don't show error for empty cron schedule
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
2022-04-30 20:58:43 +02:00
Jef Roosens f9f440500e
docs: added comment string to each function
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
2022-04-30 20:22:03 +02:00
Jef Roosens fb65efdfbe
feat(cron): added removal of old builder images
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
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 98c0e52b08
chore(ci): added missdoc -p check; merged lint commands 2022-04-30 16:41:12 +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
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
2022-04-30 14:19:08 +02:00
Jef Roosens 11ac3c0470
docs: added docs command & notice in README 2022-04-30 14:19:08 +02:00
Jef Roosens 5287067ea7
chore(ci): run builds sequentially 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 4d26797453
chore(ci): Updated PKGBUILD to use vieter-v package 2022-04-30 11:58:49 +02:00
Jef Roosens 7722d5a7e4
fix: replace byte with u8
BREAKING: the V compiler removed the byte type alias in favor of u8.
2022-04-30 11:58:49 +02:00
Jef Roosens 20707f6af1
chore(ci): change debug build used
chore(ci): removed skip-unused-static experimental build

chore: updated Makefile
2022-04-30 11:58:49 +02:00
Jef Roosens 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
2022-04-15 11:13:04 +02:00
Jef Roosens 20112b8693
Switched to official compiler instead of fork
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/test unknown status Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
2022-04-15 10:59:05 +02:00
Jef Roosens 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
2022-04-14 23:17:52 +02:00