Files
moby/hack/make
Cory Snider 01958e5137 test/docker-py: skip tests that enable autolock
Enabling autolock makes the swarm node renew its TLS certificate. When
the test's teardown force-leaves the swarm while that renewal is still
writing to /var/lib/docker/swarm/certificates, removing the swarm state
fails with "unlinkat /var/lib/docker/swarm/certificates: directory not
empty". The encrypted state stays on disk, so the next test's swarm
init fails with "Swarm is encrypted and needs to be unlocked", and
docker-py's force_leave_swarm helper hides the failed leave. On this
branch the victim is test_init_swarm_with_ca_config, which runs right
after test_init_swarm_with_autolock_managers.

Skip the two tests that enable autolock until the race is fixed.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-10-26 21:42:43 -04:00
..
2021-06-01 23:48:32 +00:00
2020-03-03 12:27:49 +09:00
2021-06-01 22:14:06 +00:00
2023-01-05 13:21:28 +01:00
2021-06-01 22:14:06 +00:00
2021-06-01 23:48:32 +00:00
2017-07-17 11:39:33 -04:00
2020-03-03 12:27:49 +09:00
2023-05-29 11:03:48 +02: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