From patchwork Sat Nov 14 16:58:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1400290 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=aoPeup6A; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CYM3h0V4xz9s0b for ; Sun, 15 Nov 2020 03:58:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 540E7203BD; Sat, 14 Nov 2020 16:58:22 +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 SVphH2NVVD8o; Sat, 14 Nov 2020 16:58:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CF4F7203CA; Sat, 14 Nov 2020 16:58:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 407E41BF403 for ; Sat, 14 Nov 2020 16:58:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3AB43203CA for ; Sat, 14 Nov 2020 16:58:19 +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 bWkmQOdioy5I for ; Sat, 14 Nov 2020 16:58:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by silver.osuosl.org (Postfix) with ESMTPS id C95A5203BD for ; Sat, 14 Nov 2020 16:58:17 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 23so9269255wmg.1 for ; Sat, 14 Nov 2020 08:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=unBpWdxztOgXdhEaSopns/2Qp8/ZCVYuC4xQYJsXFKk=; b=aoPeup6AN8TfxwweYlMHHSNDho2EWmHhz9Eub2Cfj7TSvk7RX6ZkmeC9a2CuJFpwV3 1+bDkkSFzpVQ+SB1b+K+Vhl98gAa3vNEq9ebmhvA40dlUtj3gyqJ0a5oX8KZxPnXhSEa ZYq5DNlC0kprATs7ABLMquXKiD2NlPKG9ohE1b7LTkcOZ+hx1bA2Zx074hYPu5w820ef ylLIrhS1TM7c3C2cUuksebRKs68IwtlfVTi/qXGlSuGPoDqs5wsScGjZoOobA/CKE5hy ButpEY1P+ceNvDCpDBALzUbGd3kOemppV8z8dy+L7kotBytMhouIJx5QrEwntw0ubjsX 0mHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=unBpWdxztOgXdhEaSopns/2Qp8/ZCVYuC4xQYJsXFKk=; b=kyBv0IHk2cjgLlLB7RtK30jnuQKN9mpmm/9wNesbKu2nE3GmNhN89jQsMKzAuN9Oyo 5Hi1REgu9NXy6ga1/1NDL9u4qUM4WoaLB0mMo6uHactK4hImK9YhVVBaHJ3Q3BM6BI40 js5zVK0sOPMv2dU8NElXr6bbrkOQwSmyXj25cU1OrQxGJlpujUsE2M59wSSjOMXQvWM0 u20oN6/Dcq3fSB2wZGDCkiSF0k/KUQLWZr+hNcqOmayhwZTtq5wJvV/9SPThdKX62YW5 A12LLXxgstzy/RM6r86VBdhjUSJ5njfHOlaRDZn4c9Wm8ZUScK0sGj+TDBqDl2bzpTvQ HOLw== X-Gm-Message-State: AOAM533t0knHjyQ9nzqS7rtnB18owkEaMM71zkgyg0F7iknUQJpWPdFN 9gVeBVlHrWPhGdYlMX1yxhwzvLT5pw4= X-Google-Smtp-Source: ABdhPJyjywXCrEcN8dT7fARUrvJWRvfLHn35ovCZjr31hItGQw+/bl1tjRTcg97fz65vN/kXjswmew== X-Received: by 2002:a1c:7303:: with SMTP id d3mr7963401wmb.152.1605373096001; Sat, 14 Nov 2020 08:58:16 -0800 (PST) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id c17sm15734313wro.19.2020.11.14.08.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 08:58:15 -0800 (PST) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 14 Nov 2020 17:58:12 +0100 Message-Id: <20201114165812.1912291-1-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Subject: [Buildroot] [RFC] support/scripts: reduce the number of jobs created when a tag is added X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , "Yann E . MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Currently when a tag is added to the Buildroot git tree, the gitlab-ci create 613 jobs. This trigger the error "pipeline job activity limit exceeded" and created jobs are stuck indefinitely (we need to restart manually a job to execute the pipeline). In order to reduce the number of jobs created, we keep only the runtime tests and the Qemu's defconfigs. Signed-off-by: Romain Naour Cc: Thomas Petazzoni Cc: Yann E. MORIN Cc: Arnout Vandecappelle --- I would like to keep Qemu runtime testing when a tag is added because it test the toolchain provided by default by Buildroot on several architectures. --- support/scripts/generate-gitlab-ci-yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml index 4d979dd819..eaa3b226aa 100755 --- a/support/scripts/generate-gitlab-ci-yml +++ b/support/scripts/generate-gitlab-ci-yml @@ -36,6 +36,9 @@ gen_tests() { ) if [ -n "${CI_COMMIT_TAG}" ]; then + # When a tag is added to the Buildroot git tree, we want + # to run the runtime tests and only testing Qemu defconfigs. + defconfigs=( $(cd configs; LC_ALL=C ls -1 qemu_*_defconfig) ) do_basics=true do_defconfigs=base do_runtime=true