moby--moby/hack/make
Brian Goff 1a1f5cc37b Pass through GOCACHE to test_env
Otherwise the cache gets written to bundles instead of to the volume
that we setup in the Makefile as expected.

Found this because vscode did not like having these huge objects in
bundles/ (didn't harm anything, just that it noticed and said hey I don't
like that).

This enables cache-reuse when building the test binaries.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-10-27 19:50:03 +00:00
..
.resources-windows
.binary
.detect-daemon-osarch
.ensure-emptyfs
.go-autogen
.go-autogen.ps1
.integration-daemon-setup
.integration-daemon-start Disable manifest v2 schema 1 push 2020-07-31 20:13:58 +02:00
.integration-daemon-stop
.integration-test-helpers Pass through GOCACHE to test_env 2020-10-27 19:50:03 +00:00
README.md
binary
binary-daemon
build-integration-test-binary
containerutility
cross
cross-platform-dependent
dynbinary
dynbinary-daemon
install-binary hack: remove useless constants 2020-06-05 12:48:38 +09:00
run
test-docker-py Update docker-py to 4.3.0 2020-08-13 10:38:32 +02:00
test-integration hack: add more debugging to understand exit codepath 2020-05-27 23:40:11 +00:00
test-integration-cli
test-integration-flaky
test-integration-shell

README.md

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:

./hack/make.sh binary ubuntu

# Or to run all default bundles:
./hack/make.sh

To add a bundle:

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