• Arnout Vandecappelle's avatar
    .gitlab-ci.yml: simplify (and fix) check-DEVELOPERS · 91a5ec96
    Arnout Vandecappelle authored
    
    
    The check-DEVELOPERS test would always fail, because && will return
    the exit code of the left-hand side if not 0, so it *always* returns
    1.
    
    But in fact, the test can be simplified quite a lot: we can run
    getdeveloper directly, without arguments. That should just print
    'No action specified', but it will also print any syntax errors it
    encountered. So we can just 'grep -v' the expected output away; if
    there is anything more, grep will return 0, but if there is nothing
    more, it will return 1. So we just need to invert the result.
    
    Incidentally, this also fixes the incorrect remaining reference to
    support/scripts.
    Signed-off-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
    91a5ec96
Validating GitLab CI configuration… Learn more
.gitlab-ci.yml 7.53 KB