spiegel_podman/pkg/machine/e2e
Ashley Cui 9abe8c7853 Introduce podman machine os apply
Podman machine os apply takes a takes a OCI image with container native ostree functionality and rebases the machine os on that image.
Currently, this requires the guest os inside the vm to use rpm-ostree.

When specifying an image, any container transport may be specified. If a
container transport is not specified, OS apply will attempt to search
the local containers-storage for the image, and if it is not found, it
will then attempt to use the Docker transport to pull from a remote
registry.

The architecture of OS apply is as follows:
podman machine os apply ssh's into the machine and calls podman machine os
apply. on the secondary call to podman machine os apply, apply
recognizes that it is inside the machine and does image operations, and
finally calls rpm-ostree rebase.

Tests are written but commented out, due to the chicken-and-egg problem.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-02-15 14:48:12 -05:00
..
basic_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
config_basic_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_info_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_init_test.go Remove references to qcow2 2022-12-25 10:49:47 -06:00
config_inspect_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_list_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_os_apply_test.go Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
config_rm_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_set_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_ssh_test.go Fix typos 2023-02-11 18:23:24 +01:00
config_start_test.go Add --quiet and --no-info flags to podman machine start 2022-11-11 16:14:20 -05:00
config_stop_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
config_test.go enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
info_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
init_test.go Fix typos 2023-02-11 18:23:24 +01:00
inspect_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
list_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
machine_test.go Fixes: 15858 (podman system reset --force destroy machine) 2022-10-23 13:01:53 -04:00
os_test.go Introduce podman machine os apply 2023-02-15 14:48:12 -05:00
rm_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
set_test.go Fix typos 2023-02-11 18:23:24 +01:00
ssh_test.go Fix typos 2023-02-11 18:23:24 +01:00
start_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
stop_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00