mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-06 00:45:43 +00:00
Setup and execute podman machine testing on bare-metal M1 Macs using a pool of shared and semi-persistent hosts. Automated and manual processes outside this repository are responsible for providing and maintaining all hosts. Ref. https://github.com/containers/automation/tree/main/mac_pw_pool Update the `localmachine` make target to standardize execution across platforms. Update/simplify podman-machine e2e README to reflect current reality. Warning: This CI setup and supporting infrastructure was developed in favor of expediency vs reliability and stability. There are many possible failure-modes (known and unknown) which may lead to undefined test behaviors. Future work may address some of these as they are encountered or discovered. [NO NEW TESTS NEEDED] Signed-off-by: Chris Evich <cevich@redhat.com> |
||
|---|---|---|
| .. | ||
| basic_test.go | ||
| config_basic_test.go | ||
| config_darwin_test.go | ||
| config_info_test.go | ||
| config_init_test.go | ||
| config_inspect_test.go | ||
| config_linux_test.go | ||
| config_list_test.go | ||
| config_os_apply_test.go | ||
| config_rm_test.go | ||
| config_set_test.go | ||
| config_ssh_test.go | ||
| config_start_test.go | ||
| config_stop_test.go | ||
| config_test.go | ||
| config_unix_test.go | ||
| config_windows_test.go | ||
| info_test.go | ||
| init_test.go | ||
| inspect_test.go | ||
| list_test.go | ||
| machine_test.go | ||
| os_test.go | ||
| proxy_test.go | ||
| README.md | ||
| rm_test.go | ||
| set_test.go | ||
| ssh_test.go | ||
| start_test.go | ||
| stop_test.go | ||
Working README for running the machine tests
Note: you must not have any machines defined before running tests
Linux
QEMU
make localmachine
Microsoft Windows
HyperV
- Open a powershell as admin
- $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
./winmake localmachine
Note: To run specific test files, add the test files to the end of the winmake command:
./winmake localmachine "basic_test.go start_test.go"
WSL
- Open a powershell as a regular user
- Build and copy win-sshproxy into bin/
./winmake localmachine
Note: To run specific test files, add the test files to the end of the winmake command:
./winmake localmachine "basic_test.go start_test.go"
MacOS
Apple Hypervisor
make podman-remoteexport CONTAINERS_MACHINE_PROVIDER="applehv"export MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz"make localmachine(AddFOCUS_FILE=basic_test.goto only run basic test)