Merge pull request #36 from git-harry/master

My key
Add existing gate-upstream-repo-commits script from jenkins job
Merge pull request #37 from hughsaunders/master

Add existing gate-upstream-repo-commits script from jenkins job
rename gate-upstream-repo-commits
Merge pull request #38 from hughsaunders/rename_gurc

rename gate-upstream-repo-commits
prepare for separate upstream gate job for ceph
add dgate-upstream-repo-commits
Merge pull request #39 from hughsaunders/add_gate_upstream_repo_commits_script

add dgate-upstream-repo-commits
Merge pull request #40 from hughsaunders/special_case_ceph

prepare for separate upstream gate job for ceph
Cope with ceph submodule repo name not being checkout dir.

The upstream ceph cookbooks url is github.com/ceph/ceph-cookbooks,
but it is checked out as a submodule as cookbooks/ceph. This leads to
the following error when looping through and checking for updates:

+ for repo in '${repolist}'
++ echo ceph-cookbooks
++ cut -d. -f1
+ submodule=ceph-cookbooks
+ git submodule init
+ git submodule update cookbooks/ceph-cookbooks
error: pathspec 'cookbooks/ceph-cookbooks' did not match any file(s)
known to git.
Did you forget to 'git add'?
+ pushd cookbooks/ceph-cookbooks
/home/jenkins/jenkins-build/gate-upstream-repo-commits-parent: line 45:
pushd: cookbooks/ceph-cookbooks: No such file or directory
Build step 'Execute shell' marked build as failure
Notifying upstream projects of job completion
Finished: FAILURE

The fix is to use the gitmodule path rather than the url to determine where
the checkout is. The slight complication is that the url must still be
used for checking exclusions as the path doesn't contain enough data.
Merge pull request #41 from hughsaunders/ceph_module_path_inconsitency

Cope with ceph submodule repo name not being checkout dir.
Added gate-ceph-matrix script
Store build vars for use in postbuild
Use nova friendly instance names
Merge pull request #42 from hughsaunders/master

Add gate-ceph-matrix script
cleanup script, fix centos test
Merge pull request #43 from hughsaunders/master

cleanup script, fix centos test
Clone repository with specific branch

Ensure that when we clone the repos in question, we are getting a ref to
the branch being tested to avoid these errors:

+ git checkout v4.2.1rc
  error: pathspec 'v4.2.1rc' did not match any file(s) known to git.
Merge pull request #44 from claco/clone-with-branch-ref

Clone repository with specific branch
Revert "Clone repository with specific branch"

This reverts commit 1793daa3794fca6685b5013f8060fd4cf3e9c639.