Commit Graph
26 Commits
Author SHA1 Message Date
Blaine Gardner 60b4a1e4d3 Image make: Move save image step to release builds
The image save step in the image build makefiles takes half or more of
the time of builds, and this step is not necessary for development
builds. Move this functionality to the `build/release/Makefile` so that
images are saved during release builds but not during dev builds. This
will allow developers to iterate more quickly on their builds.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-08-23 09:49:56 -06:00
travisn 27ba0cb3c5 ceph: update to 12.2.7
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-24 15:15:59 -06:00
Blaine Gardner 8b218dfbe7 make: Remove unused IMAGES from image Makefiles
Many of the `rook/images/<image>/` directory Makefiles defined a
variable called `IMAGES`, which was unused and causing some developer
confusion with the feature adding the ability to specify which backend
images to build. Remove these unused instances.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-20 15:49:46 -06:00
Bassam Tabbara 1289bec186 fix arm64 image builds
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-07-13 14:44:10 -07:00
Blaine Gardner 2a872bf1cd images: Use ceph daemon-base as rook base
Instead of adding Ceph packages to Rook's base image, use
ceph-container's base image, which has Ceph packages preinstalled. Rook
now benefits from the testing the ceph-container project does, and the
scope of the Rook project no longer has to maintain builds of base
images containing Ceph packages.

The only ARM builds of ceph-container are CentOS, and as switching to
CentOS was already a thought, that is easily done at the same time as
this change.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-05-23 15:37:31 -06:00
Jared Watts 3a2a2d2021 build: rook/ceph image build
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-18 14:25:39 -07:00
Bassam Tabbara 2b818eefe4 images: use ceph deb packages instead of building from source
Ceph is now installed from deb packages instead of being built from
source. This results in larger images sizes (roughly 60MB increase
compressed) but the maintenance and build burden is reduced. Future
versions of ceph will hopefully optimize for image size.

All support for building native code in containers has been removed,
as it is no longer needed. When we add other backends we will assume
that they can be installed using apt-get too.
2018-01-08 21:06:44 -08:00
Alexander Trost 0e42343e73 Create http-metrics service for mgrs
Enable prometheus module on mgr with pkg/ceph/client.MgrEnableModule()

Added force option to MgrEnableModule()
2018-01-04 08:47:27 +01:00
Alexander Trost 8f2fdb2c32 Add condition for nproc when one CPU is available 2017-12-30 14:07:49 +01:00
Bassam Tabbara a8846a9209 update ceph to 12.2.2 2017-12-01 17:06:18 -08:00
Bassam Tabbara a976a1e93c ceph: pickup 12.2.1 2017-09-28 11:33:28 -07:00
Bassam Tabbara 33b01e4c10 ceph: update to 12.2.0 2017-08-29 12:32:09 -07:00
Travis Nielsen 323f82c80a ceph: update to luminous 12.1.3 2017-08-11 10:23:58 -07:00
Travis Nielsen 6cd8ed0631 mon: generate the initial monmap at startup 2017-08-04 00:04:50 -07:00
Travis Nielsen bd53efba8d ceph: update to luminous 12.1.2 2017-08-02 15:31:01 -07:00
Travis Nielsen d5550d49cd ceph: backported changes to support public_bind_addr
see https://github.com/ceph/ceph/pull/16189 for full details.
2017-08-01 20:43:27 -07:00
Bassam Tabbara a9d4f68a8d build: fix image platform support 2017-07-21 22:18:25 -07:00
Bassam Tabbara 3714f0ad74 ceph: update to 12.1.0 2017-06-27 15:35:49 -07:00
Jared Watts 060148de2c Include sgdisk and crushtool in our containers. Do not restrict RBD image sizes and remove obsolete image/ioctx types. Fix whitespace in rook-cluster.yaml sample manifest 2017-06-20 20:57:46 -07:00
Bassam Tabbara ab59789334 build: fix make release on mac 2017-06-20 20:57:46 -07:00
Jared Watts 423d604438 build: include cls_rbd in rook's dependencies 2017-06-20 20:57:46 -07:00
Bassam Tabbara 96252b9ef3 build: switch rook and rookd to static
removed PIE and simplified the cross build containers as a result.
2017-06-20 20:57:46 -07:00
Bassam Tabbara 688ed6c0f2 build: avoid docker export
docker export can result in changes to the image and is dependent on the docker daemon version. cache the tarball as a file instead.
2017-06-20 20:57:46 -07:00
Bassam Tabbara d52892bd12 add tini as PID 1 for all images 2017-06-20 20:57:46 -07:00
Bassam Tabbara 77ac2c2908 build: add the toolbox to images 2017-06-20 20:57:46 -07:00
Bassam Tabbara 1e68e35c16 build: rename image dirs 2017-06-20 20:57:46 -07:00