moby/hack/make
Brian Goff da9289fb54
Improvements to the test runners
1. Use `go list` to get list of integration dirs to build. This means we
   do not need to have a valid `.go` in every subdirectory and also
   filters out other dirs like "bundles" which may have been created.
2. Add option to specify custom flags for integration and
   integration-cli. This is needed so both suites can be run AND set
   custom flags... since the cli suite does not support standard go
   flags.
3. Add options to skip an entire integration suite.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit abece9b562)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-08-19 18:55:57 +02:00
..
.resources-windows Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
.binary Add support for setting GOARM in cross target. 2019-04-17 13:19:14 -07:00
.binary-setup rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
.detect-daemon-osarch Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.ensure-emptyfs Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.go-autogen Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
.go-autogen.ps1 PowerShell: remove aliases, use their real commands instead 2018-12-22 21:34:39 +01:00
.integration-daemon-setup Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.integration-daemon-start make test-integration: use correct dockerd binary 2019-02-18 22:20:49 -08:00
.integration-daemon-stop Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.integration-test-helpers Improvements to the test runners 2019-08-19 18:55:57 +02:00
binary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
binary-daemon rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
build-integration-test-binary hack: remove integration-cli-on-swarm 2019-08-19 18:54:38 +02:00
containerutility Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
cross Add support for setting GOARM in cross target. 2019-04-17 13:19:14 -07:00
cross-platform-dependent Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
dynbinary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
dynbinary-daemon Add osusergo build tar for static binaries 2018-07-19 12:25:46 +03:00
install-binary rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
run Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
test-docker-py docker-py: skip flaky tests 2019-08-19 18:54:53 +02:00
test-integration Improvements to the test runners 2019-08-19 18:55:57 +02:00
test-integration-cli Fixed typo DEREPCATED -> DEPRECATED. 2017-12-29 06:39:09 -05:00
test-integration-flaky Set TIMEOUT according to os/arch. 2019-08-19 18:55:52 +02:00
test-integration-shell Protect images in the integration/ suite 2017-08-09 11:02:57 -04:00

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