Thomas Orozco
bfa8e0bf03
Update README to mention child subreaping support
9 years ago
Thomas Orozco
5650d29790
Only mention child subreaping if it's available
...
Tini can be built without child subreaper support. The warning message
shouldn't suggest using it if it's not available
9 years ago
Thomas Orozco
4b3075a11d
Add tests for subreaper-less Tini
...
If we're going to make subreaper support an option, we should ensure
that running without subreaper support also works.
9 years ago
Thomas Orozco
fa1f3602a6
Update README (subreaping)
9 years ago
Thomas Orozco
98e4449b36
Add tests for subreaping (and subreaping failures)
9 years ago
Thomas Orozco
e1b463cdf5
Allow subreaping to be controlled with an env var
...
This allows users to enable subreaping even if they aren't the ones
calling Tini.
9 years ago
Thomas Orozco
1dc66f81eb
Accelerate local builds by caching psutil, prctl
9 years ago
Thomas Orozco
376d186b2e
Set default verbosity level to 1
...
This means warnings always show warnings, which is the right thing to do
considering the 2 warnings we show are actually for important
information.
9 years ago
Thomas Orozco
bcb8a4b870
Allow users to enable sub-reaping
...
This allows users that don't control PID 1 in their container to still
use Tini to reap zombies.
9 years ago
Thomas Orozco
98311caf52
Merge pull request #5 from krallin/tests-in-ci
...
Run some functional tests in ci/run_build.sh
10 years ago
Thomas Orozco
1a863f8366
Run some functional tests in ci/run_build.sh
...
Using the child subreaper mechanism, we can actually run
tests inside the CI environment without depending on Docker.
While this does not replace the existing tests, it allows
at least some functional coverage within CI.
10 years ago
Thomas Orozco
5ed5f227e9
Merge pull request #4 from krallin/tini-static-from-tianon
...
Tini static from @tianon
10 years ago
Thomas Orozco
e9546e0e1a
Bump version to 0.5.0
...
+ `tini-static` is back, thanks to @tianon !
10 years ago
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).
10 years ago
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).
10 years ago
Thomas Orozco
1656d47301
Reuse CMAKE_PROJECT_NAME variable
10 years ago
Thomas Orozco
f6f26afc2a
Bump version to 0.4.3
...
+ More packaging changes to facilitate building packages in tini-images
10 years ago
Thomas Orozco
f9dd36c1c0
Don't fail build if logging contents fails
10 years ago
Thomas Orozco
73aabc2a40
Bump version to 0.4.2
...
+ Only packaging changes
10 years ago
Thomas Orozco
363f480520
Merge pull request #2 from krallin/build-debug-rebased
...
Fix `rpmbuild` stub for Travis
10 years ago
Thomas Orozco
22e58b4c59
Log contents of packages for visual audit
10 years ago
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.
10 years ago
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)
10 years ago
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
10 years ago
Thomas Orozco
b7afb24a82
Add notes about autogenerated files
10 years ago
Thomas Orozco
434dd956bd
Bump version to 0.4.0
...
New features:
+ Generate DEB and RPM packages
10 years ago
Thomas Orozco
813c1c52fc
Merge pull request #1 from krallin/build-packages
...
Generate DEB and RPM packages
10 years ago
Thomas Orozco
a1d6372ef6
Generate DEB and RPM packages
10 years ago
Thomas Orozco
d7727acdca
Fix typo in LICENSE
10 years ago
Thomas Orozco
a417b59f1a
Ensure ${} isn't eaten by CMake
10 years ago
Thomas Orozco
1eb56cc7f9
Add link to tini-images repo
10 years ago
Thomas Orozco
556948c48e
Update README for v0.3.4
10 years ago
Thomas Orozco
7567a81585
Bump version to 0.3.4
10 years ago
Thomas Orozco
c5a49cf4d6
Specify language in CMakeLists
10 years ago
Thomas Orozco
04c650339e
Add install rule in cmake
10 years ago
Thomas Orozco
1c52aee22c
Use const in spawn, remove redundant ()
10 years ago
Thomas Orozco
f3c3b1ec14
Bump to 0.3.3
...
Only packaging changes
10 years ago
Thomas Orozco
cf37f5a7f0
Include travis status image
10 years ago
Thomas Orozco
178f46aa01
Convert to out-of-tree builds
10 years ago
Thomas Orozco
84475c399b
Simplify build script
...
Binaries are now pushed by Travis, we don't need to copy them anymore.
10 years ago
Thomas Orozco
5bba1c35e5
Move code into ./src
10 years ago
Thomas Orozco
6e7cdc63bb
Auto-generate README (for version number)
10 years ago
Thomas Orozco
e3d2662820
Update README to point to v0.3.2
10 years ago
Thomas Orozco
756818ba29
Bump version to 0.3.2
10 years ago
Thomas Orozco
d203049193
Output information / debug to stdout, not stderr
10 years ago
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.
10 years ago
Thomas Orozco
958597f620
Tolerate an older cmake
...
We don't depend on newer features, and Travis offers 2.8.7
10 years ago
Thomas Orozco
ec36a858db
Add travis / ci build script
10 years ago
Thomas Orozco
296a29e3da
Convert to CMake
10 years ago
Thomas Orozco
3003e55a8c
Explain exit code handling in README
10 years ago