Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp329882lqb; Thu, 29 Feb 2024 02:07:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmFRT1hMAPkUyzd4g6F57HAxoMVmTI+ycHTc3p4F+UXpmrPlQnbgKm+pFFq9UPsQyFcmKo4bS9uzqnsTlACKRThIf6lDYZIwZlT0dZ8Q== X-Google-Smtp-Source: AGHT+IH7juBfarJynPOdLNeBjH2zG66bXofMMmbImneoq+lUzGE2lEfnsP6rnJyVAgnXaLiFXpP2 X-Received: by 2002:a05:622a:44a:b0:42c:7728:a3eb with SMTP id o10-20020a05622a044a00b0042c7728a3ebmr1673374qtx.63.1709201250650; Thu, 29 Feb 2024 02:07:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709201250; cv=pass; d=google.com; s=arc-20160816; b=UY09hzZrDU13XpZBoe/EYGpO8vrFjB93xLpOTbiZJj2nFg/SQ+d7xIQFWn3TIlMYid 0S7oUqshxH7tLBfzPBXdJ5wqQYfVRq3DvCWtVaG+KOPecaR8tic5ooNq+tKmUkXLCwnP jWOujTDYsAKFC81rAf4KacuZfJrYnV+AhERtoO9/n3OYnxuj/ZhbnOjwU1Zj3ZcuelsW G8hhd+jSF/WnPRNhK2eL6SD0uWU5TARWtKs53pQoy//POiDcDktWVSlZPSKGJI9ci7eH 3SJX6QYGCIahTI+uFp4CnW1JaHKbk9+z3Loh7SAPn89kyRokfRYHmHdMz0RHH23MdXDr a3kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hD4kgNILd/nc/buzSQyFalWsSR8gDpBgN81sI12G9n4=; fh=gjjd6OylEnf7o15hXki7qUOWGRZxOBqa21iAqB5KACI=; b=XSwTrAsvLVsTeFH+Kky9rWLjzKYXHcN4yNoozQMHVjEyInwNfrhej24dTWMUm/JpiZ KgbcusAV53R4MxqGLMbRppUlt7CDospV4aKFEYJVn3tyGR9Oei8rXP4s7CDALoixI27p sPp1Hu7zU9WPr+GReQ+J9b7u0bfHoOhjG9WwcgU+yQve0jSy9UqzgxOgls6Bfwte/mXe mL5E8M/RQLUKBGhv4Tl10lzEmzVUgANQf9W2bYH+f1AkkUz0EoYQVvEuZ1THJ8BzxqRw NKx+Wkyc6B+88cIZcrGrcGpkr+lGSo0a5Lnh7aIpoSXxmKUna3nPV0DMcV89sVadUMpf 50Vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ViWpHkNz; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-86512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86512-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d25-20020ac85359000000b0042e8b843f76si1024748qto.615.2024.02.29.02.07.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 02:07:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ViWpHkNz; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-86512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86512-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 630D11C2254F for ; Thu, 29 Feb 2024 10:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A4FA657C4; Thu, 29 Feb 2024 10:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ViWpHkNz" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 519EC651A4; Thu, 29 Feb 2024 10:05:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709201107; cv=none; b=XXzwQQ2E4j/rNO4d8JQCd4owjRnLh7Kah56sEZeFobVOSTvaAGkouF8fTTGY3tnHgJwQChh59+L1agfclvD7XRSn6AZOJPoVdBDqQKjuA+ohyaOq49eLGtjt4nhk/YZ0kIpNWjftbzVS0V4WciemvQz2dgFXiBUO1m2QXoEyLmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709201107; c=relaxed/simple; bh=3lGwHxI8UnE8JqcWEhpZmZgiy3H+Qv7T/7shG1gtysA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o+VaKQpf2lddb4n/Ktljytvij17oFgxq3YDvtUcBOgefLpOepGWdXO9VxEti4/dbN4fm5AuS83w2WvnxWyYEl65h8uZsBG3NYKQzIk+tACA82Q12Md44j/8TuoIpvgygGpgCXPoEku1SvxDVYByt8BFGX3mTLVmi4jVt66uVRyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=ViWpHkNz; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1517D2E7; Thu, 29 Feb 2024 11:04:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1709201090; bh=3lGwHxI8UnE8JqcWEhpZmZgiy3H+Qv7T/7shG1gtysA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ViWpHkNz18IU7gDdLPt4zKYPqt2i2i0z6PKTAE5PRvqDrWqFkGYWvgXCXYl0a9hFz g2+YeoFWRkF21qCjEbAulYDEGfHU2kOiY9fWxx6Ue6nFn4CMHmRvu0FYl84NfI4ghP YcCcGm8xarEITCnMTBean4AbPUWFEEnyZA/t7hLs= Date: Thu, 29 Feb 2024 12:05:05 +0200 From: Laurent Pinchart To: Maxime Ripard Cc: Nikolai Kondrashov , Helen Koike , linuxtv-ci@linuxtv.org, dave.pigott@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kselftest@vger.kernel.org, gustavo.padovan@collabora.com, pawiecz@collabora.com, tales.aparecida@gmail.com, workflows@vger.kernel.org, kernelci@lists.linux.dev, skhan@linuxfoundation.org, kunit-dev@googlegroups.com, nfraprado@collabora.com, davidgow@google.com, cocci@inria.fr, Julia.Lawall@inria.fr, laura.nao@collabora.com, ricardo.canuelo@collabora.com, kernel@collabora.com, torvalds@linuxfoundation.org, gregkh@linuxfoundation.org Subject: Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing Message-ID: <20240229100505.GB30889@pendragon.ideasonboard.com> References: <20240228225527.1052240-1-helen.koike@collabora.com> <20240228225527.1052240-2-helen.koike@collabora.com> <20240229-dancing-laughing-groundhog-d85161@houat> <5d7ed81b-37f9-48e9-ab7e-484b74ca886c@gmail.com> <20240229-quizzical-persimmon-honeybee-b5db48@houat> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240229-quizzical-persimmon-honeybee-b5db48@houat> On Thu, Feb 29, 2024 at 10:56:58AM +0100, Maxime Ripard wrote: > Hi! > > On Thu, Feb 29, 2024 at 11:23:22AM +0200, Nikolai Kondrashov wrote: > > Hi everyone, > > > > On 2/29/24 11:02, Maxime Ripard wrote: > > > On Wed, Feb 28, 2024 at 07:55:25PM -0300, Helen Koike wrote: > > > > Which rating would you select? > > > > > > 4.5 :) > > > > > > One thing I'm wondering here is how we're going to cope with the > > > different requirements each user / framework has. > > > > > > Like, Linus probably want to have a different set of CI before merging a > > > PR than (say) linux-next does, or stable, or before doing an actual > > > release. > > > > > > Similarly, DRM probably has a different set of requirements than > > > drm-misc, drm-amd or nouveau. > > > > > > I don't see how the current architecture could accomodate for that. I > > > know that Gitlab allows to store issues template in a separate repo, > > > maybe we could ask them to provide a feature where the actions would be > > > separate from the main repo? That way, any gitlab project could provide > > > its own set of tests, without conflicting with each others (and we could > > > still share them if we wanted to) > > > > > > I know some of use had good relationship with Gitlab, so maybe it would > > > be worth asking? > > > > GitLab already supports getting the CI YAML from other repos. You can change > > that in the repo settings. > > I'm interested but couldn't find it in the doc, do you have a link to > the right section? e.g. https://gitlab.freedesktop.org/camera/libcamera/-/settings/ci_cd Expand "General pipelines", the setting is "CI/CD configuration file". You can specify the path to a file in the local repository, or in a separate repository. See https://gitlab.freedesktop.org/help/ci/pipelines/settings#specify-a-custom-cicd-configuration-file for the syntax. > > However, I think a better approach would be *not* to add the .gitlab-ci.yaml > > file in the root of the source tree, but instead change the very same repo > > setting to point to a particular entry YAML, *inside* the repo (somewhere > > under "ci" directory) instead. > > > > This way all the different subtrees can have completely different setup, but > > some could still use Helen's work and employ the "scenarios" she > > implemented. > > I'm worried that this kind of setup will just create duplicated YAML > that will be developped in complete silos and will become difficult to > maintain. But that's definitely an opinion :) -- Regards, Laurent Pinchart