From patchwork Thu Oct 24 23:26:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lira, Victor M" X-Patchwork-Id: 13849830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05B2BD10395 for ; Thu, 24 Oct 2024 23:27:40 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.825583.1239851 (Exim 4.92) (envelope-from ) id 1t47Ea-0008Cj-3l; Thu, 24 Oct 2024 23:27:16 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 825583.1239851; Thu, 24 Oct 2024 23:27:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t47EZ-0008Cc-Vh; Thu, 24 Oct 2024 23:27:15 +0000 Received: by outflank-mailman (input) for mailman id 825583; Thu, 24 Oct 2024 23:27:14 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t47EY-0008CW-H8 for xen-devel@lists.xenproject.org; Thu, 24 Oct 2024 23:27:14 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2062f.outbound.protection.outlook.com [2a01:111:f403:2415::62f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 7f5d8c4d-925f-11ef-a0bf-8be0dac302b0; Fri, 25 Oct 2024 01:27:13 +0200 (CEST) Received: from CH5PR02CA0023.namprd02.prod.outlook.com (2603:10b6:610:1ed::24) by MW4PR12MB6684.namprd12.prod.outlook.com (2603:10b6:303:1ee::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.17; Thu, 24 Oct 2024 23:27:08 +0000 Received: from CH1PEPF0000A34B.namprd04.prod.outlook.com (2603:10b6:610:1ed:cafe::fc) by CH5PR02CA0023.outlook.office365.com (2603:10b6:610:1ed::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.18 via Frontend Transport; Thu, 24 Oct 2024 23:27:07 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by CH1PEPF0000A34B.mail.protection.outlook.com (10.167.244.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8093.14 via Frontend Transport; Thu, 24 Oct 2024 23:27:06 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 24 Oct 2024 18:27:06 -0500 Received: from xsjwoods50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 24 Oct 2024 18:27:05 -0500 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7f5d8c4d-925f-11ef-a0bf-8be0dac302b0 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fjQJC1JkY52kppIFxrjVg2RomsEUeJnmPt+arrI75x4zWRAdPLOhyQ3r+vbrFF6UYbqmhYViX43C4VJGNcLnXK5rJFwPnci0ZA6fn62+XfLUSz5lMbpUAv1oaQWnwBYSzV1ISRwHTIcv8/tlIaQ26qL44KwUkfDdgax3VrRXSsFzBRdwTPfV32GzZ2e2lOALx4Ycbo91jdauR22fFu8pyBVo5IVj1v149VHKziQPBM6cFKJx651Fuc/sdfl1tk0uW4nI27D5UZGHw04a+n3omm72U+PQpYUaBpE+CVMYRs+nMaGGnPLKxedrOoTzv+D5uq1RAxNtzIqXj2uwp24m0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6HuKqe4464Z1xh2mUL7kdN2VW0A0xjkcziv4tR7GBCo=; b=P/dmnnLldLzXFQoAm79/s86MNYCKwnkAPn6iSk93zADZAJ0NAbp6O5RXJdlWwjEVjXY+mQEsxE8RhFYLJMk/fQSYKihA/kZsy4CUp9tDGwjWj7Upn+5iyBH4Bq45lO86hwCzt2bDaHbfGbbK17EXtuQ9ErM+68gPhwdRBrT9i2wdVeVnPJrZC9AaSwZ+Xbjvth38dlPEhlrI1boNcmXh5wlUqSfwLOWVUpXmDegTRArbUXFX0+l/Xu0TLncHXc8aK57DTVTJhmhI8b7DsBll3L+H+wxxoG05NfZthumzh7ZJujqs4xJNMUwyWnX1LAzl3d1RAOAJXd3K0V37NWeJtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6HuKqe4464Z1xh2mUL7kdN2VW0A0xjkcziv4tR7GBCo=; b=G2/M5g8JZk8iJUsqiJAeLgB3SwU8A0fFycCMf6VWDdiPaYYNbPoVoMLPlZaQnQTnchRkKI9DIgY0G4SJJW4svapzuFjngr56jyIy88kRHgkEBO0mGVJBiBFi3Nxe8cJYr4GOUomAPWDi9E3lrTA6hYxX1ZsDf9NZ6ljfrnEqEvw= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: To: CC: Victor Lira , Andrew Cooper , =?utf-8?q?Marek_Marczykowski-G?= =?utf-8?q?=C3=B3recki?= , Doug Goldstein , Stefano Stabellini Subject: [TEST_ARTIFACTS PATCH v1 0/1] build: add x86_64 xen artifacts (argo) Date: Thu, 24 Oct 2024 16:26:48 -0700 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: victorm.lira@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000A34B:EE_|MW4PR12MB6684:EE_ X-MS-Office365-Filtering-Correlation-Id: 92ab2637-1728-45a5-07a9-08dcf4836011 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam-Message-Info: JYkkhuFBeQ1w0cNghQ9xqKwO82jUQWEyZNE2tY2a0osw0/XnRXfLZsyYKIhAby7PdMiDSVhz0pq9rwqzr98FdhCMnCHI0OLWVB5evZ51xZ6vD349MWXql5sHHkTAYkY9nWNLaHZfeL1Q5l5h4cKS5I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sPlXkIqkeirYkUtyCTwRcyqlEvTbNpMyppmXODLKFBmhsOXHG8cgzpFvmnoi5e14SXizMnmGeung+JUDYsgZizxV35duMzQmSk5wYZtlXbyOHviA5wm4+EwpPgiLJVFl/nq5KZYYpBaNESEATN1SKCYhd7VEIuNgTGcJY97aYZvFugkiF243wcKjSEd+zajI4hHbSxWIf1oYmGwGQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 23:27:06.8608 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92ab2637-1728-45a5-07a9-08dcf4836011 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000A34B.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6684 From: Victor Lira The current configuration of Xen CI generates test binaries using "export" jobs in every pipeline. This unecessarily uses a large amount of storage and network traffic because artifacts are duplicated over each project and branch that uses this configuration. Instead, use a separate repository to store test binaries, then they can be retrieved using GitLab CI built-in functionality. A test job can pull binaries from another project job using the "needs" syntax. This will pull from the most recent successful job on the specified branch. However, it will not wait for a currently running job to finish and will instead pull from previous jobs. This should not be a problem as we expect to change the binaries only rarely. Victor Lira (1): build: add x86_64 xen artifacts (argo) .gitlab-ci.yml | 50 ++++++++++++++++++++ binaries/.gitignore | 3 ++ images/Makefile | 20 ++++++++ images/alpine/x86_64-build.dockerfile | 31 +++++++++++++ images/alpine/x86_64-rootfs.dockerfile | 4 ++ scripts/x86_64-argo-linux.sh | 63 ++++++++++++++++++++++++++ scripts/x86_64-kernel-linux.sh | 31 +++++++++++++ scripts/x86_64-rootfs-alpine.sh | 58 ++++++++++++++++++++++++ 8 files changed, 260 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 binaries/.gitignore create mode 100644 images/Makefile create mode 100644 images/alpine/x86_64-build.dockerfile create mode 100644 images/alpine/x86_64-rootfs.dockerfile create mode 100755 scripts/x86_64-argo-linux.sh create mode 100755 scripts/x86_64-kernel-linux.sh create mode 100755 scripts/x86_64-rootfs-alpine.sh --- 2.25.1