Skip to content

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

License

Notifications You must be signed in to change notification settings

ianmiell/cheapci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages