Simplest possible CI server. Runs scripts in response to events.
All scripts should go in a scripts directory. Scripts directory can be defined by TINYCI-SCRIPT-DIR environment variable, or will simply be scripts directory located where TinyCI executable is located.
Event sources are:
Simply point your github webhook at http://yourTinyCIserver/gh.
Will run scripts in this order (if they exist in scripts folder):
gh-githubname.reponame.shgh-githubname.reponame~branch.shFor better security on webhooks you can set an environment variable called github-hook-secret with the same secret you supply to github when creating the webhook.
Point docker hub webhooks to http://yourTinyCIserver/dh
Will run dh-yourname.repo.sh if it exists.
docker run -d -P -v /var/run/docker.sock:/tmp/docker.sock -v $(which docker):/bin/docker -v /usr/lib/libdevmapper.so.1.02:/usr/lib/libdevmapper.so.1.02 --name=tiny captncraig/tinyci
Content type
Image
Digest
sha256:a5e880275…
Size
173.3 MB
Last updated
almost 11 years ago
docker pull captncraig/tinyci