You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37f9100f97 | 3 years ago | |
---|---|---|
README.md | 3 years ago | |
git-build | 3 years ago | |
shellsrv | 3 years ago |
README.md
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.