A janky CI/CD pipeline setup that should never be used
git-build | ||
README.md | ||
shellsrv |
Jank Pipeline
This is a minimal CI/CD pipeline built just as a fun side project. You might be able to use it on a private project for a quick and dirty hack, but should probably not use it for anything more serious.
It has two components: shellsrv
and git-build
.
shellsrv
This tool is a quick way to glue networking capabilities to shell scripts.
You call it by running ./shellsrv -p <port> COMMAND [ARGS...]
It sets up an https server, and whenever a GET/PUSH/POST etc html request arrives, it calls COMMAND ARGS <HTTP VERB> <URL>
and passes the request body as stdin to the created process...
git-build
This is designed to interface with the shellsrv script. It reads a ref from stdin json and then clones a git repo.