From patchwork Fri Jun 30 16:42:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 782926 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wzj5P5Hjtz9sNW for ; Sat, 1 Jul 2017 02:43:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1981E239B5; Fri, 30 Jun 2017 16:43:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EuadIP-kTAJ2; Fri, 30 Jun 2017 16:43:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 918802345D; Fri, 30 Jun 2017 16:43:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 82BB61C1209 for ; Fri, 30 Jun 2017 16:43:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 78E5B88291 for ; Fri, 30 Jun 2017 16:43:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hN6q75oj8N-J for ; Fri, 30 Jun 2017 16:43:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exchange.essensium.com (220.77.144.195.ipv4.evonet.be [195.144.77.220]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B417888259 for ; Fri, 30 Jun 2017 16:43:15 +0000 (UTC) Received: from vandecaa-laptop.bzh.lan (10.3.7.11) by beleexch01.local.ess-mail.com (10.3.7.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Fri, 30 Jun 2017 18:42:55 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: Date: Fri, 30 Jun 2017 18:42:53 +0200 Message-ID: <20170630164253.19859-1-arnout@mind.be> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 X-Originating-IP: [10.3.7.11] X-ClientProxiedBy: beleexch01.local.ess-mail.com (10.3.7.8) To beleexch01.local.ess-mail.com (10.3.7.8) Subject: [Buildroot] [PATCH] .gitlab-ci.yml: add check-DEVELOPERS test X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This verifies that the DEVELOPERS file doesn't contain errors. It just runs parse_developers from getdeveloperlib and errors out if that produces any output. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- .gitlab-ci.yml | 6 ++++++ .gitlab-ci.yml.in | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f2410e862..43e963c51d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,12 @@ check-gitlab-ci.yml: - make .gitlab-ci.yml - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml +check-DEVELOPERS: + script: + - PYTHONPATH=$PWD/support/scripts + python -c 'from getdeveloperlib import parse_developers; parse_developers()' | + grep . && exit 1 + .defconfig: &defconfig # Running the defconfigs for every push is too much, so limit to # explicit triggers through the API. diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index 0f9cbcba33..0b6e634a4b 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -34,6 +34,12 @@ check-gitlab-ci.yml: - make .gitlab-ci.yml - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml +check-DEVELOPERS: + script: + - PYTHONPATH=$PWD/support/scripts + python -c 'from getdeveloperlib import parse_developers; parse_developers()' | + grep . && exit 1 + .defconfig: &defconfig # Running the defconfigs for every push is too much, so limit to # explicit triggers through the API.