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
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
.go-autogen.ps1
.install
.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
binary
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
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
README.md
run
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

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