Commit Graph
413 Commits
Author SHA1 Message Date
Bassam Tabbara e55fd55e7d build: rework release scripts and jenkinsfile
inital commit to convert release scripts to makefiles for improved maintenance.

now publishing to docker hub including manifest list support.

initial attempt at reworking the jenkinsfile to pipeline syntax.
2017-06-29 15:20:27 -07:00
Bassam Tabbara 6188a9bf41 switch quay.io/rook with rook 2017-06-28 22:21:05 -07:00
Bassam Tabbara bc02e76f2d rename rookd to rook 2017-06-28 22:21:05 -07:00
Bassam Tabbara 89d2272a1f build: remove debug binaries
also remove rookd from tarballs
2017-06-22 15:11:42 -07:00
Bassam Tabbara 3bfd06a9f1 build: rework image makefile targets to avoid duplicate runs 2017-06-20 20:57:46 -07:00
Travis Nielsen 307dd6870b client: rename rook to rookctl 2017-06-20 20:57:46 -07:00
Travis Nielsen 725fb37802 build: publish the toolbox container 2017-06-20 20:57:46 -07:00
Bassam Tabbara 358af34868 docs: created INSTALL.md with build instructions 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
Bassam Tabbara 612caef61d build: remove use of patterns in images makefile 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 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 18e34ac3ce build: update README files for build and 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 bdf5887e13 build: fix ccache when running in build container + misc 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
Jared Watts d05d074bb9 Fix gofmt issue and update makefile to print and fail upon gofmt errors instead of updating the files inline. 2017-06-13 22:08:04 -07:00
Bassam Tabbara 651fe935b5 build: publish version file earlier 2017-06-13 14:32:44 -07:00
Bassam Tabbara 817a015c7c build: remove version from release archives 2017-06-12 11:32:38 -07:00
Bassam Tabbara 6736c1df03 build: publish binaries to s3 current
Fix a regression introduced in 32cd0a1 where when publishing from master we were not updating the /current directory in s3.
2017-06-12 11:32:38 -07:00
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