[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] automation: move yocto jobs to build stage
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Michal Orzel <michal.orzel@xxxxxxx>
- Date: Fri, 17 Feb 2023 15:38:52 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.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
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=WkcymSTxu+rjyKU0dIeVGw2xSwLbSLtaBIpnYYT5Mu4=; b=IH4ksxQzpdTKylPTxU1DBjdOZq49Db6FXU2hXhlAR+wR5ZWEd6+twayyNo7v7l7GL07JL7LqOHFDEiAfMaI8F1lkbovwmaLZoQJbxYLi3A8u0iBOwkKx7UqyPfNs+1tsJoGI9GxoyEPUxh69JQGZFoMtqFUz44EH4ARih21mOZ9DK9ZxweWzIEJ4U2Idx5OVXtyU8MeDk2sSaHt3ZaRdiDZenarPQxzFH8JZof995d6L72NobHFFZS1VaRAbGz1EcFxh6jatj4tqZkymkhST37k9+C8k9mNJVhIYY4BQV8bTfBjt4lFKjgNFdFYOd1NdWY2IT95IHHrGJbjmfWOLPw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L6Tfko+r6zuPsi+eyp9eoGe3BLjmPx62ahqy7JJ9ep4t1Q7Afef6t2FSRNS3XeWUqW/OwO7YRoAKApUjGUi+RPf4ck/RI6hyBRcBzCCkZuZ6Dn1RE7ADuRpLEb2dLY1UObq7vt3tzYPbnsWTC7sMvgxotMiJI7kxRDfAihhdzrTnfTmslFqIuqL1VHARmDgjVOdr7qKRG3UcHLEApgcy62pyXrpR/vUu5JXNu7rpVDMC4iWilKBGzYSrnM+qj0X3o3LvBbQDnkFiyhcC6P2rNWcFKOG1xgZ0/NSifO10m8Wu+ysKZ3u9h13fapYQo7g3Og3dB/jAZBuH2n2uSFnsKQ==
- Cc: <cardoe@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>
- Delivery-date: Fri, 17 Feb 2023 14:39:33 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Stefano,
On 15/02/2023 23:09, Stefano Stabellini wrote:
>
>
> From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
>
> We are going to use artifacts produced by the Yocto builds in test jobs.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
> ---
> automation/gitlab-ci/build.yaml | 51 +++++++++++++++++++++++++++++++++
> automation/gitlab-ci/test.yaml | 45 -----------------------------
> 2 files changed, 51 insertions(+), 45 deletions(-)
>
> diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
> index a053c5c732..f62cf21f45 100644
> --- a/automation/gitlab-ci/build.yaml
> +++ b/automation/gitlab-ci/build.yaml
> @@ -199,6 +199,41 @@
> variables:
> <<: *gcc
>
> +.yocto-test:
> + stage: build
> + image: registry.gitlab.com/xen-project/xen/${CONTAINER}
> + except:
> + - master
> + - smoke
> + - /^coverity-tested\/.*/
> + - /^stable-.*/
stage, image and except are the same as in &build template.
You could just use <<: *build to reuse them. Specifying script here would
overwrite the build script
and we do not care about artifacts paths (i.e. if it is not produced by a job,
there will be just a warning
which is already the case for some jobs). Anyway, this is just a suggestion to
save some lines, so with or without:
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|