Commit Graph

69 Commits

Author SHA1 Message Date
Thomas Orozco 5ed5f227e9 Merge pull request #4 from krallin/tini-static-from-tianon
Tini static from @tianon
2015-06-26 22:08:41 +02:00
Thomas Orozco e9546e0e1a Bump version to 0.5.0
+ `tini-static` is back, thanks to @tianon!
2015-06-26 21:43:53 +02:00
Thomas Orozco 3577da19cf Adjust tests to support tini-static
Valgrind does like statically-linked binaries due to false positives
coming from libc, which are ignord only if Valgrind can tell they're in
libc (which isn't the case when using static linking).
2015-06-26 21:43:53 +02:00
Tianon Gravi f2229f937e Bring back tini-static! 🎉
This allows the use of `tini` within even more minimal environments (such as images that are `FROM scratch` with a single application binary `COPY`'d in).
2015-06-26 21:43:53 +02:00
Thomas Orozco 1656d47301 Reuse CMAKE_PROJECT_NAME variable 2015-06-26 21:16:56 +02:00
Thomas Orozco f6f26afc2a Bump version to 0.4.3
+ More packaging changes to facilitate building packages in tini-images
2015-05-05 22:04:50 +02:00
Thomas Orozco f9dd36c1c0 Don't fail build if logging contents fails 2015-05-05 22:02:19 +02:00
Thomas Orozco 73aabc2a40 Bump version to 0.4.2
+ Only packaging changes
2015-05-05 21:24:44 +02:00
Thomas Orozco 363f480520 Merge pull request #2 from krallin/build-debug-rebased
Fix `rpmbuild` stub for Travis
2015-05-05 21:23:35 +02:00
Thomas Orozco 22e58b4c59 Log contents of packages for visual audit 2015-05-05 21:21:39 +02:00
Thomas Orozco 75f674edb1 Use absolute path to load stub rpmbuild
On Travis, Cmake does not run from the same directory as in our local
build environment. We need to ensure that PATH contains absolute paths
so that Cmake can find our stub rpmbuild.
2015-05-05 21:14:56 +02:00
Thomas Orozco 3764a7f224 Bump to 0.4.1
+ Add support for older Cmake to build on Ubuntu Precise (which is what
we have in Travis)
2015-05-04 22:30:10 +02:00
Thomas Orozco 12749881e0 Workaround to ensure compatibility with older CMake
Travis uses Ubuntu Precise, which has CMake 3.8. That version does not
have support for excluding /usr and /usr/bin from the %files% list
(which results in a package that conflicts with the filesystem package
and fails to install).

This commit:

+ Builds on Precise instead of Trusty
+ Adds install tests
2015-05-04 22:24:01 +02:00
Thomas Orozco b7afb24a82 Add notes about autogenerated files 2015-05-04 21:05:21 +02:00
Thomas Orozco 434dd956bd Bump version to 0.4.0
New features:

+ Generate DEB and RPM packages
2015-05-04 21:02:27 +02:00
Thomas Orozco 813c1c52fc Merge pull request #1 from krallin/build-packages
Generate DEB and RPM packages
2015-05-04 21:01:15 +02:00
Thomas Orozco a1d6372ef6 Generate DEB and RPM packages 2015-05-04 20:59:17 +02:00
Thomas Orozco d7727acdca Fix typo in LICENSE 2015-05-04 20:44:32 +02:00
Thomas Orozco a417b59f1a Ensure ${} isn't eaten by CMake 2015-04-05 18:02:52 +02:00
Thomas Orozco 1eb56cc7f9 Add link to tini-images repo 2015-04-04 19:23:44 +02:00
Thomas Orozco 556948c48e Update README for v0.3.4 2015-04-04 19:02:14 +02:00
Thomas Orozco 7567a81585 Bump version to 0.3.4 2015-04-04 18:41:39 +02:00
Thomas Orozco c5a49cf4d6 Specify language in CMakeLists 2015-04-04 17:55:39 +02:00
Thomas Orozco 04c650339e Add install rule in cmake 2015-04-04 16:07:33 +02:00
Thomas Orozco 1c52aee22c Use const in spawn, remove redundant () 2015-04-04 15:47:49 +02:00
Thomas Orozco f3c3b1ec14 Bump to 0.3.3
Only packaging changes
2015-03-15 18:48:17 +01:00
Thomas Orozco cf37f5a7f0 Include travis status image 2015-03-15 18:47:06 +01:00
Thomas Orozco 178f46aa01 Convert to out-of-tree builds 2015-03-15 18:46:13 +01:00
Thomas Orozco 84475c399b Simplify build script
Binaries are now pushed by Travis, we don't need to copy them anymore.
2015-03-15 17:51:51 +01:00
Thomas Orozco 5bba1c35e5 Move code into ./src 2015-03-15 17:50:19 +01:00
Thomas Orozco 6e7cdc63bb Auto-generate README (for version number) 2015-03-15 17:47:15 +01:00
Thomas Orozco e3d2662820 Update README to point to v0.3.2 2015-03-15 17:03:47 +01:00
Thomas Orozco 756818ba29 Bump version to 0.3.2 2015-03-15 17:01:17 +01:00
Thomas Orozco d203049193 Output information / debug to stdout, not stderr 2015-03-15 17:00:53 +01:00
Thomas Orozco 699c3aadf2 Remove the static build for now
The static build doesn't build with clang, and its usefulness is dubious
for the time being considering the only requirement is glibc.
2015-03-15 16:56:12 +01:00
Thomas Orozco 958597f620 Tolerate an older cmake
We don't depend on newer features, and Travis offers 2.8.7
2015-03-15 16:13:57 +01:00
Thomas Orozco ec36a858db Add travis / ci build script 2015-03-15 16:12:45 +01:00
Thomas Orozco 296a29e3da Convert to CMake 2015-03-15 14:21:03 +01:00
Thomas Orozco 3003e55a8c Explain exit code handling in README 2015-03-01 12:10:31 -05:00
Thomas Orozco fb66ef7f6f Fix typo in README 2015-03-01 11:58:49 -05:00
Thomas Orozco 03517ace39 Bump version to 0.3.0 2015-03-01 11:56:37 -05:00
Thomas Orozco 8a2e156182 More code example in the README 2015-03-01 11:54:39 -05:00
Thomas Orozco ffb171edf7 Add a static version as well 2015-03-01 11:46:29 -05:00
Thomas Orozco 5b7d66bfe3 Add a valgind test 2015-03-01 11:03:48 -05:00
Thomas Orozco 3af90f3ba8 Improve test code usability 2015-03-01 11:02:23 -05:00
Thomas Orozco acbb3e4391 Randomize tests a little 2015-03-01 11:01:49 -05:00
Thomas Orozco c666a4f718 Add version in usage, improve usage 2015-02-28 19:42:36 -05:00
Thomas Orozco c35496874c Just copy from the image in ddist
This ensures (with the help of Docker caching) that running
./dtest.sh && ./ddist.sh results in shipping the binary that was
actually tested.
2015-02-28 19:12:23 -05:00
Thomas Orozco 0b3e77da75 Ensure we always build in a clean environment 2015-02-28 19:05:25 -05:00
Thomas Orozco 04119b2869 Refactor build process 2015-02-28 19:04:46 -05:00