1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/project/make
Tianon Gravi ed345fb18e Run tests in stricter environment
Use `env -i` to very explicitly control exactly which environment variables leak into our tests.  This enforces a clean separation of "build environment knobs" versus "test suite knobs".

This also includes a minor tweak to how we handle starting our integration daemon, especially to catch failure to start sooner than failing tests.

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-02-18 23:30:43 -07:00
..
.dockerinit
.ensure-busybox Update emptyfs support to work properly if scratch is already an image 2015-01-20 16:26:04 -07:00
.ensure-emptyfs
.go-compile-test-dir
.integration-daemon-start Run tests in stricter environment 2015-02-18 23:30:43 -07:00
.integration-daemon-stop
.validate Move 'hack' to the less confusing 'project' 2014-11-09 21:50:28 +00:00
binary Fix a few minor issues with building/running inside msysGit 2015-01-09 17:28:40 -07:00
cover
cross
dynbinary Update project/make/dynbinary to unset the static_build tag 2015-02-09 09:30:09 -07:00
README.md
test-docker-py Run tests in stricter environment 2015-02-18 23:30:43 -07:00
test-integration
test-integration-cli Run tests in stricter environment 2015-02-18 23:30:43 -07:00
test-unit Run tests in stricter environment 2015-02-18 23:30:43 -07:00
tgz
ubuntu
validate-dco
validate-gofmt
validate-toml

This directory holds scripts called by make.sh in the parent directory.

Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:

./project/make.sh test
./project/make.sh binary ubuntu

# Or to run all bundles:
./project/make.sh

To add a bundle:

  • Create a shell-compatible file here
  • Add it to $DEFAULT_BUNDLES in make.sh