spiegel_podman/pkg/domain/entities
Valentin Rothberg 30df551bde auto-update: simple rollback
Add support for simple rollbacks during `podman auto-update`.  Rollbacks
are enabled by default.  If a systemd unit cannot be restarted after an
update, the previous image will be retagged and the unit will be
restarted a second time.

Add system tests for rollbacks.  Also fix a bug in the restart sequence;
we have to use the channel to actually know whether the restart was
successful or not.

NOTE: To make rollbacks really useful, users must run their containers
with `--sdnotify=container` such that the containers send the ready
message over the (mounted) socket.  This way, restarting the systemd
units during auto update will block until the message has been received
(or a timeout kicked in).

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-08-05 15:20:38 +02:00
..
reports Rework pruning to report reclaimed space 2020-12-30 19:57:35 -06:00
types Fix build with GO111MODULE=off 2021-04-15 14:24:39 -04:00
auto-update.go auto-update: simple rollback 2021-08-05 15:20:38 +02:00
container_ps.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers.go Merge pull request #11003 from pascomnet/f_stats 2021-08-04 09:56:57 +00:00
engine.go turn hidden --trace into a NOP 2021-03-08 09:22:42 +01:00
engine_container.go command: migrate doesn't move process to cgroup 2021-07-27 14:26:23 +02:00
engine_image.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
engine_system.go Adds tunnel routes for system reset. 2020-05-11 17:03:32 -04:00
events.go remote events: support labels 2021-06-04 16:14:09 +02:00
filters.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
generate.go --no-header flag implementation for generate systemd 2021-02-22 14:48:33 +01:00
healthcheck.go podmanv2 enable healthcheck run 2020-03-29 18:48:29 -05:00
images.go Created scp.go image_scp_test.go and podman-image-scp.1.md 2021-07-30 17:19:24 -04:00
manifest.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
network.go network prune filters for http compat and libpod api 2021-03-18 00:01:50 +01:00
play.go add --mac-address to podman play kube 2021-05-04 20:14:13 +02:00
pods.go --infra-name command line argument 2021-07-15 21:27:51 -03:00
secrets.go make DriverOpts name consistent. 2021-06-25 08:33:15 +02:00
set.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
system.go Add CORS support 2021-06-04 16:14:52 +03:00
types.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
volumes.go Remove unused VolumeList* structs 2021-04-29 15:04:42 -04:00