moby--moby/hack/make
Sebastiaan van Stijn 7ff0f654fb
daemon: add TEST_INTEGRATION_USE_SNAPSHOTTER for CI
This allows us to run CI with the containerd snapshotter enabled, without
patching the daemon.json, or changing how tests set up daemon flags.

A warning log is added during startup, to inform if this variable is set,
as it should only be used for our integration tests.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-17 15:13:53 +02:00
..
.binary hack: don't generate checksums for individual binaries 2022-07-04 13:23:00 +02:00
.detect-daemon-osarch run shfmt 2020-03-03 12:27:49 +09:00
.ensure-emptyfs integration-cli: Correct emptyfs id under c8d 2022-08-16 13:01:48 +02:00
.go-autogen use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
.go-autogen.ps1 use go-winres for windows build and cleanup autogen and winresources 2022-04-14 19:52:36 +02:00
.install Fixup libnetwork lint errors 2021-06-01 23:48:32 +00: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 Disable manifest v2 schema 1 push 2020-07-31 20:13:58 +02:00
.integration-daemon-stop run shfmt 2020-03-03 12:27:49 +09:00
.integration-test-helpers daemon: add TEST_INTEGRATION_USE_SNAPSHOTTER for CI 2022-10-17 15:13:53 +02:00
.mkwinres hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
binary Move proxy build into hack/make 2021-06-01 22:14:06 +00:00
binary-daemon hack: don't generate checksums for individual binaries 2022-07-04 13:23:00 +02:00
binary-proxy hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02: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 hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
cross-platform-dependent Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
dynbinary Move proxy build into hack/make 2021-06-01 22:14:06 +00:00
dynbinary-daemon hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
dynbinary-proxy hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
install-binary hack: stop installing containerd-shim (io.containerd.runtime.v1.linux) 2022-06-05 18:41:44 +09:00
install-proxy Fixup libnetwork lint errors 2021-06-01 23:48:32 +00:00
run Improved readability of the run hack script 2022-05-10 11:57:39 +02:00
test-docker-py Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
test-integration hack: remove error_on_leaked_containerd_shims 2022-06-05 18:41:44 +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

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