crowbar/crowbar — pull request #1783 by VictorLowther (2013-04-02 08:33:25+00:00)
Title: Make feature/grizzly a little more amenable to being built in the Dell build and test env. [11/11]

This pull request series starts at making PFS builds use the build
cache in a wway that is compatible with performing offline builds.

* Reorder the cache staging processes in the main build process to
stage things cache by cache instead of barclamp by barclamp. This
ensures that all custom barclamp build actions can see the complete
state of the cache for all barclamps, instead of only seeing the
cache of the barclamps that were staged before them.
* Add support for stashing the complete barclamp metadata from the
crowbar.yml files into the barclamps data bag in Chef.
* Add support into the build system for making complete clones of git
repositories and saving them as tar.bz2 files in the build cache.
* Erase the git barclamp's custom build action for staging git
repositories. The build system handles this for us now.
* Fix up the git barclamp to conform to how the build system staged
cached git repository clones.
* Fix up the crowbar.yml files to be ruby 1.9 compatible
* Several misc. bugfixes.

Still to be done is to intergrate PIP cache handling into the main
build system -- curently, we only use this functionality for PFS.

This patch series also slightly modifies how one invokes a PFS build.
Specifically, you need to pass the --update-pfs-caches flag to allow
the build system to clone or update its cached git checkouts.

build_crowbar.sh | 3 +-
build_lib.sh | 346 +++++++++++---------
package_barclamp.sh | 60 ++--
.../grizzly/master/extra/barclamp_mgmt_lib.rb | 14 +
4 files changed, 245 insertions(+), 178 deletions(-)

Crowbar-Pull-ID: 9a77ef6723b715acfb8d892036d330758f85a940

Crowbar-Release: feature/grizzly