Commit Graph
89 Commits
Author SHA1 Message Date
Travis Nielsen 881889bb31 move the toolbox Dockerfile and yaml 2017-05-05 16:30:59 -07:00
Travis Nielsen 0fdefca5fa rename the rook-client container to rook 2017-05-05 12:25:43 -07:00
Travis Nielsen 224a0bc17b base the client container on alpine 2017-05-05 12:25:37 -07:00
Jared Watts 0eb0a58079 build: write version file during promotion too 2017-05-05 09:17:10 -07:00
aramisjohnson b589b18dbd Test framework and Tests 2017-05-02 10:13:30 -07:00
Bassam Tabbara a333dd8805 build: make container cleanup less noisy 2017-04-28 16:42:26 -07:00
Travis Nielsen 591c49fc02 publish the client and toolbox containers 2017-04-28 10:54:22 -07:00
Travis Nielsen 58015878fe build the toolbox and client containers 2017-04-27 12:54:13 -07:00
Bassam Tabbara 1f9be206a3 build: add documentation for cross building containers 2017-04-26 17:08:59 -07:00
Bassam Tabbara 945c178295 build: use the correct base container for armh/aarch64 2017-04-26 10:25:39 -07:00
David Borman 5ea47e90ea Fix bash error when testing if DOCKER_HOST is set
Change the script "build/run" to use "exit",
not "return".  "return" is only for use within
a function or a sourced script.
2017-04-23 18:43:28 -05:00
Bassam Tabbara 69033fc9a6 build: upgrade to golang 1.8.1 2017-04-21 10:27:50 -07:00
Travis Nielsen 44f66fe50c stop including the rook client with the rook container 2017-04-19 15:57:08 -07:00
Steve Leon 236468119e Added volume provisioner to Rook
- The provisioner is a Kubernetes external volume provisioner
- It calls the Rook API to create and delete volumes on behalf
  of Kubernetes
- It automatically discover Ceph monitor endpoints
- It locates RBD ceph user keys based on the Rook cluster location
- It uses the in-tree RBD volume plugin to do the map/unmap
- Also modify the documentation to reflect the changes on the
  storageclass
2017-04-17 15:20:44 -07:00
Jared Watts 4040ea1998 Fix release scripts to allow draft releases during promotion. Update releasing steps for clarity. 2017-04-05 16:33:39 -07:00
Bassam Tabbara c6c575ed7c build: make promote idempotent 2017-04-05 13:30:24 -07:00
Bassam Tabbara 32cd0a18bd build: fix promote to github 2017-04-05 13:30:24 -07:00
Bassam Tabbara 5f4c26717b build: add release documentation 2017-04-04 17:35:54 -07:00
Bassam Tabbara 02b6ba11cb build: auto promote master builds 2017-04-04 17:02:25 -07:00
Bassam Tabbara 42629f406f build: use a versioned glide binary 2017-04-04 17:02:25 -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 babcc79603 build: cleanup docker images after publish 2017-04-04 17:01:39 -07:00
Bassam Tabbara eeb2656b1f build: fix vendor handling
we now ensure that glide failures stop the build
2017-04-04 17:01:39 -07:00
Bassam Tabbara 192926c96b build: improve golint and glide tool installation 2017-04-04 17:01:39 -07:00
Bassam Tabbara 1179e45334 build: upload build artifacts to S3
we now publish build artifacts to an S3 bucket, by default
its release.rook.io. We no longer push bits to github on
make publish.

Added support for AWS cli in the cross-build container.
2017-04-04 17:01:39 -07:00
Jared Watts e5cca80654 Operator and cephmgr support for specifying storage resources and configuration 2017-04-04 15:32:49 -07:00
Travis Nielsen 7ba9e8e7c2 merge rook-operator binary wtih rookd 2017-03-30 12:45:11 -07:00
Travis Nielsen 7087bbbdb2 based off alpine 3.5 image 2017-03-29 12:15:05 -07:00
Jared Watts fe0b2b5bfd build: release script arg fixes 2017-03-28 14:47:42 -07:00
David Borman 39e979b77e Update README.md for 'container' subdirectory
The README.md file wasn't updated when the
subdirectory "cross-image" was renamed to "container".
2017-03-22 11:06:06 -05:00
Steve Leon 2f0045db2e Adding lint check for syntax and style. 2017-03-16 09:47:49 -07:00
Bassam Tabbara e24545dad4 build: fix race in release script 2017-03-14 14:31:44 -07:00
Bassam Tabbara 223b3852d3 build: fix docker config bind mount 2017-03-07 15:25:12 -08:00
Bassam Tabbara 82b139ec69 build: simplify Jenkinsfile 2017-03-07 15:25:12 -08:00
Bassam Tabbara 701d03eead build: add dev target for quick builds 2017-03-06 14:51:32 -08:00
Bassam Tabbara cc6f40649a build: run go builds in parallel 2017-03-06 14:51:32 -08: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 f65c8ede09 ceph: pickup luminous build 2017-03-06 14:51:32 -08:00
Bassam Tabbara cd79504877 build: update build container to support shared + fixes
the build container now builds the package dependencies in both
static and shared form. This was preventing curl and rocksdb from
finding their dependencies.

dependencies now also build with debug information.

Also added a verbose option to the docker build to help find
build issues.
2017-03-06 14:51:32 -08:00
Bassam Tabbara 9b76cb127b build: update build container to zesty and add zstd package
also enabled verbose logging when building packages. make V=1
will now display build logs while building the container
2017-03-06 14:51:32 -08:00
Jared Watts cf5833add0 build and publish rook-operator container also 2017-02-13 12:46:38 -08:00
Bassam Tabbara 75523ccb17 build: add support debug builds and backtraces
we now build with debug information on linux even for release builds. Debug
information is save in a separate .debug file that can be loaded by gdb.

switched to using the golangs's facilities for cgo backtraces. had to add
C++ demangling to it but its now on par with the default backtrace facility
that ceph had. This approach works with static builds and relies on the
symbol table alone -- no need for rdynamic or DWARF sections in the binary.

Update the build container so that all packages now build with debug, also
fixed zlib package which had a broken link.

Fixes #135
2017-02-09 19:52:27 -08:00
Bassam Tabbara 194949f51e build: remove stale comments 2017-02-09 17:06:02 -08:00
Bassam Tabbara 0db5404fa9 build: fix bin bind mount 2017-02-09 17:06:02 -08:00
Bassam Tabbara d4c5ccf621 build: fix incremental build on linux
the go pkg directory was not bind mounted and resulted
in lots of rebuilds.
2017-01-23 15:04:30 -08:00
David Borman 4d47ab7ede Document submodules in README.md
From a fresh clone of the rook source, you have to
update the git submodules before building rook.

Fix a bad reference to build/clean, it should
be build/reset
2016-12-29 14:43:31 -06:00
Bassam Tabbara eac128f576 build: add submodule check to jenkins runs 2016-12-14 20:12:27 -05:00
Bassam Tabbara e8d1470310 build: build more packages from source
we now build all the required packages for rookd from source. also
reorganized the external project a bit to support this.

Removed STATIC makefile option and replaced with LINKMODE
2016-12-12 17:21:52 -05:00
Bassam Tabbara 8721bc60ff build: add missing copyright headers 2016-12-12 17:21:52 -05:00