autobuild-ceph.git
8 years agofabfile: move 3 gitbuilders to ovh 62/head
Sage Weil [Wed, 2 Sep 2015 22:01:39 +0000 (18:01 -0400)]
fabfile: move 3 gitbuilders to ovh

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: get epel file from fedora, not internal mirror
Sage Weil [Wed, 2 Sep 2015 22:01:29 +0000 (18:01 -0400)]
fabfile: get epel file from fedora, not internal mirror

for external gitbuidlers benefit

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agouse-mirror.sh: no mirror if /srv/autobuild-ceph/no-mirror exists
Sage Weil [Wed, 2 Sep 2015 20:52:21 +0000 (16:52 -0400)]
use-mirror.sh: no mirror if /srv/autobuild-ceph/no-mirror exists

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: disable c++11 builds on wheezy
Sage Weil [Fri, 28 Aug 2015 20:56:45 +0000 (16:56 -0400)]
fabfile: disable c++11 builds on wheezy

Compiler is too old (experimental c++11 support only)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #57 from ceph/wip-fc22
Sage Weil [Tue, 11 Aug 2015 13:12:04 +0000 (09:12 -0400)]
Merge pull request #57 from ceph/wip-fc22

make fedora 22 builder go

8 years agoMerge pull request #59 from tchaikov/wip-filter
Sage Weil [Tue, 11 Aug 2015 13:11:37 +0000 (09:11 -0400)]
Merge pull request #59 from tchaikov/wip-filter

filter branches on builders not able to compile C++11 code.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agofabfile: create the branches-local file on precise and centos6 hosts 59/head
Kefu Chai [Mon, 10 Aug 2015 15:38:47 +0000 (23:38 +0800)]
fabfile: create the branches-local file on precise and centos6 hosts

* also add a task named `filter_branches` to do this job

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
8 years agobranches-local: filter branches by list in 'filter-branches', if it exists wip-filter 58/head
Sage Weil [Mon, 10 Aug 2015 13:13:24 +0000 (09:13 -0400)]
branches-local: filter branches by list in 'filter-branches', if it exists

If it doesn't exist, behave as before.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add jessie gitbuilder
Sage Weil [Thu, 9 Jul 2015 19:49:20 +0000 (15:49 -0400)]
fabfile: add jessie gitbuilder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuild-kernel-deb: no need to patch config manually
Ilya Dryomov [Sun, 21 Jun 2015 10:42:50 +0000 (13:42 +0300)]
build-kernel-deb: no need to patch config manually

These were necessary when our base config was circa 3.8.  Now, with
base config from 3.19, both CEPH_FSCACHE and CEPH_FS_POSIX_ACL are on
by default.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agobuild-kernel-rpm: create config file in OUTDIR
Ilya Dryomov [Sun, 21 Jun 2015 10:36:00 +0000 (13:36 +0300)]
build-kernel-rpm: create config file in OUTDIR

build-kernel-deb exports .config to spare downloading and unpacking the
entire packgage just to check if some config option is set.  Do this in
build-kernel-rpm as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agosystemctl start+enable 57/head
Sage Weil [Sat, 20 Jun 2015 22:20:38 +0000 (15:20 -0700)]
systemctl start+enable

8 years agofabfile: behave with systemd
Sage Weil [Tue, 16 Jun 2015 16:06:24 +0000 (09:06 -0700)]
fabfile: behave with systemd

systemctl start and enable

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: fix packages for fedora
Sage Weil [Tue, 16 Jun 2015 16:06:11 +0000 (09:06 -0700)]
fabfile: fix packages for fedora

Some of thse are missing (and would get caught by install-deps anyway),
and there was a missing ,

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: drop yum -- arg, it confuses dnf
Sage Weil [Tue, 16 Jun 2015 16:05:38 +0000 (09:05 -0700)]
fabfile: drop yum -- arg, it confuses dnf

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add fedora 22 builder
Sage Weil [Tue, 16 Jun 2015 16:05:25 +0000 (09:05 -0700)]
fabfile: add fedora 22 builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #56 from ceph/wip-kernel-configs
Sage Weil [Sat, 20 Jun 2015 22:19:43 +0000 (15:19 -0700)]
Merge pull request #56 from ceph/wip-kernel-configs

kernel-config: separate deb and rpm configs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agokernel-config: separate deb and rpm configs 56/head
Ilya Dryomov [Fri, 19 Jun 2015 16:33:33 +0000 (19:33 +0300)]
kernel-config: separate deb and rpm configs

Need selinux on centos and rhel while ubuntu uses apparmor.  There
probably are more subtle things like that, so instead of trying to cram
it into one config, use two native configs.  These in particular are
slightly (not nearly enough) stripped 3.19 ubuntu and fedora configs
with some Kernel hacking stuff enabled.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #55 from dachary/wip-automake-check-output
Ken Dreyer [Wed, 10 Jun 2015 21:52:52 +0000 (15:52 -0600)]
Merge pull request #55 from dachary/wip-automake-check-output

the make check output is in test-suite.log

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agothe make check output is in test-suite.log 55/head
Loic Dachary [Wed, 10 Jun 2015 21:23:41 +0000 (23:23 +0200)]
the make check output is in test-suite.log

Searching the .trs files is not compatible with automake-1.11.

See also https://github.com/ceph/ceph/pull/4923 for more context.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #54 from dachary/wip-hammer-timeout
Loic Dachary [Wed, 10 Jun 2015 05:45:17 +0000 (07:45 +0200)]
Merge pull request #54 from dachary/wip-hammer-timeout

make check times out after 1h30 instead of 1h00

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agomake check times out after 1h30 instead of 1h00 54/head
Loic Dachary [Tue, 9 Jun 2015 15:21:05 +0000 (17:21 +0200)]
make check times out after 1h30 instead of 1h00

Because of http://tracker.ceph.com/issues/11931 make check on hammer can
take more than one hour without it being a real problem. So we need to
be more generous with the timeout.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #53 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 13:56:48 +0000 (15:56 +0200)]
Merge pull request #53 from dachary/wip-11929-linger-kill

tarbal: kill -9 ceph-mon / ceph-osd always succeed

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarball: kill -9 ceph-mon / ceph-osd always succeed 53/head
Loic Dachary [Tue, 9 Jun 2015 12:40:38 +0000 (14:40 +0200)]
tarball: kill -9 ceph-mon / ceph-osd always succeed

The error code of kill -9 ceph-{mon,osd} must be ignored otherwise the
build may return on error if it fails to kill the process just because
all has been cleaned up as it should.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #52 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 12:08:04 +0000 (14:08 +0200)]
Merge pull request #52 from dachary/wip-11929-linger-kill

tarbal: kill -9 lingering ceph-mon / ceph-osd

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarbal: kill -9 lingering ceph-mon / ceph-osd 52/head
Loic Dachary [Tue, 9 Jun 2015 08:46:07 +0000 (10:46 +0200)]
tarbal: kill -9 lingering ceph-mon / ceph-osd

be more agressive about killing ceph-mon / ceph-osd as they may be
unresponsive when / if there is a bug.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #51 from dachary/wip-11929-linger-kill
Loic Dachary [Tue, 9 Jun 2015 11:15:42 +0000 (13:15 +0200)]
Merge pull request #51 from dachary/wip-11929-linger-kill

tarbal: kill lingering ceph-mon / ceph-osd

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agotarbal: kill lingering ceph-mon / ceph-osd 51/head
Loic Dachary [Tue, 9 Jun 2015 08:46:07 +0000 (10:46 +0200)]
tarbal: kill lingering ceph-mon / ceph-osd

When a make check fails it is entirely possible that ceph-osd remain,
because they have their own process group. Kill whatever ceph-osd or
ceph-mon are left behind.

We kill ceph-osd / ceph-mon regardless of the success / failure status
of make check because we also want to address the case where a test
pretends to succeed but left daemons behind.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agofabfile: install more needed rpms
Sage Weil [Thu, 4 Jun 2015 22:19:07 +0000 (18:19 -0400)]
fabfile: install more needed rpms

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: centos7 notcmalloc builder
Sage Weil [Thu, 4 Jun 2015 22:18:59 +0000 (18:18 -0400)]
fabfile: centos7 notcmalloc builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #48 from ceph/wip-rpm-major
Sage Weil [Tue, 2 Jun 2015 22:05:54 +0000 (15:05 -0700)]
Merge pull request #48 from ceph/wip-rpm-major

fix rsync-target for rpm systems

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agofabfile: use only major version for rpm systems 48/head
Sage Weil [Tue, 2 Jun 2015 17:05:22 +0000 (10:05 -0700)]
fabfile: use only major version for rpm systems

centos7, not centos7_1_1503 (or whatever).  This was breaking the
rsync-target for gitbuilder-ceph-rpm-centos7-amd64-basic.

Signed-off-by: Sage Weil <sage@inktank.com>
8 years agoMerge pull request #47 from ceph/wip-bootstrap
Dan Mick [Tue, 2 Jun 2015 04:50:06 +0000 (21:50 -0700)]
Merge pull request #47 from ceph/wip-bootstrap

bootstrap: copy from teuthology

..with the removal of --system-site-packages

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agobootstrap: copy from teuthology wip-bootstrap 47/head
Sage Weil [Tue, 2 Jun 2015 04:48:11 +0000 (00:48 -0400)]
bootstrap: copy from teuthology

Drop some dependencies (libevent, mysql) and skip setup.py (which we
don't have).

Drop system-site-packages

Create virtualenv/bin -> bin symlink

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #46 from ceph/wip-cleanup
Dan Mick [Tue, 2 Jun 2015 04:42:43 +0000 (21:42 -0700)]
Merge pull request #46 from ceph/wip-cleanup

fix a million things in fabfile, cleanup, etc.

Reviewed-by: Dan Mick dmick@redhat.com
8 years agofabfile: centos7 gb instead of rhel7 wip-cleanup 46/head
Sage Weil [Mon, 1 Jun 2015 17:34:20 +0000 (10:34 -0700)]
fabfile: centos7 gb instead of rhel7

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: build ceph-ci too for deb and rpm builders
Sage Weil [Mon, 1 Jun 2015 16:28:07 +0000 (09:28 -0700)]
fabfile: build ceph-ci too for deb and rpm builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobootstrap: what's pip -E? use virtualenv/pip in now-standard way
Dan Mick [Tue, 2 Jun 2015 01:26:39 +0000 (18:26 -0700)]
bootstrap:  what's pip -E?  use virtualenv/pip in now-standard way

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agofabfile: drop rhel builders
Sage Weil [Fri, 29 May 2015 17:59:29 +0000 (10:59 -0700)]
fabfile: drop rhel builders

...except for the rhel7 kernel one, since we don't have a centos7 one up
to take its place.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: gitbuidler_kernel_{deb,rpm}
Sage Weil [Fri, 29 May 2015 17:31:47 +0000 (10:31 -0700)]
fabfile: gitbuidler_kernel_{deb,rpm}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill oneiric
Sage Weil [Fri, 29 May 2015 17:29:49 +0000 (10:29 -0700)]
fabfile: kill oneiric

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill ndn and dho cruft
Sage Weil [Fri, 29 May 2015 17:29:30 +0000 (10:29 -0700)]
fabfile: kill ndn and dho cruft

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill apache2 builders
Sage Weil [Fri, 29 May 2015 17:28:38 +0000 (10:28 -0700)]
fabfile: kill apache2 builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: kill kmod builder
Sage Weil [Fri, 29 May 2015 17:27:42 +0000 (10:27 -0700)]
fabfile: kill kmod builder

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: add rpm kernel builders
Sage Weil [Thu, 28 May 2015 23:16:00 +0000 (19:16 -0400)]
fabfile: add rpm kernel builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agofabfile: drop rhel7 builders
Sage Weil [Thu, 28 May 2015 23:14:18 +0000 (19:14 -0400)]
fabfile: drop rhel7 builders

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #42 from ceph/wip-install-deps
Sage Weil [Fri, 29 May 2015 15:21:02 +0000 (08:21 -0700)]
Merge pull request #42 from ceph/wip-install-deps

Use install-deps.sh in build-ceph scripts

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #45 from ceph/wip-build-rpm
Ken Dreyer [Thu, 28 May 2015 18:33:14 +0000 (12:33 -0600)]
Merge pull request #45 from ceph/wip-build-rpm

build-ceph-rpm.sh: fix rpmbuild for ceph-release file

8 years agobuild-ceph-rpm.sh: fix rpmbuild for ceph-release file wip-build-rpm 45/head
Sage Weil [Thu, 28 May 2015 18:31:12 +0000 (14:31 -0400)]
build-ceph-rpm.sh: fix rpmbuild for ceph-release file

We don't want that stray --define arg.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #44 from ceph/wip-el7
Zack Cerza [Wed, 27 May 2015 18:04:53 +0000 (12:04 -0600)]
Merge pull request #44 from ceph/wip-el7

fabfile: set $dist to .el7 on centos 7

8 years agofabfile: set $dist to .el7 on centos 7 44/head
Sage Weil [Wed, 27 May 2015 18:03:11 +0000 (11:03 -0700)]
fabfile: set $dist to .el7 on centos 7

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #43 from dachary/wip-gitbuilder-master
Kefu Chai [Wed, 27 May 2015 10:46:39 +0000 (18:46 +0800)]
Merge pull request #43 from dachary/wip-gitbuilder-master

fabfile: always use gitbuilder master

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agofabfile: always use gitbuilder master 43/head
Loic Dachary [Wed, 27 May 2015 10:37:51 +0000 (12:37 +0200)]
fabfile: always use gitbuilder master

Instead of a hardcoded SHA. If a new version of master at
https://github.com/ceph/gitbuilder/commits/master is available, it needs
to be used because it presumably contains a fix. If there is a need to
update the fabfile to take advantage of that fix, it's like having pull
request review twice on a commit. Once when it is reviewed prior to
being merged in gitbuilder and once when it is reviewed to be used in
the fabfile.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMove the installation to a better place and cond-require it on install-deps.sh execut... 42/head
Boris Ranto [Wed, 20 May 2015 09:53:00 +0000 (11:53 +0200)]
Move the installation to a better place and cond-require it on install-deps.sh executability

8 years agoUse install-deps.sh in build-ceph scripts
Boris Ranto [Wed, 20 May 2015 09:37:56 +0000 (11:37 +0200)]
Use install-deps.sh in build-ceph scripts

9 years agoMerge pull request #40 from ceph/wip-rpm-unpackaged-files
Alfredo Deza [Wed, 15 Apr 2015 12:31:42 +0000 (08:31 -0400)]
Merge pull request #40 from ceph/wip-rpm-unpackaged-files

build-ceph-rpm.sh: terminate on unpackaged files

9 years agobuild-ceph-rpm.sh: terminate on unpackaged files 40/head
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.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agobuild-ceph: display make check errors when stored in .log
Loic Dachary [Fri, 3 Apr 2015 02:36:10 +0000 (04:36 +0200)]
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.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #39 from ceph/wip-tarballs
Loic Dachary [Fri, 3 Apr 2015 15:14:21 +0000 (17:14 +0200)]
Merge pull request #39 from ceph/wip-tarballs

build-ceph: run parallel make check when possible

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agobuild-ceph: run parallel make check when possible wip-tarballs 39/head
Loic Dachary [Fri, 3 Apr 2015 02:36:10 +0000 (04:36 +0200)]
build-ceph: run parallel make check when possible

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.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuild-ceph: disable static and lttng
Loic Dachary [Fri, 3 Apr 2015 12:15:58 +0000 (14:15 +0200)]
build-ceph: disable static and lttng

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #38 from dachary/wip-sphinx
Loic Dachary [Fri, 3 Apr 2015 02:25:32 +0000 (04:25 +0200)]
Merge pull request #38 from dachary/wip-sphinx

rhel 6 needs python-sphinx10 & remove obsolete debian tarbals

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>