6497: Separate package build and uploader scripts.
authorBrett Smith <brett@curoverse.com>
Wed, 22 Jul 2015 20:38:23 +0000 (16:38 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 22 Jul 2015 20:38:26 +0000 (16:38 -0400)
commit5cf15331acb6250da715ee9c41a2a0db7986917c
tree3f9d5e84f99d9c10a9a50e3011517368e4eba73f
parenta5c1b7e9798565f07e231c43b3453fe7b69c7368
6497: Separate package build and uploader scripts.

This lets us avoid redundant uploads as we build for multiple targets,
and lets us better customize the upload process per target.

run-build-packages had code to avoid doing an upload when there was no
new package to build.  run_upload_packages uses a timestamp file to
achieve a similar result.

Other changes to run-build-packages to support this:

* Better detection of when Python and Ruby packages have already been
  built.
* Refactor Gem building into a function to fix various bugs (wrong
  version checked for existing arvados-cli; distro packages not
  installed in the proper directory).
* Refactor git log querying to reduce code duplication.
jenkins/run-build-packages.sh
jenkins/run_upload_packages.py [new file with mode: 0755]