podman/pkg/specgenutil
Dominique Martinet 90ee7c86a3 podman: remember hooks-dir on restarts
When podman restarts config values within the Engine are lost.
Add --hook-dirs arguments as appropriate to the cleanup command
so that hooks are preserved on restarts due to the on-restart setting

Tests: add a check that prestart/poststop hooks ran every time after 2
restarts.
`wait_for_restart_count` was re-used to wait for restarts and moved to
helpers file.

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Fixes: #17935
2025-05-15 14:23:22 +09:00
..
createparse.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go Fix parsing of paths for unmask 2025-05-09 11:25:30 +00:00
specgenutil_test.go Switch all calls of assert.Nil to assert.NoError 2025-01-15 07:08:27 -05:00
util.go podman: remember hooks-dir on restarts 2025-05-15 14:23:22 +09:00
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go add new artifact mount type 2025-03-12 19:42:14 +01:00
volumes_test.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00