Commit Graph

100 Commits

Author SHA1 Message Date
Andrew Noyes 657c11b00b Add snowflake-ci to docker-compose
This is intended to be used for easy reproduction of failures found by
snowflake's planned CI.
2019-03-08 15:03:56 -08:00
mpilman 668eaeb8ae Packages tested and all seems working 2019-03-07 16:49:29 -08:00
mpilman 51ccdb1c9b Remove pidof hack as it was not stable 2019-03-07 16:49:29 -08:00
mpilman da72306642 several minor bug fixes 2019-03-07 16:49:29 -08:00
mpilman 66cf5438bd Account for rpmsave in keep_config test 2019-03-07 16:49:29 -08:00
mpilman 55f4d78fcf Support generating el6 and el7 rpms 2019-03-07 16:49:29 -08:00
mpilman e8624efb3b several minor improvements 2019-03-07 16:49:29 -08:00
mpilman 2b11a66ff9 Improved package testing
The requirements changed here - so in order to test these
cmake changes properly, we need a framework that does that
2019-03-07 16:49:29 -08:00
mpilman 42e0a89a66 This makes package generation work
Resulting packages are not tested yet
2019-03-07 16:49:29 -08:00
Vishesh Yadav f699f85e30 boost: Update README and Dockerfile to use 1.67 2019-03-05 22:06:12 -08:00
Alex Miller 83629b4d47 Force Make to push $CC into the environment.
This fixes a long standing weird issue of doing non-docker builds of FDB
can hit problems of $CC not being defined in link-wrapper.sh.  It turns
out that this is because the official docker image defines CC in the
environment, and no one else does that.

Instead, we can just force Make to propagate its setting of CC into the
environment, thus requiring no extra configuration to be able to do a
build.
2019-02-28 14:50:22 -08:00
mpilman d08aad7fc4 Old build system now working on both docker images 2019-02-28 14:24:52 -08:00
mpilman d0c06ec8c0 Make old build system work on build/cmake/Dockerfile 2019-02-28 14:24:52 -08:00
Jingyu Zhou 4f9b2b16b5 Bump docker file version to 0.0.6 2019-02-28 00:25:11 -08:00
Jingyu Zhou 8e13d22315 Add elfutils tool for building RPMs.
Without this tool, RPM compilation complains eu-strip not found:

WARNING: No build ID note found in /opt/foundation/build/_CPack_Packages/Linux/RPM/foundationdb-6.1.0-/clients/usr/bin/fdbcli
/usr/lib/rpm/find-debuginfo.sh: line 104: eu-strip: command not found
2019-02-28 00:25:11 -08:00
Andrew Noyes 0503471ac1 Rename ../src in build/cmake/build.sh
Before this change:
$ sudo --preserve-env docker-compose run build
Starting cmake_common_1 ... done
Num commands 1
Command: build
CMake Error: The source directory "/foundationdb/deep/directory/as/debuginfo/doesnt/work/otherwise/src" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
2019-02-21 14:35:14 -08:00
mpilman a225204965 put code in foundationdb dir in container
Generating the documentation does not work
if the foundationdb code is not in a directory
called `foundationdb`. This is imho a bug.
However, this should be fixed in another PR.

For now I simply renamed the directory in
docker-compose
2019-02-19 11:11:43 -08:00
mpilman 71baffa7d0 Address review 2019-02-19 11:11:43 -08:00
Andrew Noyes 5b3e6f3ba7 Update build/cmake/package_tester/modules/docker.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman 81e482b17e fix invalid assignment 2019-02-19 11:11:43 -08:00
mpilman 4c80b1796a renamed util-fun success to make purpose clearer 2019-02-19 11:11:43 -08:00
mpilman 3350a5ffe5 added documentation for test definitions 2019-02-19 11:11:43 -08:00
Andrew Noyes 2d25e7d08d Update build/cmake/package_tester/modules/arguments.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
Andrew Noyes c9f7f50907 Update build/cmake/package_tester/modules/test_args.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman 983ddaaed8 use fail instead of ugly `?`-assignment 2019-02-19 11:11:43 -08:00
mpilman f47b9fe8e5 delete containers, not images 2019-02-19 11:11:43 -08:00
Andrew Noyes 15eb996280 Add test-fast and test to docker compose and build.sh 2019-02-19 11:11:43 -08:00
mpilman b21d9e1a78 Add multi-threading feature to package test 2019-02-19 11:11:43 -08:00
mpilman e8b6b64f3a Made it possible to implement and run a test suite 2019-02-19 11:11:43 -08:00
mpilman a2e4dc042f Implement automatic package verification 2019-02-19 11:11:43 -08:00
mpilman 0bbbfb6ee3 Address Andrew's review comments 2019-02-15 00:01:42 -08:00
mpilman a0b20ef2c1 Add initscripts dependency to foundationdb-server 2019-02-15 00:01:42 -08:00
mpilman b06aa3b8ea Several bug fixes - debian package working
Did some manual minor testing on the debian package
2019-02-15 00:01:42 -08:00
mpilman a20e58bb4c Added linux-pkgs command to docker-compose file 2019-02-15 00:01:42 -08:00
mpilman 990e084fa2 Debian packages are successfully generated 2019-02-15 00:01:42 -08:00
mpilman ddddda7328 docker-compose can now build rpm
weirdly it still generates a foundationd-unspecified
rpm. However, it is empty and can be ignored for now
2019-02-15 00:01:42 -08:00
mpilman 5f25e5cb32 docker container and docker-compose for cmake
This is still in the testing-phase. However, it should
be mostly functional
2019-02-15 00:01:42 -08:00
Alex Miller 21ce26a681 Merge release-6.0 into master 2019-02-14 14:24:35 -08:00
Alvin Moore c365b030c8 Added support for variable build directory 2019-02-12 17:01:04 -08:00
Alvin Moore c325465dac Added support for a type of correctness service run against the fdbserver binary via docker-compose 2019-02-12 16:22:56 -08:00
John Brownlee 50d1b7b09d
Merge pull request #1134 from AlvinMooreSr/make-bins
Added Binaries Package Target
2019-02-11 14:01:40 -08:00
Alvin Moore c77d75294f Added support for building via cmake when present via docker-compose
Added support for running ctests via docker-compose
2019-02-11 13:02:07 -08:00
Alvin Moore cbc9e651d5 Added support for python3 and cmake 2019-02-08 12:43:10 -08:00
Alvin Moore 6b45ca9a46 Added support for building binaries package 2019-02-08 10:53:46 -08:00
A.J. Beamon 192a48105c
Merge pull request #1124 from apple/release-6.0
Merge Release 6.0 into master
2019-02-07 12:22:40 -08:00
Alvin Moore 842872e3de Added build services within docker compose 2019-02-01 11:31:11 -08:00
Alvin Moore fd35a46888 Incremented the version of the build docker due to the addition of the boost 1.67 directory 2019-01-31 11:10:34 -08:00
Alex Miller 09aa1ce55b Add boost-1.67.0 to the Dockerfile alongside 1.52.0 2019-01-07 17:17:09 -08:00
Markus Pilman dce290909d fdbserver now compiling 2018-12-13 14:13:47 -08:00
Evan Tschannen e45952bc53 Merge branch 'release-6.0'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbclient/BackupContainer.actor.cpp
#	fdbclient/BlobStore.actor.cpp
#	fdbclient/HTTP.actor.cpp
#	tests/BlobStore.txt
#	versions.target
2018-11-13 16:06:39 -08:00