From nobody Mon Feb 9 12:09:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1619190463; cv=none; d=zohomail.com; s=zohoarc; b=arfpQqlkbmLbwZ84ftGqdyA3tu1WO4Vbl0pppv9SUlwhH+7Wbb0DNta35FzN9AivY1r6kuSc+ji4J/Sa1v3kaOC1qwUcnJNIC9BSBv0oGiU9DMaLjOw2MtGzjQxyo4JRVObKlpVHnCF9zAg8gfQ3Md9ZLb9F0FWt9WGlLI3LcQ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619190463; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=l1X/R2MaA5ceOpTmupJYikI0DYMYvnenPRYeiPjj2WI=; b=DqddwlDwDzRTwytG4mWmjNxkKOspjPJbo4mk/UYAoE4VYJ5fXO7iAPIf70fDUcqPdnR21X7LbEfF0037GIJZ0B0NI9gDug0Rz5HO5kv0j5U1dNPiaY3IYk1MFevN7xljHOAOp19vtyR3WQsfK+/mn1p/icGwdRnKcH66DEYgo/8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 161919046334097.78522614397934; Fri, 23 Apr 2021 08:07:43 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-495-bai8HT4RPcm-QAG6wVz6lQ-1; Fri, 23 Apr 2021 11:07:37 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E6DB118397B0; Fri, 23 Apr 2021 15:07:30 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B56C910027A5; Fri, 23 Apr 2021 15:07:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7A8321806D1B; Fri, 23 Apr 2021 15:07:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13NF3TDk031767 for ; Fri, 23 Apr 2021 11:03:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id D3CC010027A5; Fri, 23 Apr 2021 15:03:29 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 05A1B10016DB for ; Fri, 23 Apr 2021 15:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619190460; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l1X/R2MaA5ceOpTmupJYikI0DYMYvnenPRYeiPjj2WI=; b=TJIfmitJsbaclQEGFEUoCzX8DN+BAnQklPE+mKa/SEKvY+OnOGuJ4UtqP92qa3vtQclI44 RHEloycshbKfoozRr0KrH2P1LDwaThuDmX5WOJ33lzaYL5a4m3CF4M0ZfJ9yFHjC7kJ/XR InHBWZKf1mncS7Wv+8YCl24nqYzwhac= X-MC-Unique: bai8HT4RPcm-QAG6wVz6lQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 10/11] ci: helper: Enable gitlabparser for container actions Date: Fri, 23 Apr 2021 17:03:07 +0200 Message-Id: <20210423150308.346189-11-abologna@redhat.com> In-Reply-To: <20210423150308.346189-1-abologna@redhat.com> References: <20210423150308.346189-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Unfortunately this doesn't work completely yet, because the underlying Makefile has no notion of the --namespace and --gitlab-uri arguments, but we need the subparser to be enabled so that we can use the corresponding information in _make_run_action() for validation purposes. Once we've reimplemented the Makefile part in Python, then the new arguments will start working as expected. Signed-off-by: Andrea Bolognani --- ci/helper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/helper b/ci/helper index e39934d357..cd3069a89a 100755 --- a/ci/helper +++ b/ci/helper @@ -99,7 +99,7 @@ class Parser: buildparser =3D subparsers.add_parser( "build", help=3D"run a build in a container", - parents=3D[containerparser, mesonparser], + parents=3D[gitlabparser, containerparser, mesonparser], formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, ) buildparser.set_defaults(func=3DApplication._action_build) @@ -108,7 +108,7 @@ class Parser: testparser =3D subparsers.add_parser( "test", help=3D"run a build in a container (including tests)", - parents=3D[containerparser, mesonparser], + parents=3D[gitlabparser, containerparser, mesonparser], formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, ) testparser.set_defaults(func=3DApplication._action_test) @@ -117,7 +117,7 @@ class Parser: shellparser =3D subparsers.add_parser( "shell", help=3D"start a shell in a container", - parents=3D[containerparser], + parents=3D[gitlabparser, containerparser], formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, ) shellparser.set_defaults(func=3DApplication._action_shell) --=20 2.26.3