Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

mockserver locking, vsock address handling and CI #48

Merged
merged 4 commits into from
Dec 11, 2017

Commits on Dec 7, 2017

  1. mock: add a big lock to protect against data race

    Signed-off-by: Peng Tao <bergwolf@gmail.com>
    bergwolf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    11e4b5c View commit details
    Browse the repository at this point in the history
  2. client: handle URL and gRPC name syntax difference

    URL format is <scheme>://<host>[:port]/<path>, while gRPC name syntax
    is <scheme>://<authority>/<endpoint_name>.
    
    Also if a unempty scheme is not supported by gRPC, gRPC ignores all the
    remaining part of the address and just pass an empty string to the
    dialer.
    
    Therefore we handcraft a self-defined vsock format
    vsock:<cid>:<port> to bypass gRPC parsing and let the vsock dialer parse
    the vsock gRPC address.
    
    Then we provide URL format based address interface to NewAgentClient() callers.
    
    Also add a few address tests to make sure this works.
    
    Signed-off-by: Peng Tao <bergwolf@gmail.com>
    bergwolf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    45fd6da View commit details
    Browse the repository at this point in the history
  3. add travis ci support

    Signed-off-by: Peng Tao <bergwolf@gmail.com>
    bergwolf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    8013e30 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. vendor: Initialize the vendoring with dep tool

    This is the first commit related to the vendoring of all dependencies.
    This will prevent from any breakage in case a dependency would break
    the backward compatibility.
    
    Fixes kata-containers#32
    
    Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
    Sebastien Boeuf authored and bergwolf committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    6694a02 View commit details
    Browse the repository at this point in the history