Commit Graph
19 Commits
Author SHA1 Message Date
Bassam Tabbara e4b1db9bc9 tests: refactor integration tests
refactor integration tests splitting out the kubernetes
cluster setup to just be in a script and making it the reponsibility
of the host/user/jenkins.

integration tests now run just like unit tests using "go test".
2017-06-29 15:20:28 -07:00
Bassam Tabbara fa7460fc54 build: fix entrypoint for rookd and toolbox 2017-06-20 20:57:46 -07:00
Bassam Tabbara f3ae0a2fa8 build: support for building on mac 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 1e68e35c16 build: rename image dirs 2017-06-20 20:57:46 -07:00
Bassam Tabbara 78c07696b4 build: revisit caching of images
image caching is now simplified and works based on a single timestamp as the image tag.
2017-06-20 20:57:46 -07:00
Bassam Tabbara 6f19798a32 build: use the same build registry when running in container 2017-06-20 20:57:46 -07:00
Bassam Tabbara 1299df7ec7 build: remove externals and update makefiles
remove externals subdir from the codebase and switch to using
the new build containers. also all submodules are now gone.
2017-06-20 20:57:46 -07:00
Bassam Tabbara cbacbe957d build: cleanup working directories and mac build
centralized all working directories at .work in the root of the tree.  also centralize all download directories to .download at the root of the tree.

cleaned up the rsync behavior between host and docker cross build when running on non-linux host.
2017-04-04 17:02:25 -07:00
Bassam Tabbara 59f5815115 build: support for promoting a build
support for build promotion. For example, make promote CHANNEL=alpha VERISON=v0.4.0, will push the v0.4.0 bits to the alpha channel.
2017-04-04 17:02:25 -07:00
Bassam Tabbara 6e84b161fa build: separate externals into their own project
Move external packages including ceph into a separate project under
the externals subdir.
2017-03-06 14:51:32 -08:00
Bassam Tabbara 2b1806aea4 build: build ceph dependencies from source
With this commit we now build some of the packages ceph depends
on directly from source code. We use cmake and externalproject_add
to build the sources using a superbuild project approach. Not all
packages that are compiled into rook are built from source yet, but
enough are there to work around some of the issues we were ran into
with adding RGW to rook.

Specificaly, libcurl is now built from source and removes the
dependency on openldap and other unused protocols. Boost, zlib,
libblkid, and libuuid are now also built from source. More packages
will be added in the future to complete this approach.

The build container is now based on the yakkety release of ubuntu.
2016-11-28 09:10:43 -08:00
Bassam Tabbara 03b82d5744 build: improve speed of rsync on exit
we were starting the container and stopping it twice to rsync two dirs. with this fix only one start/stop happens.
2016-11-18 20:19:40 -08:00
Bassam Tabbara 29f6834592 build: support concurrent runs of build/run
concurrent runs of build/run are now supported. This is mostly
to benefit jenkins scenarios. removed the need to name containers
and also refactored the rsync path.

Fixes #202
2016-11-17 21:43:40 -08:00
Bassam Tabbara fa8980197f build: rsync vendor directory back to host
This works around the issue of bind mounting the vendor directory which does not work with glide. Fixes #93
2016-11-14 21:20:04 -08:00
Bassam Tabbara b3c4f18c89 initial docs and licensing 2016-11-07 17:13:39 -08:00
Bassam Tabbara 7da39894c0 rename castle to rook
switched to using quay.io for all containers -- we are no longer
publishing to hub.docker.com.
2016-10-27 13:42:03 +02:00
Bassam Tabbara 4936587b94 go import fixes 2016-10-26 00:38:39 +02:00
Bassam Tabbara d7c9d41f04 use rsync to speedup build on macOS
we know use rsync to sync sources to the build container
and avoid osxfs which is painfully slow. the macOS/docker
build now is on par with linux builds
2016-10-18 17:55:36 -07:00