Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ianmiell/cheapci

Simple CI framework in bash. Checks whether there have been any updates, runs tests and mails you on completion.
https://github.com/ianmiell/cheapci

Last synced: 2 months ago
JSON representation

Simple CI framework in bash. Checks whether there have been any updates, runs tests and mails you on completion.

Lists

README

        

cheapci
=======

Simple CI framework in bash. Checks whether there have been any updates, runs tests
and mails you on completion.

To show flags etc:

```
$ ./cheapci -h
```

Examples
========

```
EXAMPLES

- "Clone -r https://github.com/ianmiell/shutit.git if a git pull on /space/git/shutit
indicates there's been an update. Then navigate to test, run ./test.sh and mail
[email protected] if there are any issues"

./cheapci \
-r https://github.com/ianmiell/shutit.git \
-l /space/git/shutit \
-d test \
-c ./test.sh \
-m [email protected]

- "Run the above continuously in a crontab."

Crontab line:

* * * * * cd /path/to/cheapci && ./cheapci -r https://github.com/ianmiell/shutit.git -l /space/git/shutit -d test -c ./test.sh -m [email protected]

- "Test cheapci with cheapci"

# Check out cheapci to the folder specific in the -l argument below, and update that argument for your context
./cheapci \
-n cheapci \
-d . \
-c /bin/true \
-r https://github.com/ianmiell/cheapci \
-l /home/imiell/git/cheapci \
-f \
-a echo
```