autobuild-ceph.git
9 years agofabfile: rhel 6 needs python-sphinx10 wip-sphinx 38/head
Loic Dachary [Fri, 3 Apr 2015 00:00:02 +0000 (02:00 +0200)]
fabfile: rhel 6 needs python-sphinx10

It is used to build the man pages.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agofabfile: discard squeeze/oneiric tarbals
Loic Dachary [Thu, 2 Apr 2015 22:09:57 +0000 (00:09 +0200)]
fabfile: discard squeeze/oneiric tarbals

They no longer exist and attempting to fetch them will fail the
installation.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #37 from dachary/wip-sphinx
Ken Dreyer [Thu, 2 Apr 2015 23:27:00 +0000 (17:27 -0600)]
Merge pull request #37 from dachary/wip-sphinx

fabfile: add python-sphinx to build man pages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agofabfile: add python-sphinx to build man pages 37/head
Loic Dachary [Thu, 2 Apr 2015 21:50:57 +0000 (23:50 +0200)]
fabfile: add python-sphinx to build man pages

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.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #31 from dachary/wip-wheezy
Ken Dreyer [Thu, 2 Apr 2015 14:44:51 +0000 (08:44 -0600)]
Merge pull request #31 from dachary/wip-wheezy

try install autobuild-ceph.init and autobuild-ceph.conf

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #32 from dachary/wip-targets
Ken Dreyer [Thu, 2 Apr 2015 14:42:33 +0000 (08:42 -0600)]
Merge pull request #32 from dachary/wip-targets

update roles / targets to reflect the current setup

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoupdate roles / targets to reflect the current setup 32/head
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

http://tracker.ceph.com/issues/11052 Fixes: #11052

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #36 from jdurgin/wip-blkin
Sage Weil [Tue, 31 Mar 2015 21:53:12 +0000 (14:53 -0700)]
Merge pull request #36 from jdurgin/wip-blkin

use CEPH_EXTRA_CONFIGURE_ARGS and add a blkin gitbuilder

9 years agoAdd blkin support and a new gitbuilder for it 36/head
Josh Durgin [Wed, 25 Mar 2015 00:00:17 +0000 (17:00 -0700)]
Add blkin support and a new gitbuilder for it

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agobuild: use CEPH_EXTRA_CONFIGURE_ARGS for flags from build-auto.sh
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.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #34 from dachary/wip-ssh-loic
Ken Dreyer [Wed, 18 Mar 2015 19:21:50 +0000 (13:21 -0600)]
Merge pull request #34 from dachary/wip-ssh-loic

add loic ssh key

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoadd loic ssh key 34/head
Loic Dachary [Sat, 7 Mar 2015 01:46:27 +0000 (02:46 +0100)]
add loic ssh key

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #33 from dachary/wip-make-check
Loic Dachary [Sat, 7 Mar 2015 00:57:00 +0000 (01:57 +0100)]
Merge pull request #33 from dachary/wip-make-check

build-ceph.sh always make check

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agobuild-ceph.sh always make check 33/head
Loic Dachary [Sat, 7 Mar 2015 00:45:27 +0000 (01:45 +0100)]
build-ceph.sh always make check

Nowadays it's always possible to make check, no need to test for
src/gtest or something.

http://tracker.ceph.com/issues/10766 Fixes: #10766

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #23 from dachary/wip-ceph-disk
Ken Dreyer [Fri, 6 Mar 2015 18:13:15 +0000 (11:13 -0700)]
Merge pull request #23 from dachary/wip-ceph-disk

fabfile: remove python-flask, add python-requests

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agotry install autobuild-ceph.init and autobuild-ceph.conf 31/head
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.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #30 from dachary/wip-start-rpm
Loic Dachary [Fri, 6 Mar 2015 10:37:42 +0000 (11:37 +0100)]
Merge pull request #30 from dachary/wip-start-rpm

setsid ./loop.sh to not be killed when sudo exits

9 years agodo not start autobuilder-ceph twice for rpm targets 30/head
Loic Dachary [Fri, 6 Mar 2015 10:34:03 +0000 (11:34 +0100)]
do not start autobuilder-ceph twice for rpm targets

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agosetsid ./loop.sh to not be killed when sudo exits
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.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #29 from dachary/wip-start-rpm
Loic Dachary [Fri, 6 Mar 2015 09:33:14 +0000 (10:33 +0100)]
Merge pull request #29 from dachary/wip-start-rpm

start autobuild-ceph on gitbuilder_ceph_rpm targets

9 years agostart autobuild-ceph on gitbuilder_ceph_rpm targets 29/head
Loic Dachary [Fri, 6 Mar 2015 09:30:03 +0000 (10:30 +0100)]
start autobuild-ceph on gitbuilder_ceph_rpm targets

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #27 from dachary/wip-submodules
Loic Dachary [Thu, 5 Mar 2015 21:37:39 +0000 (22:37 +0100)]
Merge pull request #27 from dachary/wip-submodules

git reset --hard after removing the modules & do not rely on git deinit

9 years agoMerge pull request #26 from dachary/wip-hosts
Loic Dachary [Thu, 5 Mar 2015 21:31:29 +0000 (22:31 +0100)]
Merge pull request #26 from dachary/wip-hosts

update machine names for ceph and rpm targets

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agogit reset --hard after removing the modules 27/head
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.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoRevert "build: use 'git submodule deinit' instead of 'rm -rf'"
Loic Dachary [Thu, 5 Mar 2015 21:17:33 +0000 (22:17 +0100)]
Revert "build: use 'git submodule deinit' instead of 'rm -rf'"

This reverts commit a4323ad08fb909bf216fc3ebe0a25cc67d4c0a6c.

9 years agoreminder about ssh / sudo requirements 26/head
Loic Dachary [Thu, 5 Mar 2015 21:10:55 +0000 (22:10 +0100)]
reminder about ssh / sudo requirements

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoupdate machine names for ceph and rpm targets
Loic Dachary [Thu, 5 Mar 2015 21:10:13 +0000 (22:10 +0100)]
update machine names for ceph and rpm targets

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #25 from ceph/wip-da-fix-submodules
Loic Dachary [Thu, 5 Mar 2015 18:15:08 +0000 (19:15 +0100)]
Merge pull request #25 from ceph/wip-da-fix-submodules

build: use 'git submodule deinit' instead of 'rm -rf'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agobuild: use 'git submodule deinit' instead of 'rm -rf' wip-da-fix-submodules 25/head
Danny Al-Gaaf [Thu, 5 Mar 2015 16:24:29 +0000 (17:24 +0100)]
build: use 'git submodule deinit' instead of 'rm -rf'

Fix submodule handling: deinit submodules instead of
removing them and call update with --recursive, needed
to checkout gtest within gmock.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
9 years agoMerge pull request #24 from dachary/wip-gmock
Loic Dachary [Thu, 5 Mar 2015 13:55:51 +0000 (14:55 +0100)]
Merge pull request #24 from dachary/wip-gmock

add gmock to the list of directories to remove

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
9 years agoadd gmock to the list of directories to remove 24/head
Loic Dachary [Thu, 5 Mar 2015 13:05:45 +0000 (14:05 +0100)]
add gmock to the list of directories to remove

Because gmock is transitioning to a submodule instead of being inlined.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agofabfile: remove python-flask, add python-requests 23/head
Loic Dachary [Wed, 11 Feb 2015 22:38:20 +0000 (23:38 +0100)]
fabfile: remove python-flask, add python-requests

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge branch 'master' of github.com:ceph/autobuild-ceph
Sandon Van Ness [Tue, 3 Feb 2015 00:03:36 +0000 (16:03 -0800)]
Merge branch 'master' of github.com:ceph/autobuild-ceph

9 years agoFixed kernel version string.
Sandon Van Ness [Fri, 30 Jan 2015 21:47:56 +0000 (13:47 -0800)]
Fixed kernel version string.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoMerge pull request #21 from ceph/wip-cryptsetup
Sage Weil [Thu, 29 Jan 2015 15:21:32 +0000 (07:21 -0800)]
Merge pull request #21 from ceph/wip-cryptsetup

fabfile: cryptsetup[-bin] for ceph-disk dmcrypt make check tests

9 years agofabfile: cryptsetup[-bin] for ceph-disk dmcrypt make check tests 21/head
Sage Weil [Thu, 29 Jan 2015 14:13:53 +0000 (06:13 -0800)]
fabfile: cryptsetup[-bin] for ceph-disk dmcrypt make check tests

For RPM distros also need hdparm and python-flask.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoBetter detection for what epel to install and new URL.
Sandon Van Ness [Fri, 16 Jan 2015 00:51:20 +0000 (16:51 -0800)]
Better detection for what epel to install and new URL.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoAdd new packages required.
Sandon Van Ness [Fri, 16 Jan 2015 00:51:05 +0000 (16:51 -0800)]
Add new packages required.

New packages that were missing from the fabfile. Formatting fixes on others
and also some changes to user creation

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoMerge pull request #19 from dachary/wip-xmlstarlet
SandonV [Mon, 15 Dec 2014 21:47:29 +0000 (13:47 -0800)]
Merge pull request #19 from dachary/wip-xmlstarlet

Looks good.

9 years agomake check will need xmlstarlet 19/head
Loic Dachary [Sun, 30 Nov 2014 13:49:36 +0000 (14:49 +0100)]
make check will need xmlstarlet

It is an XML command line parser.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoUse uname string for /version file on rpm kernel gitbuilders.
Sandon Van Ness [Mon, 13 Oct 2014 17:27:50 +0000 (10:27 -0700)]
Use uname string for /version file on rpm kernel gitbuilders.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoMerge pull request #18 from dachary/wip-erasure-code-corpus
Loic Dachary [Tue, 30 Sep 2014 09:47:50 +0000 (11:47 +0200)]
Merge pull request #18 from dachary/wip-erasure-code-corpus

cleanup the ceph-erasure-code-corpus directory

9 years agocleanup the ceph-erasure-code-corpus directory 18/head
Loic Dachary [Tue, 23 Sep 2014 10:23:58 +0000 (12:23 +0200)]
cleanup the ceph-erasure-code-corpus directory

In the same way it is done for the ceph-object-corpus directory.

http://tracker.ceph.com/issues/9420 Refs: #9420

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
9 years agoPush to new doc server.
Sandon Van Ness [Fri, 12 Sep 2014 18:52:20 +0000 (11:52 -0700)]
Push to new doc server.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agokernel-config.basic: CONFIG_DYNAMIC_DEBUG=y
Sage Weil [Thu, 28 Aug 2014 00:40:12 +0000 (17:40 -0700)]
kernel-config.basic: CONFIG_DYNAMIC_DEBUG=y

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agofabfile: update rpm targets
Sage Weil [Wed, 27 Aug 2014 21:05:18 +0000 (14:05 -0700)]
fabfile: update rpm targets

9 years agoMerge branch 'master' of github.com:ceph/autobuild-ceph
Sage Weil [Wed, 27 Aug 2014 21:01:23 +0000 (14:01 -0700)]
Merge branch 'master' of github.com:ceph/autobuild-ceph

9 years agoMerge pull request #17 from ceph/wip-rpm-subdir
Sage Weil [Wed, 27 Aug 2014 20:22:21 +0000 (13:22 -0700)]
Merge pull request #17 from ceph/wip-rpm-subdir

build-ceph-rpm.sh: copy "*.patch" from rpm/ instead of ./

9 years agobuild-ceph-rpm.sh: copy "*.patch" from rpm/ instead of ./ 17/head
Dan Mick [Wed, 27 Aug 2014 19:52:17 +0000 (12:52 -0700)]
build-ceph-rpm.sh: copy "*.patch" from rpm/ instead of ./

Signed-off-by: Dan Mick <dan.mick@inktank.com>
9 years agoMerge pull request #15 from ceph/wip-rpm-patch
Sage Weil [Thu, 14 Aug 2014 15:37:39 +0000 (08:37 -0700)]
Merge pull request #15 from ceph/wip-rpm-patch

build-ceph-rpm.sh: copy "*.patch" from topdir into SOURCES

9 years agobuild-ceph-rpm.sh: copy "*.patch" from topdir into SOURCES 15/head
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.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
9 years agokernel-config: enable CONFIG_DEBUG_ATOMIC_SLEEP
Ilya Dryomov [Fri, 1 Aug 2014 05:34:24 +0000 (09:34 +0400)]
kernel-config: enable CONFIG_DEBUG_ATOMIC_SLEEP

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
9 years agobuild-ceph.sh: --with-librocksdb-static=maybe
Sage Weil [Thu, 31 Jul 2014 00:07:00 +0000 (17:07 -0700)]
build-ceph.sh: --with-librocksdb-static=maybe

Signed-off-by: Sage Weil <sage@inktank.com>
9 years agofabfile: bz2 build dep
Sage Weil [Wed, 30 Jul 2014 03:48:56 +0000 (20:48 -0700)]
fabfile: bz2 build dep

Signed-off-by: Sage Weil <sage@inktank.com>
9 years agoMerge branch 'master' of github.com:ceph/autobuild-ceph
Sandon Van Ness [Tue, 29 Jul 2014 15:34:15 +0000 (08:34 -0700)]
Merge branch 'master' of github.com:ceph/autobuild-ceph

9 years agoUse auto build script on RPM.
Sandon Van Ness [Tue, 29 Jul 2014 15:32:09 +0000 (08:32 -0700)]
Use auto build script on RPM.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoSnappy dev package missing from deb_builder()
Sandon Van Ness [Tue, 29 Jul 2014 15:31:42 +0000 (08:31 -0700)]
Snappy dev package missing from deb_builder()

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoRhel7 updates.
Sandon Van Ness [Tue, 29 Jul 2014 15:31:05 +0000 (08:31 -0700)]
Rhel7 updates.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agofabfile: update gitbuilder to clean up out~
Sage Weil [Tue, 29 Jul 2014 14:10:59 +0000 (07:10 -0700)]
fabfile: update gitbuilder to clean up out~

Signed-off-by: Sage Weil <sage@inktank.com>
9 years agobuild-*: clean up rocksdb submodule too
Sage Weil [Mon, 28 Jul 2014 21:15:21 +0000 (14:15 -0700)]
build-*: clean up rocksdb submodule too

Signed-off-by: Sage Weil <sage@inktank.com>
9 years agoMerge branch 'master' of github.com:ceph/autobuild-ceph
Sandon Van Ness [Wed, 16 Jul 2014 09:06:01 +0000 (02:06 -0700)]
Merge branch 'master' of github.com:ceph/autobuild-ceph

9 years agofabfile: drop s/--assume-yes --no-install-recommends/-y/ to apt
Sage Weil [Fri, 11 Jul 2014 22:45:50 +0000 (15:45 -0700)]
fabfile: drop s/--assume-yes --no-install-recommends/-y/ to apt

trusty doesn't like those options... and -y does the trick.

Signed-off-by: Sage Weil <sage@inktank.com>
9 years agoGet SHA1 from branches.sh instead of running rev-parse.
Sandon Van Ness [Thu, 10 Jul 2014 22:57:24 +0000 (15:57 -0700)]
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>
9 years agokernel-config: enable CONFIG_LOCKDEP
Ilya Dryomov [Mon, 9 Jun 2014 08:26:39 +0000 (12:26 +0400)]
kernel-config: enable CONFIG_LOCKDEP

Enable CONFIG_LOCKDEP.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
9 years agoFix Path.
Sandon Van Ness [Tue, 10 Jun 2014 18:01:04 +0000 (11:01 -0700)]
Fix Path.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
9 years agoCreate generic symlinks for rpm kernels (like deb) for teuthology.
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>