From patchwork Tue Sep 15 10:29:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1364198 X-Patchwork-Delegate: romain.naour@openwide.fr 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=pM6kXNel; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BrKGr5kpwz9sTM for ; Tue, 15 Sep 2020 20:29:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 04D3885ADF; Tue, 15 Sep 2020 10:29:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GbyA3GZeZb2j; Tue, 15 Sep 2020 10:29:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 238C085FED; Tue, 15 Sep 2020 10:29:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 708871BF275 for ; Tue, 15 Sep 2020 10:29:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6CED787124 for ; Tue, 15 Sep 2020 10:29:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U42ALYqQeAxo for ; Tue, 15 Sep 2020 10:29:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by hemlock.osuosl.org (Postfix) with ESMTPS id EB8278711C for ; Tue, 15 Sep 2020 10:29:34 +0000 (UTC) Received: by mail-wm1-f41.google.com with SMTP id q9so2833484wmj.2 for ; Tue, 15 Sep 2020 03:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=5Dzn/TI8TWE+ajgFPgKXuMW0dv5c8Qe6hl1b/TXmylY=; b=pM6kXNel0qguLfSySObDQ/+D0oQ93u4fueBGPr0ejYWqh85QLhAdC+HtgwWFeq3Fut 0p3zzYi6FdKqlGN9Gv04Kad80N8NxyuEa5glpYrIdKgpjMwg/MOd62+/ej54hwWyfCtq evo3aez/YbA/jvnYHovjv24QlB0ulfJ33o5IvIQmD1zCTzodmDO4u5GgAgF4RSHZ8aBm wU1KL3dklHotKD9XavaFiA4zOUjtzJplLxaECi75/1/UmZpT5u1fHh3HwN7uwP/L/+O1 7p8wDNkXXcRjqxfoOt3Rr98+qCsmRduV+V9ouJmfcstOzoaqqCyaD862C9C8MfGQAl4x 2Hyg== 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; bh=5Dzn/TI8TWE+ajgFPgKXuMW0dv5c8Qe6hl1b/TXmylY=; b=iHfXYn7SUtcgusZ/YJ4ZdwJ7gtE0E4cBBS8doIWWcNQH9wIti00bCXEE0NkhDkR3lq qqMXUY+fOfzsU0HIQQwczfFC84gqlUsaNm/zEGmIF7FAvNxYS+laAk8vIO3sZAu4pQFh 4VSZ9xng60nyfWPhC0JvYgIoV957UJ6xNDjEtRLxUnPZTWJTHSFz87uS176KFmSVGAnl crc6xHCtRSGTZoS0G+77nHUWOROkXBmxN4LTzDFjAKd9ABHnQjWnNbSP1ix/NUROHo4e F6z1DRZEveUCrlhiUQmb1zF3R7jFv//M1rOiQvCrf+wYc6IcFzavgv7avrXC2BEDMLUu dbaA== X-Gm-Message-State: AOAM533pyjzhh0uCwsu7/hfFN8w3zOugyXu6BCAB9r0vLCASGGuwjht0 PY+9mffI2amSrCv7J/WKYAyP4cB2SFqquA== X-Google-Smtp-Source: ABdhPJzu/sG3bNmrfmZXI0MeMezSXo4jTZnbg2s7wDUuB78wmSbb0wwnrYX9Fh/t9+2dr7bNJkkYzQ== X-Received: by 2002:a7b:c848:: with SMTP id c8mr3740979wml.184.1600165769998; Tue, 15 Sep 2020 03:29:29 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id a20sm23227991wmm.40.2020.09.15.03.29.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2020 03:29:29 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Tue, 15 Sep 2020 12:29:27 +0200 Message-Id: <20200915102927.12907-1-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH 1/1] docs/manual: add qemu defconfigs gitlab test 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Buildroot supports testing qemu defconfigs on gitlab since [1]. [1] : commit 0c7935063851accf3db4c9eb2fc4f11c3da0c391. Signed-off-by: Jugurtha BELKALEM --- docs/manual/adding-board-support.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/manual/adding-board-support.txt b/docs/manual/adding-board-support.txt index 33ed709535..e6d609986f 100644 --- a/docs/manual/adding-board-support.txt +++ b/docs/manual/adding-board-support.txt @@ -46,3 +46,21 @@ create a directory +board/+ and a subdirectory +board//+. You can then store your patches and configurations in these directories, and reference them from the main Buildroot configuration. Refer to xref:customize[] for more details. + +=== Adding qemu defconfig gitlab test + +Buildroot provides a test script (support/scripts/boot-qemu-image.py) +to validate all defconfigs under +board/qemu/. Every supported qemu +architecture should append the comment : # qemu_ARCH_defconfig +at the end of its command line entry in board/qemu/ARCH/readme.txt (for +example aarch64-virt includes : drive=hd0 # qemu_aarch64_virt_defconfig). +Once a week, every defconfig is tested under gitlab's pipelines : +* Launches a qemu instance. +* Enters root credentials and checks if login shell is available. +* Powers off the instance. +The job fails if one of above steps returns unsuccessful status code. +to trigger qemu defconfigs test jobs: + +--------------------- + $ git push gitlab HEAD:_defconfig +---------------------