Gary Lowell [Fri, 8 Mar 2013 05:15:11 +0000 (21:15 -0800)]
build-ceph-rpm.sh: Update rpm repo for ceph-deploy
Add an rpm for the repository config. Config points
to to he repo on gitbuilder-ceph.com for the built
branch. There is one repository for each of the
binary, noarch, and SRPM directories. Work related
to Bug #3921.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Fri, 8 Mar 2013 05:03:18 +0000 (21:03 -0800)]
rpm-autosign.exp: New utility to help sign rpms.
The rpm commend insists on prompting for a passphrase when signing rpms even
for passphraselees keys. This behaviour causes problems for automated build
scripts. The rpm-autosign.exp scripts is a small expect wrapper for rpm that
that sends empty passphrase in reposne to the prompt.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Tue, 19 Feb 2013 05:09:50 +0000 (21:09 -0800)]
build-auto: determine gitbuilder behavior from the hostname
Figure out what the build should do based on keywords in the
hostname. Similarly, rsync to the remote target using the
fields in the hostname:
gitbuilder-PROJECT-WHAT-DISTRO-ARCH-FLAVOR
PROJECT is ceph, ...
WHAT is deb or rpm (so far)
DISTRO is precise, etc.
ARCH is amd64, i386 (although the VM knows this anyway)
FLAVOR is basic, notcmalloc, gcov, ...
This will simplify the fabfile a bit (at least for new builder VMs). We
also solve the problem is passing the environment into the package build
from one central location (build-auto.sh) which has enough context/state in
the hostname to do the right thing.