spiegel_podman/hack
Brent Baude aba2df7517 Add podman machine os upgrade command
Implements automatic OS upgrade functionality for Podman machines that requires no user input beyond running the command. The upgrade logic automatically determines the appropriate upgrade path using a three-way comparison between client version, machine version, and OCI registry:

* When the client version is older than the machine version, no action is taken and an error is returned.
* When the client version matches the machine version, the OCI registry is queried to check for in-band updates by comparing image digests.  This handles minor, patch level, and updates oci image use cases.
* When the client version is newer than the machine version, the machine is upgraded to match the client's major.minor version.
* No manual image selection or version specification required.

The command supports dry-run mode and JSON (only) output format for automation.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-01-16 14:14:06 -06:00
..
perf hack/perf/system-df.sh: add df benchmarks 2023-08-23 14:17:27 +02:00
podman-registry-go Bump Go version to v6 2025-10-23 11:00:15 -04:00
apparmor_tag.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
bats hack/bats: port it to use the new remote support 2025-11-07 19:02:56 +01:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
buildah-vendor-treadmill Buildah treadmill tweaks 2024-11-11 07:04:39 -07:00
check_root.sh Cleanup: fix problems reported by shell lint 2022-09-15 20:10:34 -06:00
fork_exec_snoop.bt Add eBPF snooper that traces the entire fork/exec graph of podman 2023-04-20 11:30:47 +02:00
get_ci_vm.sh Cirrus: Support EC2 instances in hack/get_ci_vm.sh 2022-08-03 14:25:09 -04:00
golangci-lint.sh ci: run golangci-lint on freebsd 2025-04-03 09:24:58 -07:00
install_golangci.sh hack/install_golang.sh: revamp 2025-04-02 19:19:05 -07:00
libsubid_tag.sh Fix libsubid detection 2022-09-23 09:58:39 +01:00
make-and-check-size Don't block builds on podman-testing growing in size 2025-03-31 17:59:29 +02:00
man-page-checker add a podman-compose command 2023-07-24 19:23:04 +02:00
man-page-table-check Man pages: fix broken tables 2023-05-26 06:08:14 -06:00
markdown-preprocess Revert "Rewrite the Quadlet documentation." 2025-09-11 19:00:19 +02:00
markdown-preprocess-review Man pages: refactor common options: cert-dir 2022-08-22 05:52:20 -06:00
markdown-preprocess.t markdown-preprocess: almost complete OO rewrite 2022-10-13 15:56:52 -06:00
podman-commands.sh Add shell completion with cobra 2020-11-12 11:38:31 +01:00
podman-registry CI: use local registry, part 2 of 3: fix tests 2024-07-11 04:39:45 -06:00
podman-socat Use url with scheme and path for the unix address 2023-09-11 07:55:12 +02:00
podman_cleanup_tracer.bt hack/podman_cleanup_tracer.bt: check map before deleting keys 2025-07-09 14:02:11 +02:00
podmansnoop chore(podmansnoop): explain why crun comm is 3 2024-08-09 10:57:59 +02:00
podmanv2-retry Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
sqlite_tag.sh Makefile: use libsqlite3 build when possible 2025-06-10 15:52:11 +02:00
swagger-check Add POST /libpod/quadlets 2025-12-17 14:37:12 +01:00
systemd_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
tree_status.sh hack/tree_status.sh: print diff at the end 2022-10-14 09:39:37 +02:00
xref-docker-options Remove references and checks for --gpus 2024-07-17 12:02:51 -04:00
xref-helpmsgs-manpages Add podman machine os upgrade command 2026-01-16 14:14:06 -06:00
xref-helpmsgs-manpages.t xref-helpmsgs-manpages: cross-check Commands.rst 2024-03-18 09:09:25 -06:00
xref-quadlet-docs Revert "Change the syntax to not depend on jinja2." 2025-09-11 19:00:17 +02:00