Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

backport: 1.6.3 rel #1525

Merged
merged 6 commits into from
May 2, 2019
Merged

Commits on May 1, 2019

  1. CI: static check for openstack git URL

    Fixes: kata-containers#1483
    
    Use git ls-remote instead of curl for git URL check
    
    Signed-off-by: Xu Wang <[email protected]>
    (cherry picked from commit 0d28f77)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    gnawux authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    a4776b2 View commit details
    Browse the repository at this point in the history
  2. cri-o: tests: use devicemapper on all ubuntu versions

    Do not restrict ubuntu version to run with devicemapper.
    We have now moved most of our jobs to ubuntu 18.04
    and we were not testing with devicemapper.
    With this change, we will test cri-o with devicemapper
    on all ubuntu versions.
    
    Fixes: kata-containers#1493.
    
    Signed-off-by: Salvador Fuentes <[email protected]>
    (cherry picked from commit 77a8cd5)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    chavafg authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    08b7a25 View commit details
    Browse the repository at this point in the history
  3. kata-manager: Check for dependencies earlier

    The `kata-manager` script needs to download `git` repos. But if `git`
    isn't available, it can fall back to using `curl` or `wget`. However, if
    none of these tools are available, it should exit before any changes are
    made to the system.
    
    Note: The script _could_ install one of the tools of course. However,
    all known Linux distro "default installs" provide at least one of these
    tools, so this scenario should only be hit on very minimal systems. In
    that case, install one of the tools the error mentions and re-run
    `kata-manager`.
    
    Fixes kata-containers#1502.
    
    Signed-off-by: James O. D. Hunt <[email protected]>
    (cherry picked from commit cfa9c82)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    jodh-intel authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    44f6e39 View commit details
    Browse the repository at this point in the history
  4. integration/docker: improve memory test

    Consume twice the memory hot added to the container to guarantee
    the `out of memory` error.
    
    fixes kata-containers#1504
    
    Signed-off-by: Julio Montes <[email protected]>
    (cherry picked from commit bb49514)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    Julio Montes authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    46b09ea View commit details
    Browse the repository at this point in the history
  5. CI: Refactor static check vendor test

    Modify the `check_vendor()` function in the static check script. Rather
    than exiting the function as early as possible, change the logic to
    allow follow on future checks to be added.
    
    Signed-off-by: James O. D. Hunt <[email protected]>
    (cherry picked from commit 50f3b03)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    jodh-intel authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    8623198 View commit details
    Browse the repository at this point in the history
  6. CI: Add explicit static check script vendor test

    Update the `check_vendor()` function in the static check script to run
    our current vendoring tool (`dep`) in check mode. This will ensure our
    vendoring does not get silently broken [1].
    
    Fixes kata-containers#1506.
    
    [1] - See for example kata-containers/runtime#1442.
    
    Signed-off-by: James O. D. Hunt <[email protected]>
    (cherry picked from commit 830983f)
    Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
    jodh-intel authored and Ganesh Maharaj Mahalingam committed May 1, 2019
    Configuration menu
    Copy the full SHA
    b9e6d5b View commit details
    Browse the repository at this point in the history