Created
June 2, 2014 11:05
-
-
Save raphink/601cabfed6e4024bcc8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROFILE=mcollective | |
| TARBALL=montarball.tar.gz | |
| APT_DIR=packages/apt | |
| # Get modules | |
| # TODO: versions? | |
| rake spec_prep | |
| # Run tests | |
| #rake spec_standalone | |
| # Generate packages cache | |
| # TODO: filters | |
| reprepro -b $APT_DIR update | |
| reprepro -b $APT_DIR export | |
| # Generate PDF README | |
| # TODO: branding | |
| pandoc README.md -o README.pdf | |
| # TODO: add script to run puppet | |
| # TODO: install puppet? | |
| tar cvzfh $TARBALL \ | |
| README.md README.pdf \ | |
| packages --exclude $APT_DIR/conf --exclude $APT_DIR/lists --exclude $APT_DIR/db \ | |
| -C spec/fixtures modules/ --exclude modules/$PROFILE/spec/fixtures/modules \ | |
| --exclude $TARBALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment