A janky CI/CD pipeline setup that should never be used
Go to file
2021-09-10 14:31:02 +02:00
git-build initial commit 2021-09-10 14:31:02 +02:00
README.md initial commit 2021-09-10 14:31:02 +02:00
shellsrv initial commit 2021-09-10 14:31:02 +02:00

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.