moby--moby/hack/make
Brian Goff 618f26ccbc Volume prune: only prune anonymous volumes by default
This adds a new filter argument to the volume prune endpoint "all".
When this is not set, or it is a false-y value, then only anonymous
volumes are considered for pruning.

When `all` is set to a truth-y value, you get the old behavior.

This is an API change, but I think one that is what most people would
want.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-04 20:55:13 +00:00
..
.binary hack: don't generate checksums for individual binaries 2022-07-04 13:23:00 +02:00
.detect-daemon-osarch
.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
.integration-daemon-start
.integration-daemon-stop
.integration-test-helpers ci(test): send coverage to codecov 2022-09-08 12:12:03 +02:00
.mkwinres hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
README.md
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
containerutility
cross hack: remove version from binaries, and remove symlinks 2022-07-02 16:57:51 +02:00
cross-platform-dependent
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
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