1
0
mirror of https://github.com/ceph/ceph synced 2024-12-29 23:12:27 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Danny Al-Gaaf
f06ffba021 Makefile.am: make sure everything was build before make check
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-10-08 20:19:07 +02:00
Sahid Orentino Ferdjaoui
5bb078f991 Populate ChangeLog when distribute
Generates ChangeLog from git history for a
distributed package.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
2014-06-05 17:33:53 +02:00
Sahid Orentino Ferdjaoui
b22cc850a8 Populate AUTHORS when distribute
Adds a complete list of contributors in a
distributed package.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
2014-06-05 17:33:42 +02:00
Sage Weil
93a61dfca0 Makefile: make install-deps rule
This only works if autoconf is happy, but it's better than nothing.

Fixes: 
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 14:55:54 -07:00
Sage Weil
2f6a62b457 ceph-post-file: fix installation of ssh key files
Fixes: 
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-04 14:39:56 -07:00
Sage Weil
d08e05e463 ceph-post-file: single command to upload a file to cephdrop
Use sftp to upload to a directory that only this user and ceph devs can
access.

Distribute an ssh key to connect to the account.  This will let us revoke
the key in the future if we feel the need.  Also distribute a known_hosts
file so that users have some confidence that they are connecting to the
real ceph drop account and not some third party.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2013-08-16 17:59:11 -07:00
Sage Weil
d8d7113c35 udev: install disk/by-partuuid rules
Wheezy's udev (175-7.2) has broken rules for the /dev/disk/by-partuuid/
symlinks that ceph-disk relies on.  Install parallel rules that work.  On
new udev, this is harmless; old older udev, this will make life better.

Fixes: 
Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-16 18:40:29 -07:00
Gary Lowell
7ad63d23d7 ceph-disk: OSD hotplug fixes for Centos
Two fixes for Centos 6.3 and other systems with udev versions
prior to 172.  The disk peristant name using the GPT UUID does
not exist, so use the by_path persistent name instead for the
journal symlink.

The gpt label fields are not available for use in udev rules. Add
ceph-disk-udev wrapper script that extracts the partition
type guid from the label and calls ceph-disk-activate if it is
a ceph guid type. (Bug )

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-22 22:30:39 -07:00
Sage Weil
5bd85ee5aa udev: trigger ceph-disk-activate directly from udev
There is no need to depend on upstart for this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 22:18:59 -08:00
Gary Lowell
3658157b60 Makefile: Updates to eliminates warnings, add test for boost system lib. 2012-10-15 14:14:34 -07:00
Sage Weil
66553d25f0 Makefile: link gtest statically
The problem:

 - the unittests link against gtest, and gtest is not installed.  that's
   normally fine, but...
 - rbd and rados api unit tests link against gtest, and are installed
   by 'make install'.  they are needed for teuthology runs, etc.
 - if we build gtest as an .la library, we can only control whether *all*
   or *no* .la libraries are linked statically.
 - we want librados to be linked dynamically.

The solution:

 - build gtest as .a instead of a libtool library
 - link it statically, always.

Unit test binaries are bigger now.  Oh well...

Fixes: 
Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-13 11:05:53 -07:00
Tommi Virtanen
e35d9de04d Makefile: include run-cli-tests-maybe-unset-ccache in dist tarball.
Apparently "make distcheck" has been broken for 3 months;
I find that hard to believe, but that's what it looks like.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-23 15:55:01 -07:00
Tommi Virtanen
c16241fd41 rpm: Include ceph.spec in release tarball.
This lets users say "rpmbuild -ta ceph-XXX.tgz".

Closes: 
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-08 12:59:05 -07:00
Sage Weil
6decfa742f Makefile: allow gtest to be linked in statically
Use UNITTEST_STATIC_LDADD instead of UNITTEST_LDADD.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-08-21 17:53:19 -07:00
Colin Patrick McCabe
e442a2c377 Makefile.am: build gtest in debug builds
Formerly, we only built gtest when doing 'make check'. However, the
librados-api tests, which are built in debug mode for the 'all' target,
also use gtest. So build it when needed.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-09 16:02:52 -07:00
Sage Weil
954e09661f qa: do not use automake for workunit makefiles
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:53:33 -07:00
Samuel Just
863ef7c331 debian: add udev rules
Add /lib/udev/rules.d/50-rbd.rules to debian package.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-03-10 16:08:39 -08:00
Colin Patrick McCabe
f1d7af97f3 workunits: add direct_io_test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 10:46:55 -08:00
Tommi Virtanen
95d7d6e2b6 Clean up test virtualenv on "make clean".
Found by "make distcheck".
2011-01-14 16:27:24 -08:00
Tommi Virtanen
a549955ec9 Include the cli tests in a dist tarball.
Found by "make distcheck".
2011-01-14 16:27:24 -08:00
Tommi Virtanen
58f6d09eac Also distribute pre-downloaded tarballs.
Found by "make distcheck".
2011-01-14 16:27:24 -08:00
Tommi Virtanen
5045695cd8 Teach run-cli-tests about build dirs.
An optional argument points can tell it where to put
generated files (in this case, virtualenv). Provide
the argument in Makefile.am.

Options are still passed to cram, so you can say
"./src/test/run-cli-tests -i".
2011-01-14 16:27:16 -08:00
Tommi Virtanen
f599b0b629 run-cli-tests is in srcdir not in build dir.
Found by "make distcheck".
2011-01-14 15:24:47 -08:00
Tommi Virtanen
d8073c8bf7 Include run-cli-tests in release tarball.
Found by "make distcheck".
2011-01-14 15:24:47 -08:00
Tommi Virtanen
1869ffc0c9 Fix confusing comment about gtest automake hookup. 2011-01-13 11:32:16 -08:00
Tommi Virtanen
f4a0c2f879 Add CLI tests for osdmaptool and friends.
Uses a python package "cram" as test runner.
Requires PIP (python-pip.deb) installed on the
build machine, to actually run these tests.

The cram application itself is included as a
tarball that gets installed in a virtualenv
when the tests are run. cram is GPL.
2011-01-11 16:43:46 -08:00
Tommi Virtanen
9b0d577696 Use Google Test framework for unit tests.
Use ``make check`` to run the tests.

The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".

gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/

Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.

Make git ignore files generated by gtest compilation.

Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.

Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-10 15:19:45 -08:00
Sage Weil
26b67ff83b Makefile: drop unnecessary dist-hook for make_version
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
debaa52086 debian: put debian/ in .diff.gz, not release tarball 2010-03-11 09:06:55 -08:00
Sage Weil
62571f2e0f Makefile: include debian/ 2010-02-28 14:39:45 -08:00
Sage Weil
0f42df4685 debian: updated debian build scripts, changelog 2010-02-08 10:27:49 -08:00
Sage Weil
160e00f0f6 man: mkcephfs, cosd man pages 2009-03-10 14:39:54 -07:00
Yehuda Sadeh
c88c4da5d2 ceph_ver: show the git sha1 version in the logs 2009-03-03 15:32:20 -08:00
Sage Weil
a4c752df71 v0.6 2009-01-20 11:52:50 -08:00
Sage Weil
9457aa3bd0 debian: fix debian-doc; include debian dir in dist tarball 2008-10-09 13:34:32 -07:00
Sage Weil
45e088970b no more m4 2008-07-11 13:40:43 -07:00
Sage Weil
3c38bb6bdd getting closer to building swig stuff 2008-03-12 17:26:38 -07:00
Sage Weil
78924fbed2 more automake. make dist seems to work 2008-01-28 12:30:17 -08:00
Sage Weil
307723dea8 more automake fun 2008-01-28 11:39:51 -08:00
Sage Weil
7469f26a33 first pass at autoconf and automake 2008-01-27 20:45:29 -08:00