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

CI: Add options to static-checks script #471

Commits on Jul 3, 2018

  1. CI: Remove commented out code

    Remove a stray code comment from the static-check script.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    5dbf548 View commit details
    Browse the repository at this point in the history
  2. CI: Replace comments with messages

    Rather than using comments, display a message so the caller can see
    whether some of the tests are running on `master` or their PR branch.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    6aa80ad View commit details
    Browse the repository at this point in the history
  3. CI: Add explicit "skip" for TODO/FIXME check

    The TODO/FIXME checker disabled on [1] needs an explicit skip message
    pointing at an issue URL to ensure we don't forget to re-enable it.
    
    ---
    
    [1] - kata-containers#464
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    4960d78 View commit details
    Browse the repository at this point in the history
  4. CI: Add message when repo auto-detected

    Display a message when the repository is detected automatically.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    74ecd37 View commit details
    Browse the repository at this point in the history
  5. CI: Show error when repo not found

    Rather than just display the usage, display an informational message so
    the user knows they need to specify a repo URL.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    7598099 View commit details
    Browse the repository at this point in the history
  6. CI: Add options to static-checks script

    Add command-line options to all individual test functions in the
    `static-checks.sh` script to be run, rather than all of the tests.
    
    Fixes kata-containers#470.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    503a13b View commit details
    Browse the repository at this point in the history
  7. CI: Improve static-checks usage

    Add more examples to the usage statement for the static-checks script.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    b9e3986 View commit details
    Browse the repository at this point in the history
  8. CI: Add --force to override static-check skip

    Add a new "--force" option to override a skipped test. This is
    currently only useful to force the TODO/FIXME checker to run.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    c9a381d View commit details
    Browse the repository at this point in the history
  9. CI: Add usage note for static-check script

    Explain in the usage statement for the static-checks script that all
    tests will be run by default.
    
    Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
    jodh-intel committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    3d4343b View commit details
    Browse the repository at this point in the history