Ken Dreyer [Tue, 14 Apr 2015 23:22:06 +0000 (17:22 -0600)]
build-ceph-rpm.sh: terminate on unpackaged files
As Ceph changes and new files get installed by default, we need to
ensure that the commits which create these files also update the
packaging files lists as well.
One way to do this is to tell Gitbuilder to stop skipping unpackaged
files in the RPMs. This will cause Gitbuilder builds to indicate a
failure when new files get added without packaging updates.
build-ceph: display make check errors when stored in .log
Automake after a certain version started storing the make check logs in
.log files. If a check fails, display the log so the user can figure out
what went wrong.
And timeout after 1h instead of 30mn because giant tests take over 20mn
and it's good to have so spare time in case the host is overloaded and
does not respond as fast as it should.
Now that the man pages are not committed to the repository in their
formatted form (https://github.com/ceph/ceph/pull/4142), we need
python-sphinx at build time.
Loic Dachary [Fri, 6 Mar 2015 20:36:17 +0000 (21:36 +0100)]
update roles / targets to reflect the current setup
The previous update (9c9e68d816bd020d46f45c1a83ef620cd8f5c572) was
wrong: a number of targets that were supposed to create packages were
actually set to create tarballs instead. The update allows to run
fab fab gitbuilder_auto
fab fab gitbuilder_ceph_rpm
Josh Durgin [Tue, 24 Mar 2015 23:35:34 +0000 (16:35 -0700)]
build: use CEPH_EXTRA_CONFIGURE_ARGS for flags from build-auto.sh
This was the intent, but it was not being used for many of the
build scripts. Factor out the flags that build-auto.sh sets
(tcmalloc and coverage) into defaults in build-ceph*.sh in case
any of them are being run directly, and not via build-auto.sh.
Loic Dachary [Fri, 6 Mar 2015 17:37:36 +0000 (18:37 +0100)]
try install autobuild-ceph.init and autobuild-ceph.conf
It does not hurt to install both. On Debian wheezy, /etc/init and
/etc/init.d exist: if installing only in /etc/init, the script won't end
up in /etc/init.d and won't run.
Loic Dachary [Fri, 6 Mar 2015 10:30:29 +0000 (11:30 +0100)]
setsid ./loop.sh to not be killed when sudo exits
The sudo() of fabric will kill the process group to cleanup any
leftovers. If the loop.sh daemon does not create a process group it is
also killed. This is not an issue when start/stop is used because a
process group is created implicitly. But when /etc/init.d/autobuild-ceph
is run instead because start/stop does not work, the process group must
be explicitly created.
Loic Dachary [Thu, 5 Mar 2015 21:25:46 +0000 (22:25 +0100)]
git reset --hard after removing the modules
If src/gmock is removed after git reset --hard, it won't be populated if
it is a directory. It will only be populated if it is a submodule
because git submodule update --init follows.
Dan Mick [Wed, 13 Aug 2014 01:21:12 +0000 (18:21 -0700)]
build-ceph-rpm.sh: copy "*.patch" from topdir into SOURCES
This allows patches to be applied when building the RPMs; the addition
of the ceph patch to disable /etc/init.d/ceph from autostarting Ceph
daemons leads to the desire for a .patch file, conditionally applied
by the .spec. See the Ceph sources.
Get SHA1 from branches.sh instead of running rev-parse.
Doing a git-rev parse gives the wrong (non-detatched) sha1 of the
actual tag instead of the commit which means for tags we get the
wrong sha1. Instead use branches.sh with -v which gives the
expected sha1.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Tue, 3 Jun 2014 21:35:58 +0000 (14:35 -0700)]
Create generic symlinks for rpm kernels (like deb) for teuthology.
Teuthology expects generic names (no versioning) when pulling from kernel
gitbuilders for installation which is already the case on debian kernel
gitbuilders but was not the case for rpm.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>