Commit Graph

38 Commits

Author SHA1 Message Date
agj a5618d3c5f fix: validate input in wget-and-sci.sh 2026-06-16 22:44:25 +02:00
agj e1ab3f28d6 fix: log timestamps are now updated 2024-09-21 10:01:34 +02:00
agj aae388897e feat: add messagequeue api 2024-09-21 10:01:34 +02:00
agj 99174939f5 feat: handle sigint properly 2024-09-09 07:21:09 +02:00
agj bdf3a54ba0 fix: add missing copyright notices 2024-09-08 21:13:41 +02:00
agj 5ba8a9f063 fix: solve leak sanitizer on graceful shutdown
I am testing by simply calling `pipeline_cancel` on the first pipeline
execution.
2024-09-08 21:09:48 +02:00
agj 7e80274784 feat: add hot-reloading support
Just launch and edit the pipeline.conf file.
2024-09-02 20:42:22 +02:00
agj 4ba2362f5c fix: slightly better trigger dir management 2024-08-31 08:27:33 +02:00
agj fa6ec315c8 feat: unique directory for pipelines
Also, start using fork/chdir/exec idiom instead of posix_spawn, because
as we all know: posix_spawn is stupid as a system call:

https://lwn.net/Articles/360556/
2024-08-31 08:05:44 +02:00
agj 22075e17e1 fix: remove PATH default env
spawnp searches through PATH for you
2024-08-29 18:21:43 +02:00
agj fd0eb59aae fix: some cleanup 2024-08-29 18:18:29 +02:00
agj 484efc200a feat: add environment variable passing 2024-08-26 20:48:22 +02:00
agj cfffa43428 feat: introduce sanitizers
had to fix some things
2024-08-26 19:50:48 +02:00
agj 0f1aa982f4 fixup! refactor: move executor function into it's own file 2024-08-26 18:40:23 +02:00
agj 05701d9d85 wip: custom environment variable passing
You should be able to tell your sci deployment which env vars should be
passed to the pipelines with -e ENV1 -e ENV2 and so on
2024-08-25 15:52:43 +02:00
agj e442800779 fix: move the new utils into utils.h/c 2024-08-25 15:05:22 +02:00
agj faf362c607 feat: add better shell-like command support
You can now execute any kind of program in the PATH.
You do, however, need to specify "./" if you want to execute a local
file, but that shouldn't be too big a problem.
2024-08-25 09:54:03 +02:00
agj 3272bd1e40 wip 2024-08-23 22:03:40 +02:00
agj ad9dc90f31 feat: add docker image and refactor the scripts 2024-08-23 21:48:19 +02:00
agj 4d9c1b2a2c chore: update readme 2024-08-23 07:16:18 +02:00
agj 1d18e15b19 fix: always try to build docker images 2024-08-19 20:37:18 +02:00
agj 1bdf748ec5 chore: update TODO 2024-08-19 20:37:18 +02:00
agj 347c8605c9 fix: automate arch packaging
using docker just like debian. This makes the scripts easier to
reproduce.
2024-08-19 20:37:18 +02:00
agj e8602e1e1f feat: add gplv3 license 2024-08-19 19:48:22 +02:00
agj d02eb34285 feat: add debian packaging
fuck this is complicated. Why'd you make it so insane, debian
maintainers?
Please fix this.

It's working now, but Makefile must be modified... I dont like that.
Let's find another way
2024-08-19 19:47:44 +02:00
agj ccd07141f5 feat: add arch packaging 2024-08-19 19:47:44 +02:00
agj 5469fdcf92 chore: some cleanup
yes. I made the cardinal sin. I am using a goto.
2024-08-06 20:19:27 +02:00
agj 6c1102db43 feat: add option to set where pipeline logfiles go 2024-08-06 20:05:20 +02:00
agj 2ebbc86799 feat: throw logs into a log file
Fuck. I had to add another dependency...
2024-08-06 19:28:40 +02:00
agj d8b8b7b729 feat: inject pipeline env and dont use system 2024-08-06 18:54:51 +02:00
agj 1bcdca9e21 feat: cleanup and daemonization 2024-08-04 21:27:23 +02:00
agj dcc25f88a7 feat: add threadpool and started pooling executors 2024-08-04 12:39:48 +02:00
agj e35dbdb1f3 fix: log is now threadsafe 2024-08-03 12:58:33 +02:00
agj 121643be45 feat: add simple two-thread watch prototype
I feel like I'm crushing it today!
2024-08-03 12:43:33 +02:00
agj 9d1408c174 feat: add simple logging library 2024-08-03 09:25:47 +02:00
agj 6c3ad9ffa5 feat: add simple inotify prototype 2024-08-03 07:47:47 +02:00
agj 94a4ac27c5 feat: add simple getopt cli 2024-08-02 19:08:25 +02:00
agj de71b99539 feat: initial commit 2024-08-01 21:35:35 +02:00