1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/make
Akihiro Suda 5bf33adba2 hack: support $DOCKER_ROOTLESS for testing rootless
```
$ DOCKER_EXPERIMENTAL=1 DOCKER_ROOTLESS=1 TEST_SKIP_INTEGRATION_CLI=1 \
 make test-integration
```

test-integration-cli is unsupported currently.
Also, tests that spawn custom daemon (testutil/daemon) are skipped.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-03-10 05:49:45 +09:00
..
.resources-windows Update Windows ico 2020-03-02 12:52:10 +01:00
.binary run shfmt 2020-03-03 12:27:49 +09:00
.binary-setup rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
.detect-daemon-osarch run shfmt 2020-03-03 12:27:49 +09:00
.ensure-emptyfs Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.go-autogen Fix windows cross builds. 2020-01-30 15:43:23 -08:00
.go-autogen.ps1 hack/make: remove autogen resources for Docker CLI 2019-09-11 15:16:07 +02: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 hack: support $DOCKER_ROOTLESS for testing rootless 2020-03-10 05:49:45 +09:00
.integration-daemon-stop run shfmt 2020-03-03 12:27:49 +09:00
.integration-test-helpers hack: support $DOCKER_ROOTLESS for testing rootless 2020-03-10 05:49:45 +09: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 run shfmt 2020-03-03 12:27:49 +09:00
build-integration-test-binary hack: remove integration-cli-on-swarm 2019-06-01 04:45:26 +09:00
containerutility Revert "Fix containerutility compilation on gcc-mingw-w64 8.3" 2020-02-14 23:31:42 +01: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 hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
dynbinary-daemon run shfmt 2020-03-03 12:27:49 +09: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 hack: support $DOCKER_ROOTLESS for testing rootless 2020-03-10 05:49:45 +09:00
test-docker-py run shfmt 2020-03-03 12:27:49 +09:00
test-integration run shfmt 2020-03-03 12:27:49 +09:00
test-integration-cli Fixed typo DEREPCATED -> DEPRECATED. 2017-12-29 06:39:09 -05:00
test-integration-flaky run shfmt 2020-03-03 12:27:49 +09: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