Commit Graph
51 Commits
Author SHA1 Message Date
Bassam Tabbara 3b948e0901 build: write version file during build not release 2017-07-24 13:27:16 -07:00
Bassam Tabbara a4f3796406 build: upgrade manifest tool to 0.6 2017-07-22 22:44:30 -07:00
Bassam Tabbara 905cd24864 build: publish output to s3 on each build
including PRs and release builds
2017-07-21 19:25:11 -07:00
Bassam Tabbara 5f63d28da6 build: publish the whole output dir 2017-07-21 19:25:11 -07:00
Bassam Tabbara fcbaebb176 build: add manifest_tool as a dependency 2017-06-29 17:36:22 -07:00
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 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 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
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 ab59789334 build: fix make release on mac 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 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 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 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 945c178295 build: use the correct base container for armh/aarch64 2017-04-26 10:25:39 -07:00
Travis Nielsen 44f66fe50c stop including the rook client with the rook container 2017-04-19 15:57:08 -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 02b6ba11cb build: auto promote master builds 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 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
Bassam Tabbara e24545dad4 build: fix race in release script 2017-03-14 14:31:44 -07:00
Bassam Tabbara 701d03eead build: add dev target for quick builds 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
Travis Nielsen 9bcade40cc remove unnecessary linux packages 2016-10-28 08:19:34 -07: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 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
Bassam Tabbara 10f21a0119 rename castlectl to castle 2016-10-17 17:07:27 -07:00
Bassam Tabbara c1dca04423 Use alpine linux in all containers
We know use alpine linux in containers to bring a few tool
dependencies we need including lsblk and others.

We know generate ACIs from docker containers instead of
creating ACIs with acbuild.
2016-10-14 17:02:38 -07:00
Bassam Tabbara 9ac4a77289 add a vagrant demo file for CoreOS
added a demo vagrant file that starts a bare CoreOS cluster
and runs castle on it.
2016-10-13 17:30:45 -07:00
Bassam Tabbara c89025c913 upload container to quay.io
upload our containers to quay.io where they are automatically
converted to ACIs for use by rkt. Partially addresses #50

remove github-release as it was being flaky.
2016-10-12 21:17:20 -07:00