From patchwork Thu Jul 21 12:45:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12925054 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 2F578C43334 for ; Thu, 21 Jul 2022 12:46:28 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.372691.604579 (Exim 4.92) (envelope-from ) id 1oEVZF-0000KT-Hk; Thu, 21 Jul 2022 12:46:13 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 372691.604579; Thu, 21 Jul 2022 12:46:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZF-0000KK-ER; Thu, 21 Jul 2022 12:46:13 +0000 Received: by outflank-mailman (input) for mailman id 372691; Thu, 21 Jul 2022 12:46:12 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZE-0008VW-3V for xen-devel@lists.xenproject.org; Thu, 21 Jul 2022 12:46:12 +0000 Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 18377743-08f3-11ed-924f-1f966e50362f; Thu, 21 Jul 2022 14:46:10 +0200 (CEST) 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: 18377743-08f3-11ed-924f-1f966e50362f DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1658407570; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=l+GzIgxPBvHngtRJvU9WIFoqyToE0lwj31ZPFwvXIEE=; b=XVS7xdmWGzAlZN3Oy0dom6pog1qapUn7lc9ckE0uGzwTysgLCQS/5n0+ Ulz6CPsG6X5B5Z3rWqYBvNVEMgbEPIBwR+cWgg54SQI5qEinzsAB4W7yO xZbbOgLCSBR6CEwSzhIijwoUp7kC3Fbg2ncyLyxxl+N/YemCS0GUN77kn g=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 2.7 X-MesageID: 76751237 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:sXqIL6MuUIcZUBvvrR2jl8FynXyQoLVcMsEvi/4bfWQNrUom0jMDm GUWDGqOP/aLNzH2cot1Otyx9EwOuZLVyYJgTgto+SlhQUwRpJueD7x1DKtR0wB+jCHnZBg6h ynLQoCYdKjYdleF+lH3dOCJQUBUjcmgXqD7BPPPJhd/TAplTDZJoR94kqsyj5UAbeKRWmthg vuv5ZyFULOZ82QsaDhMtPja8EkHUMna41v0gHRvPZing3eG/5UlJMp3Db28KXL+Xr5VEoaSL woU5Ojklo9x105F5uKNyt4XQGVTKlLhFVHmZk5tc7qjmnB/Shkaic7XAha+hXB/0F1ll/gpo DlEWAfZpQ0BZsUgk8xFO/VU/r0X0QSrN9YrLFDm2fF/wXEqfFPHndFpAxkSMLEo0cpUAHlo3 vM9dSwkO0Xra+KemNpXS8Fpj8UnasLqIJkeqjdryjSx4fQOGM6ZBf+QvJkBgWl21psm8fX2P qL1bRJmagjAZBtefE8aEpskkM+jh2Xlci0eo1WQzUYyyzeNk1EoiuOyWDbTUuCxbMBywlSDm nqF9GTlXzNCHsOf5DXQpxpAgceQxHimCer+DoaQ7eV2iVeewmgSDhw+Vlahp/S9zEmkVLp3I EUO9i0jhaM77kCsQ5/2WBjQiG6JuFsQVsRdF8U+6RqR0ezE7gCBHG8GQzVdLts8u6ceWjgCx lKP2dTzClRSXKa9ECzHsO3O9HXrZHZTfTRqiTI4oRUtyIfHp45rqh/zfv1PM6+tqPb6PGzs6 mXfxMQhvIn/nfLnxo3iow2X2Wv298SQJuImzl6JBzz4t2uVcKbgPtX1sgaDsJ6sOa7DFjG8U G44d99yBQzkJbWEj2SzTeoEB9lFDN7VYWSH0TaD83TMnglBGkJPnqgKuVmS3G8zbq45lcbBO Sc/Qz956p5JJ2eNZqRqeY+3AMlC5fG+SIS+CqqNMIEfOMAZmOq7EMZGPBX44owQuBJ0zfFX1 WmzKq5A8kr2+Yw4lWHrFo/xIJcgxzwkxHO7eK0XOy+PiOPGDFbIGOhtDbd7RrpmhE9yiFmKr o032grj40k3bdASlQGMqtZJcg9bfCFT6FKfg5U/S9Nv6zFOQAkJY8I9C5t4E2C5t8y5Ttv1w 0w= IronPort-HdrOrdr: A9a23:fcezi68C49tlW15HM7Nuk+DgI+orL9Y04lQ7vn2YSXRuHPBw8P re+sjztCWE8Ar5N0tBpTntAsW9qDbnhPtICOoqTNCftWvdyQiVxehZhOOIqVDd8m/Fh4pgPM 9bAtFD4bbLbGSS4/yU3ODBKadD/OW6 X-IronPort-AV: E=Sophos;i="5.92,289,1650945600"; d="scan'208";a="76751237" From: Anthony PERARD To: CC: , , , Anthony PERARD , Doug Goldstein Subject: [XEN PATCH v2 1/4] automation: fix typo in .gcc-tmpl Date: Thu, 21 Jul 2022 13:45:59 +0100 Message-ID: <20220721124602.9910-2-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220721124602.9910-1-anthony.perard@citrix.com> References: <20220721124602.9910-1-anthony.perard@citrix.com> MIME-Version: 1.0 The name of the field doesn't matter because it's use as a YAML achor, but it's nicer to have the proper spelling. Signed-off-by: Anthony PERARD --- automation/gitlab-ci/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index 72f2a317ac..5eb7312754 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -17,7 +17,7 @@ - /^stable-.*/ .gcc-tmpl: - variabes: &gcc + variables: &gcc CC: gcc CXX: g++ From patchwork Thu Jul 21 12:46:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12925055 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 690DCCCA479 for ; Thu, 21 Jul 2022 12:46:29 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.372692.604589 (Exim 4.92) (envelope-from ) id 1oEVZI-0000cU-Pe; Thu, 21 Jul 2022 12:46:16 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 372692.604589; Thu, 21 Jul 2022 12:46: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 1oEVZI-0000cN-Mx; Thu, 21 Jul 2022 12:46:16 +0000 Received: by outflank-mailman (input) for mailman id 372692; Thu, 21 Jul 2022 12:46:15 +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 1oEVZG-0008VQ-Ts for xen-devel@lists.xenproject.org; Thu, 21 Jul 2022 12:46:15 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 19ab8c06-08f3-11ed-bd2d-47488cf2e6aa; Thu, 21 Jul 2022 14:46:13 +0200 (CEST) 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: 19ab8c06-08f3-11ed-bd2d-47488cf2e6aa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1658407573; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HAlpDIChBskJIISW7qvJGVshVai7WZqyDUdysqvHuck=; b=MpjzucklPChO7QxXd/zk7reCDchzzC448k2o2Hs+AApsDzX71dMxokAt Jo52iwa+NQLi0Kr2uhgO9qh6155q/9bzMljITbnnTHBE7VrQg/S1CosIW PRHXBwBABuSV/brA3boRJQ+hMNC95Q2qBBmzloIrMT24gW8nz1sktrTEG s=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 2.7 X-MesageID: 76317781 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:fAblU64YbhhkzbLN3BdB1wxR2vbMJYAXvycv29bIaENr3hjvzP4J6zDmcekdWPrztNzMcNnPa4wPmlJv28rgB4V/YzDj45YBnoOIehmiOdS4m1JWvl0QTppBfgQHDvWpMe/+9kbRsIQ8+YpucBSt17uEG9ZvDfCwbx9gmzDTinl1BbEx9wiViOdJZqX+8z5UTDW2jj3khVj/5fuhK441iX77DitHHmNyQBbiMwJAS3wcQ98JIokfWyDR9F10mcJ+Y7NCDXDhjUJnNrTGknQ9qMWajTdf2ui02dBsxgL8DZcXf7iAxSmdqbrYe4GiQPhqEMiO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aHBUIo6RO4xC7Tk+XSSdqMV9utDptCL5xMEQUgABHHtei4Miwdp9thTvxaxEXNDcXJITDwYGVyrxOj/hifehm2cYPA37h8yE23LcNMX5HuBbZGd+cxDTHbvUMQjeDw6wXCqTZ/NPcyU7VSVxldUvDKcenLPEsdQ3vfBNdoqEAXQtX5mzBjWX/8mWUlQe0syOM9p/My8U+WxX6Ox/NzOVmgu547EiOfwNI3ue8Issx28tyPp0p4NXpxm2bGUDpk1HlRpw== X-IronPort-AV: E=Sophos;i="5.92,289,1650945600"; d="scan'208";a="76317781" From: Anthony PERARD To: CC: , , , Anthony PERARD , Doug Goldstein Subject: [XEN PATCH v2 2/4] automation: add a templates for test jobs Date: Thu, 21 Jul 2022 13:46:00 +0100 Message-ID: <20220721124602.9910-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220721124602.9910-1-anthony.perard@citrix.com> References: <20220721124602.9910-1-anthony.perard@citrix.com> MIME-Version: 1.0 Allow to set common configuration from a single place for all tests jobs. Signed-off-by: Anthony PERARD --- Notes: v2: - rebased, to include "qemu-smoke-arm32-gcc". automation/gitlab-ci/test.yaml | 81 ++++++++-------------------------- 1 file changed, 18 insertions(+), 63 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 42cd725a12..53b43801f4 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -1,7 +1,15 @@ -# Test jobs -build-each-commit-gcc: +.test-jobs-common: stage: test image: registry.gitlab.com/xen-project/xen/${CONTAINER} + except: + - master + - smoke + - /^coverity-tested\/.*/ + - /^stable-.*/ + +# Test jobs +build-each-commit-gcc: + extends: .test-jobs-common variables: CONTAINER: debian:stretch XEN_TARGET_ARCH: x86_64 @@ -16,15 +24,9 @@ build-each-commit-gcc: dependencies: [] tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-alpine-arm64-gcc: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: @@ -41,15 +43,9 @@ qemu-alpine-arm64-gcc: when: always tags: - arm64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-alpine-x86_64-gcc: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:stretch script: @@ -65,15 +61,9 @@ qemu-alpine-x86_64-gcc: when: always tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-arm64-gcc: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: @@ -89,15 +79,9 @@ qemu-smoke-arm64-gcc: when: always tags: - arm64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-arm32-gcc: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:unstable-arm64v8 script: @@ -112,15 +96,9 @@ qemu-smoke-arm32-gcc: when: always tags: - arm64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-x86-64-gcc: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:stretch script: @@ -134,15 +112,9 @@ qemu-smoke-x86-64-gcc: - debian-stretch-gcc-debug tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-x86-64-clang: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:stretch script: @@ -156,15 +128,9 @@ qemu-smoke-x86-64-clang: - debian-unstable-clang-debug tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-x86-64-gcc-pvh: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:stretch script: @@ -178,15 +144,9 @@ qemu-smoke-x86-64-gcc-pvh: - debian-stretch-gcc-debug tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ qemu-smoke-x86-64-clang-pvh: - stage: test - image: registry.gitlab.com/xen-project/xen/${CONTAINER} + extends: .test-jobs-common variables: CONTAINER: debian:stretch script: @@ -200,8 +160,3 @@ qemu-smoke-x86-64-clang-pvh: - debian-unstable-clang-debug tags: - x86_64 - except: - - master - - smoke - - /^coverity-tested\/.*/ - - /^stable-.*/ From patchwork Thu Jul 21 12:46:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12925057 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 BC1CEC43334 for ; Thu, 21 Jul 2022 12:46:33 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.372696.604612 (Exim 4.92) (envelope-from ) id 1oEVZQ-0001HI-BU; Thu, 21 Jul 2022 12:46:24 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 372696.604612; Thu, 21 Jul 2022 12:46:24 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZQ-0001H9-7j; Thu, 21 Jul 2022 12:46:24 +0000 Received: by outflank-mailman (input) for mailman id 372696; Thu, 21 Jul 2022 12:46:23 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZP-0008VW-7Q for xen-devel@lists.xenproject.org; Thu, 21 Jul 2022 12:46:23 +0000 Received: from esa4.hc3370-68.iphmx.com (esa4.hc3370-68.iphmx.com [216.71.155.144]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 1e9c5236-08f3-11ed-924f-1f966e50362f; Thu, 21 Jul 2022 14:46:22 +0200 (CEST) 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: 1e9c5236-08f3-11ed-924f-1f966e50362f DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1658407582; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PACc2mwSrwpX0iuSlqxknvAQt2F9ujkfuZBNPaxIerE=; b=huVn7XgRwTafIEv93M6de2MGVoH7uadTfVT7QeseqQpItZXKhUCqgwol Lx6aUzZWl88jIvyeBZoXAki0k2GJsfGyAXuDTHn6lvzot0/KKinRnkjMd TAaKSXPygg+20hZvP0qaGa5bv5mcQQrkRYcsUHGLObPKiMDH6DIbQChIv U=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 2.7 X-MesageID: 78888230 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:Jas/oKjzg6noFSZte7rfmUnVX161ZhAKZh0ujC45NGQN5FlHY01je htvDTyAaayNYjGkfNkjbt/jpExXsMXUzd9kTlY4qy5hFykb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oDJ9CU6j+fQLlbFILasEjhrQgN5QzsWhxtmmuoo6qZlmtH8CA6W0 T/Ii5S31GSNhnglaAr414rZ8Ek15Kuo4W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PIceod/A== X-IronPort-AV: E=Sophos;i="5.92,289,1650945600"; d="scan'208";a="78888230" From: Anthony PERARD To: CC: , , , Anthony PERARD , Doug Goldstein Subject: [XEN PATCH v2 3/4] automation: only run test artifact jobs when needed Date: Thu, 21 Jul 2022 13:46:01 +0100 Message-ID: <20220721124602.9910-4-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220721124602.9910-1-anthony.perard@citrix.com> References: <20220721124602.9910-1-anthony.perard@citrix.com> MIME-Version: 1.0 Share the same "except" as the one used for tests. Signed-off-by: Anthony PERARD --- Notes: v2: - rebased, to include "qemu-system-aarch64-6.0.0-arm32-export". automation/gitlab-ci/build.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index 5eb7312754..23b306e7d0 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -567,10 +567,16 @@ alpine-3.12-gcc-debug-arm64: CONTAINER: alpine:3.12-arm64v8 +## Test artifacts common + +.test-jobs-artifact-common: + stage: build + except: !reference [.test-jobs-common, except] + # Arm test artifacts alpine-3.12-arm64-rootfs-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12-arm64v8 script: - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz @@ -581,7 +587,7 @@ alpine-3.12-arm64-rootfs-export: - arm64 kernel-5.9.9-arm64-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:5.9.9-arm64v8 script: - mkdir binaries && cp /Image binaries/Image @@ -592,7 +598,7 @@ kernel-5.9.9-arm64-export: - arm64 qemu-system-aarch64-6.0.0-arm64-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 script: - mkdir binaries && cp /qemu-system-aarch64 binaries/qemu-system-aarch64 @@ -603,7 +609,7 @@ qemu-system-aarch64-6.0.0-arm64-export: - arm64 qemu-system-aarch64-6.0.0-arm32-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 script: - mkdir binaries && cp /qemu-system-arm binaries/qemu-system-arm @@ -616,7 +622,7 @@ qemu-system-aarch64-6.0.0-arm32-export: # x86_64 test artifacts alpine-3.12-rootfs-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12 script: - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz @@ -627,7 +633,7 @@ alpine-3.12-rootfs-export: - x86_64 kernel-5.10.74-export: - stage: build + extends: .test-jobs-artifact-common image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:5.10.74 script: - mkdir binaries && cp /bzImage binaries/bzImage From patchwork Thu Jul 21 12:46:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12925056 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 43384C43334 for ; Thu, 21 Jul 2022 12:46:31 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.372695.604601 (Exim 4.92) (envelope-from ) id 1oEVZN-0000wm-2D; Thu, 21 Jul 2022 12:46:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 372695.604601; Thu, 21 Jul 2022 12:46:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZM-0000wc-UI; Thu, 21 Jul 2022 12:46:20 +0000 Received: by outflank-mailman (input) for mailman id 372695; Thu, 21 Jul 2022 12:46:19 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oEVZL-0008VW-0h for xen-devel@lists.xenproject.org; Thu, 21 Jul 2022 12:46:19 +0000 Received: from esa3.hc3370-68.iphmx.com (esa3.hc3370-68.iphmx.com [216.71.145.155]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 1c77fd5f-08f3-11ed-924f-1f966e50362f; Thu, 21 Jul 2022 14:46:18 +0200 (CEST) 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: 1c77fd5f-08f3-11ed-924f-1f966e50362f DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1658407577; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4IwZ7MQ+unUkmwqNzuLpSWlb6ulXC3M5GmYE0wL7TYY=; b=biaWCaxyTr6eIUvQBoT2lAVxOp0MmMNUs68AbsD01G5kMt/DhOJN0o/O mHiv/Gm2ltMauWdGVd4knI5LGnqFwvSLt4porYSxcGFxcYnYkSCP8or4G yM1M5yT5shYVryHcepU6tdINpAkPWI1nsMkNAdToD8UpojUDvQJhTvkx3 8=; Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 2.7 X-MesageID: 76321715 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:recdo6oT8GD6U1pZsj3Dueasxp5eBmIeZRIvgKrLsJaIsI4StFCzt garIBmCO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GbCuEA= IronPort-HdrOrdr: A9a23:PlS6eqmaNFOadbrrrl679gs9hu/pDfIU3DAbv31ZSRFFG/Fxl6 iV8sjzsiWE7gr5OUtQ4exoV5PhfZqxz/JICMwqTNKftWrdyQyVxeNZnOjfKlTbckWUnINgPO VbAsxD4bXLfCFHZK3BgTVQfexO/DD+ytHLudvj X-IronPort-AV: E=Sophos;i="5.92,289,1650945600"; d="scan'208";a="76321715" From: Anthony PERARD To: CC: , , , Anthony PERARD , Doug Goldstein Subject: [XEN PATCH v2 4/4] automation: use "needs" instead of "dependencies" for test jobs Date: Thu, 21 Jul 2022 13:46:02 +0100 Message-ID: <20220721124602.9910-5-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220721124602.9910-1-anthony.perard@citrix.com> References: <20220721124602.9910-1-anthony.perard@citrix.com> MIME-Version: 1.0 Like with "dependencies", the jobs will get artifacts from the jobs listed in "needs". But the test jobs can run as soon as the build jobs listed have finished. Signed-off-by: Anthony PERARD --- Notes: v2: - rebased, to include "qemu-smoke-arm32-gcc". automation/gitlab-ci/test.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 53b43801f4..26bdbcc3ea 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -21,7 +21,7 @@ build-each-commit-gcc: paths: - '*.log' when: always - dependencies: [] + needs: [] tags: - x86_64 @@ -31,7 +31,7 @@ qemu-alpine-arm64-gcc: CONTAINER: debian:unstable-arm64v8 script: - ./automation/scripts/qemu-alpine-arm64.sh 2>&1 | tee qemu-smoke-arm64.log - dependencies: + needs: - alpine-3.12-gcc-arm64 - alpine-3.12-arm64-rootfs-export - kernel-5.9.9-arm64-export @@ -50,7 +50,7 @@ qemu-alpine-x86_64-gcc: CONTAINER: debian:stretch script: - ./automation/scripts/qemu-alpine-x86_64.sh 2>&1 | tee qemu-smoke-x86_64.log - dependencies: + needs: - alpine-3.12-gcc - alpine-3.12-rootfs-export - kernel-5.10.74-export @@ -68,7 +68,7 @@ qemu-smoke-arm64-gcc: CONTAINER: debian:unstable-arm64v8 script: - ./automation/scripts/qemu-smoke-arm64.sh 2>&1 | tee qemu-smoke-arm64.log - dependencies: + needs: - debian-unstable-gcc-arm64 - kernel-5.9.9-arm64-export - qemu-system-aarch64-6.0.0-arm64-export @@ -86,7 +86,7 @@ qemu-smoke-arm32-gcc: CONTAINER: debian:unstable-arm64v8 script: - ./automation/scripts/qemu-smoke-arm32.sh 2>&1 | tee qemu-smoke-arm32.log - dependencies: + needs: - debian-unstable-gcc-arm32 - qemu-system-aarch64-6.0.0-arm32-export artifacts: @@ -108,7 +108,7 @@ qemu-smoke-x86-64-gcc: - smoke.serial - '*.log' when: always - dependencies: + needs: - debian-stretch-gcc-debug tags: - x86_64 @@ -124,7 +124,7 @@ qemu-smoke-x86-64-clang: - smoke.serial - '*.log' when: always - dependencies: + needs: - debian-unstable-clang-debug tags: - x86_64 @@ -140,7 +140,7 @@ qemu-smoke-x86-64-gcc-pvh: - smoke.serial - '*.log' when: always - dependencies: + needs: - debian-stretch-gcc-debug tags: - x86_64 @@ -156,7 +156,7 @@ qemu-smoke-x86-64-clang-pvh: - smoke.serial - '*.log' when: always - dependencies: + needs: - debian-unstable-clang-debug tags: - x86_64