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: 10 months ago
JSON representation
Simple CI framework in bash. Checks whether there have been any updates, runs tests and mails you on completion.
- Host: GitHub
- URL: https://github.com/ianmiell/cheapci
- Owner: ianmiell
- License: mit
- Created: 2014-08-06T19:23:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T09:26:12.000Z (over 3 years ago)
- Last Synced: 2025-03-31T21:42:52.552Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 187
- Watchers: 10
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bash - cheapci - A continuous integration framework implemented in bash. (Applications)
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
ian.miell@gmail.com if there are any issues"
./cheapci \
-r https://github.com/ianmiell/shutit.git \
-l /space/git/shutit \
-d test \
-c ./test.sh \
-m ian.miell@gmail.com
- "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 ian.miell@gmail.com
- "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
```