From nobody Sun Feb 8 18:47:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1692986225; cv=none; d=zohomail.com; s=zohoarc; b=YWXsTbumu4po5SKamnDcfHiGBIo1g9FA3rb1b4+UbEy0EbNNrOTKY60uaoSr6ZaCfctspktwzaWfPBeKtunir5WBr6aFw43oSXG+ZgyB+5w//PwdAoNjHVHOJ5/mvCNXpQnGhuPDF9ZY2fem5B3YoPPNCCHyTX9Quy/QbvX/Fjg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986225; h=Content-Type:Content-Transfer-Encoding:Cc: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=RI/gl+ISBmFzIi+ijIvWKKwR2kKJnA1E5jSlyxLpO9M=; b=D/Jz+JM6HtbJzN/FEjR42YlEfktUZ0dn5aJ5O9gz/nTla/if1QzgRCtWzxBOQugigqpfwv62+zFI6HhIgGi4dv2tvRvSyglizmvi1+EEp+CJHwQJxXgvzn7ly8oXoT8rLruyeriL/nRkC0iZM0c8R/AoMwz0vJLmAUzrLz6AHcI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1692986225251825.5965426893199; Fri, 25 Aug 2023 10:57:05 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-516-0q-PryfGNhiuGARyV7NDtQ-1; Fri, 25 Aug 2023 13:56:16 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AA73B8D40DC; Fri, 25 Aug 2023 17:56:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 864102166B26; Fri, 25 Aug 2023 17:56:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 79E911946A62; Fri, 25 Aug 2023 17:56:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 15FDE19465BD for ; Fri, 25 Aug 2023 17:56:08 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0BF5E4021B9; Fri, 25 Aug 2023 17:56:08 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id 70E7D492C14; Fri, 25 Aug 2023 17:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986224; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=RI/gl+ISBmFzIi+ijIvWKKwR2kKJnA1E5jSlyxLpO9M=; b=aL5/CLlPX1BLgrFK3zzCB1zT4snw1Qf0cx6XNesaQtQ1+nM33mYiZKqMQPaCSTZ5NYYeGp eLEyOmJLE2VW68fEN3VTUff362io5CHtCR5h9m3Cq7+nn2QofXDYnxJbhiUPu5kX0T+oCP RW739JOZVbc9yGBFsaidF+iETofYKOA= X-MC-Unique: 0q-PryfGNhiuGARyV7NDtQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 31/33] ci: helper: Drop original actions Date: Fri, 25 Aug 2023 19:55:39 +0200 Message-ID: <0158bf22ab0593a8d27d4f16823586c1d82fdc8b.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692986226246100007 Content-Type: text/plain; charset="utf-8"; x-default="true" Previous patches added a single 'run' command parametrized with GitLab job specs via '--job' that cover all of these original actions, adding some more in the process. Drop the original actions as we don't need them anymore. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- ci/helper | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/ci/helper b/ci/helper index 7385d3b95c..07e449e59f 100755 --- a/ci/helper +++ b/ci/helper @@ -112,33 +112,6 @@ class Parser: ) subparsers.required =3D True =20 - # build action - buildparser =3D subparsers.add_parser( - "build", - help=3D"run a build in a container", - parents=3D[containerparser, mesonparser], - formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, - ) - buildparser.set_defaults(func=3DApplication._action_build) - - # test action - testparser =3D subparsers.add_parser( - "test", - help=3D"run a build in a container (including tests)", - parents=3D[containerparser, mesonparser], - formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, - ) - testparser.set_defaults(func=3DApplication._action_test) - - # shell action - shellparser =3D subparsers.add_parser( - "shell", - help=3D"start a shell in a container", - parents=3D[containerparser], - formatter_class=3Dargparse.ArgumentDefaultsHelpFormatter, - ) - shellparser.set_defaults(func=3DApplication._action_shell) - jobparser =3D subparsers.add_parser( "run", help=3D"Run a GitLab CI job or 'shell' in a local environment", @@ -296,15 +269,6 @@ class Application: """) print(msg.replace("STALE_DETAILS", stale_details)) =20 - def _action_build(self): - self._make_run(f"ci-build@{self._args.target}") - - def _action_test(self): - self._make_run(f"ci-test@{self._args.target}") - - def _action_shell(self): - self._make_run(f"ci-shell@{self._args.target}") - @required_deps("git") def _action_run(self): self._lcitool_run(self._args.job) --=20 2.41.0