From nobody Mon Nov 17 16:05:44 2025 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=philmd@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=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604530014; cv=none; d=zohomail.com; s=zohoarc; b=PKCsgsnNYzvCJoC7JhtHtFDLG+/1SKrKJIvuq/CvsE6+BlPxotAC8vrdD/GbbTUE8g2QWNNPbjhvnSialHUn6wbDIDnxkrcNnRdOpZifcTYFp83pSWn+6COVN3KLzu9XhtLViVVjWYYnITpMbSB7I3NCn5tocKaZ4SAFBqN3hss= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604530014; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=11lY/RGidWh4E+Dz/TixgXDK1Sn2olK+Ru2uFDMNMxs=; b=eOIg8JLmQHAHZzYhdKi4frU2kKlJSd/W1FULzD6YnYV4HcZd43FTC217ezTe7GmPYngRBx2DkAM8CorBe739OAc/ZQp83SimcDXexboPQNlkPzEVVnah3Jv8q1bsec7A5ZJGYzK8cPfWpXdUtMUyq5PaVsA945UU6JrsBItExP8= 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=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= 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 1604530014443239.9642214274362; Wed, 4 Nov 2020 14:46:54 -0800 (PST) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-11-jBsRVD3jPmmomCl5iCvbeQ-1; Wed, 04 Nov 2020 17:46:39 -0500 Received: by mail-wr1-f71.google.com with SMTP id t17so12427wrm.13 for ; Wed, 04 Nov 2020 14:46:39 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id t23sm4096810wmn.13.2020.11.04.14.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 14:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604530013; h=from:from: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; bh=11lY/RGidWh4E+Dz/TixgXDK1Sn2olK+Ru2uFDMNMxs=; b=L3miVVeAwJXDhXrw/lefgah3WH2Dsi7C7M+2omlEw3CnNpVAc0vFJpijNEqXXR/3fc9h/Y A/mg+Um6I5yU3HzrzsM8h6Sm6UEcPxlUBDoJhw9RvDKDFx6HLu2VrDUT7vuKCSJDrhQ8d9 6v2GXWCa045ct9d7e9E5FbH4voq5s0w= X-MC-Unique: jBsRVD3jPmmomCl5iCvbeQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=11lY/RGidWh4E+Dz/TixgXDK1Sn2olK+Ru2uFDMNMxs=; b=Vq/olrTxGF46ZW6gkTEtGMYhyB/5A5cCBW/42N7S8Vw6/6a7dZLywhXnECCWBmeAs4 H8oesruvBwFgtnX2WdL7/vsQLb2E83Sxv0sjjCM0xaTdT0ssVKIAQQ5K4ccJlzK0yIJr tjyBamaRvvKU/4/S5OdN/8BTHpLsqgnH0+tHf8EpZVqJDpixw+Z3U1JGvY85ddSG+f4T Ucyx3z9MWHyJcy0tOZAtOVsDUrKLtwDqDKeAEDDfUED2CYCrbWPFs43Q0ALSB5dxghYW xodaRSl7T2lE87JdGqBGvRYVM2DhG60Rrd+K8DGD6vkp9xhNBgSDkZTVr0ErbraKCymd 9yWA== X-Gm-Message-State: AOAM531TciqPYzV/wNVcWzouI7QFZ4xOMrAzB6V6AIyMIoCMvyd9hXhZ VYUQ7Id0c1MooN7Ap9pGu7+u8Y64EmWka5EkthEJrKbzwX1Ba+fk6btMznNSrvN+9bsD7915dbv P339UtXlINWwWLQ== X-Received: by 2002:a7b:c2ef:: with SMTP id e15mr7338025wmk.180.1604529998250; Wed, 04 Nov 2020 14:46:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyODpSqnyI9EbB/njgYOa87vdZh8HgEhdBt8QSAE952wM4G23Scni4+0ZdTCbOIdN0T6yHFQQ== X-Received: by 2002:a7b:c2ef:: with SMTP id e15mr7338008wmk.180.1604529998046; Wed, 04 Nov 2020 14:46:38 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Daniel P . Berrange" , John Snow , Cornelia Huck , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Thomas Huth , Peter Maydell Subject: [RFC PATCH 7/9] gitlab-ci: Extract common job definition as 'native_common_job' Date: Wed, 4 Nov 2020 23:45:56 +0100 Message-Id: <20201104224558.3384595-8-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201104224558.3384595-1-philmd@redhat.com> References: <20201104224558.3384595-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Extract the common definitions shared by '.native_build_job' and '.native_test_job' to '.native_common_job'. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b77a90dd73..961070d2cbe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,12 @@ include: - local: '/.gitlab-ci.d/containers.yml' - local: '/.gitlab-ci.d/crossbuilds.yml' =20 -.native_build_job: - stage: build +.native_common_job: image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest + +.native_build_job: + extends: .native_common_job + stage: build before_script: - JOBS=3D$(expr $(nproc) + 1) - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules @@ -41,8 +44,8 @@ include: fi =20 .native_test_job: + extends: .native_common_job stage: test - image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest script: - cd build - find . -type f -exec touch {} + --=20 2.26.2