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

CI: Add explicit static check script vendor test #1508

Merged
merged 2 commits into from
Apr 29, 2019

Commits on Apr 29, 2019

  1. 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]>
    jodh-intel committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    50f3b03 View commit details
    Browse the repository at this point in the history
  2. 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]>
    jodh-intel committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    830983f View commit details
    Browse the repository at this point in the history