From: Arnout Vandecappelle Date: Sat, 1 Jul 2017 18:22:27 +0000 (+0200) Subject: .gitlab-ci.yml: fix it again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29ba13e57cefdf01a8598e409d4efb884fcfde1e;p=buildroot.git .gitlab-ci.yml: fix it again It seems the ! is removed by the yaml parser, so it needs to be quoted. While we're at it, add some explanatory comment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bd983750d..eda8af4997 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,8 +35,11 @@ check-gitlab-ci.yml: - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml check-DEVELOPERS: + # get-developers should print just "No action specified"; if it prints + # anything else, it's a parse error. + # The initial ! is removed by YAML so we need to quote it. script: - - ! utils/get-developers | grep -v 'No action specified' + - "! utils/get-developers | grep -v 'No action specified'" .defconfig: &defconfig # Running the defconfigs for every push is too much, so limit to diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index 0855bffb79..24a1888c1e 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -35,8 +35,11 @@ check-gitlab-ci.yml: - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml check-DEVELOPERS: + # get-developers should print just "No action specified"; if it prints + # anything else, it's a parse error. + # The initial ! is removed by YAML so we need to quote it. script: - - ! utils/get-developers | grep -v 'No action specified' + - "! utils/get-developers | grep -v 'No action specified'" .defconfig: &defconfig # Running the defconfigs for every push is too much, so limit to