From patchwork Wed Jan 10 14:57:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Hassick X-Patchwork-Id: 549 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BADE743883; Wed, 10 Jan 2024 15:58:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95A1D40269; Wed, 10 Jan 2024 15:58:20 +0100 (CET) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by mails.dpdk.org (Postfix) with ESMTP id 5055B4021E for ; Wed, 10 Jan 2024 15:58:19 +0100 (CET) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6808c3938afso29640476d6.1 for ; Wed, 10 Jan 2024 06:58:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1704898698; x=1705503498; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uFCD3Cao7YkEJ3lDmr1jX4jb0PyFcCnkVvPfvmTcnnM=; b=CIuzkiv2i9QJ/ld9yumzsaBDvCMdj5VMXan+2F+AxQMNMaTL4cEezcHCVagAYutK+b /qSURdmsgo+01MrtQM5xoh1TAg2eowx9xt16SLKNCXmwHZwidtmjWlUrYqd7qteQy2gk nOtegI1p+95lopZP7xyp2925vCpSoHlxsyZyo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704898698; x=1705503498; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uFCD3Cao7YkEJ3lDmr1jX4jb0PyFcCnkVvPfvmTcnnM=; b=QLwg2g6Z8MvjxJyBysR5t9OGeZ3C4O7JfP1cLKudxe40A51dEyKRN7cN608aIaKmR4 Ye6jqqo5fM9/Nh1zyfTN1MP2HMyx0XnbAFE5lvXkvj8Hirk6+C++VSI4P3ItBJZzGYf2 xp3tEIAPHjQyBGI2xNoNYAnHm/2ZmEcrrMACGbDh+opQWK0ZOBKDLLuQs5cSiwNVTOFE OsTd6geGDE4y/l1qM6MDYCWpBoJniP8YAEeGD+oQdlcEjtkrVAphF/Uo0gWqzybX29fV K4rtnIAkmieq6s0lVUOebBEjwf2P7o2ogxw34k3oSwKWmf39ia7LlDwAStfJMi0pRLfz 2+eQ== X-Gm-Message-State: AOJu0Yw5tZ+EpQaaWJyhtq0HB852lchQlph2ndTvynEYE/VzqU6HcGHl MxEU4BG/z0ZodVyDJmreVfD7jB9gwGyClRgxhJ69tMGa4d11K6JqToWZZtdmpTy8u2Mz1lhkLzX oiWHPZmrzgyd8SgKfWQSqJHeAqBjLKrsEP5L+Trk7KlCceNWaHhFYKCsKlEXvfGxoFlL5klEZ X-Google-Smtp-Source: AGHT+IE0+uCcCmawTeYGJppar1q0tq47OShkROERv8SLJvjK0EvLYjNTgbtfhCOaArPXP46eQqpNKQ== X-Received: by 2002:a05:6214:20e6:b0:681:118f:cfd2 with SMTP id 6-20020a05621420e600b00681118fcfd2mr1215685qvk.89.1704898698444; Wed, 10 Jan 2024 06:58:18 -0800 (PST) Received: from pogmachine2.loudonlune.net ([216.212.51.182]) by smtp.gmail.com with ESMTPSA id da7-20020a05621408c700b00680b1a92322sm1755378qvb.77.2024.01.10.06.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 06:58:18 -0800 (PST) From: Adam Hassick To: ci@dpdk.org Cc: aconole@redhat.com, alialnu@nvidia.com, Adam Hassick Subject: [PATCH 0/2] Add a script to create series artifacts Date: Wed, 10 Jan 2024 09:57:13 -0500 Message-ID: <20240110145715.28157-1-ahassick@iol.unh.edu> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org The process of applying patches and bundling the source code into an archive varies across testing labs. Historically, the process for applying patches at the Community Lab was not visible to the broader community and was inextricable from lab infrastructure. The new script introduced in this patch aims to resolve these issues. This script is intended to serve as a reference process for creating series artifacts. A "series artifact" is an archive containing a copy of the DPDK source code with a patch series applied. We perform a test build prior to creating the archive as well. At the Community Lab, these archives are used for all of our tests. At the time of writing, this script is being used in production. The script depends on the "pw_maintainers_cli" and patch parser scripts in the CI repository. It also depends on pygit2 for managing the DPDK repository and pyyaml for parsing the configuration file. This script does not implement handling of the dependency labels. There is an ongoing effort to get this implemented into Patchwork as a feature. --- * Add script to create artifacts * Add example config file Adam Hassick (2): tools: Add script to create artifacts config: Add example config file config/artifacts.yml | 22 ++ tools/create_series_artifact.py | 453 ++++++++++++++++++++++++++++++++ 2 files changed, 475 insertions(+) create mode 100644 config/artifacts.yml create mode 100755 tools/create_series_artifact.py