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

conn: add container/podman/docker connection #67

Merged
merged 4 commits into from
Aug 2, 2024

Commits on Jul 4, 2024

  1. plugin: try to connect to only the required host

    Previously, we would try to connect also to hosts that are not required
    by selected test. Those hosts are likely to be offline, therefore
    --mh-lazy-ssh was wrongly required.
    pbrezina committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    34b7c2f View commit details
    Browse the repository at this point in the history
  2. multihost: remove ssh from MultihostRole

    We will add a generic connection API so other methods besides ssh
    can be used. This call is used to login to the host as given user
    and to test the ssh connection. It is test specific and if it is
    needed it should be provided by the test framework built on
    pytest-mh, not by pytest-mh itself.
    pbrezina committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    0d6e127 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. conn: add generic Connection class

    This replaces current SSH connection class with generic interface.
    SSHClient now implements this interface. This allows us to write
    additional connectors like podman or winrm.
    
    This is a big change that breaks backwards compatibility:
    
     * `MultihostHost.ssh: SSHClient`  was replaced by `MultihostHost.conn:Connection`
    pbrezina committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e31f590 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    127e7eb View commit details
    Browse the repository at this point in the history