Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Automated migration tests #45

Open
cfconrad opened this issue Dec 7, 2023 · 0 comments
Open

POC: Automated migration tests #45

cfconrad opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
migration Something needs to be changed/implemented in the wicked migration

Comments

@cfconrad
Copy link
Collaborator

cfconrad commented Dec 7, 2023

The idea is to use existing wicked openqa tests and run after each wicked test a "migration-step" which configure NetworkManager through migration and check the result.

image="registry.opensuse.org/home/jcronenberg/migrate-wicked/containers/opensuse/migrate-wicked-container:latest"

podman pull "$image"
podman run -v /etc/sysconfig/network:/etc/sysconfig/network "$image"

zypper in NetworkManager
cp /etc/sysconfig/network/NM-migrated/* /etc/NetworkManager/system-connections/
systemctl reboot
@cfconrad cfconrad self-assigned this Dec 7, 2023
@cfconrad cfconrad added the migration Something needs to be changed/implemented in the wicked migration label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration Something needs to be changed/implemented in the wicked migration
Projects
None yet
Development

No branches or pull requests

1 participant