From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779655; cv=none; d=zohomail.com; s=zohoarc; b=aT5hXWAUbwfyvgic5N3fWquWAcZOGQ1CpzWOmSlS+aDMWH4TPmy3qGXltcgqfOute+uzb63gK24PqyTMgWBsoJsbO4SMgFMVHng5xD7J1luBKj403mSVumq+XEtUt4Hk3vSFj9a6fjbxvJVm0pv/9i+QiW0u/P/j68kUA9RZLrk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779655; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5nhESaM7Eq2C/koJpNFGbqEjFZMdcDSJL7FoeKE3qew=; b=M5yfRy63Sc943+/IKPpO6tXaJe3ATCBihstzxDi4N3mcaHQYi33WIna1ZIebEIlmQPG6uoIvzvIAp8DCXbctF9lyFcnzD15pGrG+9hXY7fWhol4ymNWEXdlvA3ySDddVgITDkBelVH8C0X3cNh0AH+nsbPEXDNoSm2OvPKMTTJM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779655723492.23750517158976; Thu, 2 Mar 2023 09:54:15 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505297.777994 (Exim 4.92) (envelope-from ) id 1pXn7k-0008Pw-KD; Thu, 02 Mar 2023 17:53:48 +0000 Received: by outflank-mailman (output) from mailman id 505297.777994; Thu, 02 Mar 2023 17:53:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7k-0008Pc-Eu; Thu, 02 Mar 2023 17:53:48 +0000 Received: by outflank-mailman (input) for mailman id 505297; Thu, 02 Mar 2023 17:53:46 +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 1pXn7i-00086v-M1 for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:46 +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 2a55e85a-b923-11ed-a550-8520e6686977; Thu, 02 Mar 2023 18:53:42 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 2a55e85a-b923-11ed-a550-8520e6686977 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779622; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Gw4QRlvuKAg+gD2hKfl/VjnsdW7wmqK+tl77agSSFfE=; b=JCLA4theHIg+fCAY3tiJwhgU4zSU78hgKX84/QZ9/qeikFMu0nXgc4l5 W/DBw2RvsE6KKbOjGbZ6SsCiwjdrpukgTP3GFk8vnQERt5cGzeI98PvGt V815wWU6JgaYB8pLiC39LEoZGhqvfh6L/63i8wRzuuoeU0U/5t7VPj3op 0=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 101652773 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:mnH6Mq1I0kJeGAJrj/bD5clxkn2cJEfYwER7XKvMYLTBsI5bp2MEy zcXCmGBM/bbZzb1eNwiPY+28h9QsZKDz941SFZkpC1hF35El5HIVI+TRqvS04F+DeWYFR46s J9OAjXkBJppJpMJjk71atANlVEliefTAOK6ULWeUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tq3qMDEULOf82cc3lk8tuTS+HuDgNyo4GlD5gdmP6gQ1LPjvyJ94Kw3dPnZw0TQGuG4LsbiL 87fwbew+H/u/htFIrtJRZ6iLyXm6paLVeS/oiI+t5qK23CulQRrukoPD9IOaF8/ttm8t4sZJ OOhF3CHYVxB0qXkwIzxWvTDes10FfUuFLTveRBTvSEPpqFvnrSFL/hGVSkL0YMkFulfE1NU5 PUGLhIxRzuHm9rn6u34Z8RuiZF2RCXrFNt3VnBIyDjYCbAtQIzZQrWM7thdtNsyrpkQR7CEP ZNfMGcxKk2aOHWjOX9OYH46tO6umnn4dSwesF+PrLA7y2PS0BZwwP7mN9+9ltmiHJ0MwBvC+ T2dl4j/KgoZa4Gu+CajyHnyvf3Dki/FQawJMITto5aGh3XMnzdOWXX6T2CTqvCjhkmzc9lWM UAT92wlqq1a3FewUtD3Uhm8oXiFlh0RQdxdF6s98g7l4rrZ5UOVC3YJShZFacc6r4kmSDoyz FiLktj1Qzt1v9WopWm1r+nO62noYG5McDFEPHVfJecY3zX9iJMBlAPGUNBBLIeeisHNSBuvg B2nridr0t3/kvU3/6m8+FnGhRelqZ7IUhM5623rY4610u9qTNX7PtL1sDA3+d4Fdd/EFQfZ4 BDojuDEtIgz4YexeDthqQnnNJWg/L67PTLVmjaD9LFxpm32qxZPkW29iQySxXuF0O5eJFcFg 2eJ42u9AaO/21P7BZKbm6rrV6wXIVHITLwJrMz8YNtUeYRWfwSa5ixobkP49zmzzxdywPxvY c7CLZfE4ZMm5UNPlmfeegvg+eVzmnBWKZ37HvgXMChLIZLBPSXIGN/pwXOFb/wj7bPsnekm2 483Cid+8D0GCLeWSnCOoeYuwaUicSBT6Wbe95YGKYZu42NORAkcNhMm6eh6J9c+xvwLz7agE 7PUchYw9WcTTEbvcW2iAk2Popu1NXqjhRrX5RARAGs= IronPort-HdrOrdr: A9a23:kuiJnKECtHJRKDPnpLqELMeALOsnbusQ8zAXPiBKJCC9E/bo8v xG+c5w6faaslkssR0b9+xoW5PwI080l6QU3WB5B97LMDUO0FHCEGgI1/qA/9SPIUzDHu4279 YbT0B9YueAcGSTW6zBkXWF+9VL+qj5zEix792uq0uE1WtRGtldBwESMHf9LmRGADNoKLAeD5 Sm6s9Ot1ObCA8qhpTSPAhiYwDbzee77a7bXQ== X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="101652773" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 1/7] automation: Automatically rebuild debian:unstable container Date: Thu, 2 Mar 2023 17:53:26 +0000 Message-ID: <20230302175332.56052-2-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779657713100005 Content-Type: text/plain; charset="utf-8" Only run this on the staging branch, whenever the dockerfile changes. Allow to set a suffix when building containers, to be able to test it before changing the one in production. Using "rules" instead of "only" as this allow to use variables in the "changes" rules. Also, "rules" is the preferred keyword as "only/except" isn't being actively developed in GitLab. Use $CI_PIPELINE_SOURCE=3D=3Dpush to evaluate "rules:changes" only on push. In most other cases, "rules:changes" evaluate to true so checking CI_PIPELINE_SOURCE is important. Signed-off-by: Anthony PERARD --- .gitlab-ci.yml | 2 ++ automation/build/Makefile | 4 ++-- automation/gitlab-ci/containers.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 automation/gitlab-ci/containers.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8bd7519d5..c5d499b321 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,9 @@ stages: - build - test + - containers =20 include: - 'automation/gitlab-ci/build.yaml' - 'automation/gitlab-ci/test.yaml' + - 'automation/gitlab-ci/containers.yaml' diff --git a/automation/build/Makefile b/automation/build/Makefile index 4df43b0407..5515938878 100644 --- a/automation/build/Makefile +++ b/automation/build/Makefile @@ -16,9 +16,9 @@ help: include yocto/yocto.inc =20 %: %.dockerfile ## Builds containers - $(DOCKER_CMD) build --pull -t $(REGISTRY)/$(@D):$(@F) -f $< $( (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779657507452.62321769643756; Thu, 2 Mar 2023 09:54:17 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505295.777979 (Exim 4.92) (envelope-from ) id 1pXn7j-00087F-0n; Thu, 02 Mar 2023 17:53:47 +0000 Received: by outflank-mailman (output) from mailman id 505295.777979; Thu, 02 Mar 2023 17:53:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7i-00087A-Sc; Thu, 02 Mar 2023 17:53:46 +0000 Received: by outflank-mailman (input) for mailman id 505295; Thu, 02 Mar 2023 17:53:46 +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 1pXn7h-00086w-U2 for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:46 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2b28ad90-b923-11ed-96ad-2f268f93b82a; Thu, 02 Mar 2023 18:53:44 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 2b28ad90-b923-11ed-96ad-2f268f93b82a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779623; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OVGnKG3JiMHkA56VmC4hYY6bkN1hel348yFwdhLu2p8=; b=CrFzlC+E5QRpy9lNI5ScRNr8Wbmt+Wm+tSXRwPzecJNraHfKVxmy854U fvk8W9uakhEJPzrNFTeIdXjtYd6rNIr2tNHIJWlBbST+ejfD9g9u3Gt84 QWVNJrHbmRF+M15SdJ2yM2heFzb77wantYwpvJ4msrNC6qJnTISSxGoI7 w=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 98045171 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:todoSqzo/3xsOkYdLdZ6t+csxirEfRIJ4+MujC+fZmUNrF6WrkUCy mcaDGvXOveMZ2X0KYgkaIy/9E9T65PVztE2HQU5qSAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw//F+UMHUMja4mtC5QRlPaoT5zcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KV4N9 qQGGixKVTaOrP+axZSbZPc3ott2eaEHPKtH0p1h5TTQDPJgSpHfWaTao9Rf2V/chOgXQ6yYP ZBAL2MyMlKZOUYn1lQ/UfrSmM+hgGX/dDtJ7kqYv6Mt70DYzRBr0airO93QEjCPbZQFxhrF/ z2fl4j/KkAFCO2h7me4yFWpu7/ehyXxYKMiC5Tto5aGh3XMnzdOWXX6T2CTsfS/z0KzRd9bA 0gV4TY167g/8lSxSdvwVAH+p2SL1jYXUsBcFOAS4wiXxq3ZpQ2eAwAsVSVdYdYrsMs3Qz0C1 VKTmd7tQzt1v9WopWm1r+nO62noYG5McDFEPHVfJecY3zX9iL5wjUrRfMokK4i4pcDZHBfQ7 S7RiDdr0t3/kvU3/6m8+FnGhRelqZ7IUhM5623rY4610u9qTNX7PtL1sDA3+d4Fdd/EFQfZ4 BDojuDEtIgz4YexeDthqQnnNJWg/L67PTLVmjaD9LFxpm32qxZPkW29iQySxXuF0O5eJFcFg 2eJ42u9AaO/21P7BZKbm6rrV6wXIVHITLwJrMz8YNtUeYRWfwSa5ixobkP49zmzzxdywPxvY c7CLZfE4ZMm5UNPlmfeegvg+eVzmnBWKZ37HvgXMChLIZLBPSXIGN/pwXOFb/wj7bPsnekm2 483Cid+8D0GCLeWSnCOoeYuwaUicSBT6Wbe95YGKYZu42NORAkcNhMm6eh6J9c+xvwLz7agE 7PUchYw9WcTTEbvcW2iAk2Popu2NXqjhRrX5RARAGs= IronPort-HdrOrdr: A9a23:mIajtqG8qOevVBnMpLqE/8eALOsnbusQ8zAXPiFKOH9om6mj/K qTdZsgpH3JYUkqKRQdcLy7VZVoIkm9yXcW2+cs1N6ZNWHbUQ2TQL2KhrGC/9SPIULDH+dmpM NdT5Q= X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="98045171" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 2/7] automation: Introduce test-containers stage Date: Thu, 2 Mar 2023 17:53:27 +0000 Message-ID: <20230302175332.56052-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779657774100009 Content-Type: text/plain; charset="utf-8" Jobs in the "test-containers" stage will be used to check that the newly built container is working fine, and that it could be used in production. Need to rename jobs name compared to "build.yaml", adding "test-" prefix to all build jobs. Need also to rename templates as many of them are used with "extends" which look for "jobs" and template across all the yaml files. Mostly change "build" to "testbuild". Introduce a job template per container, as we've got three "variables", CONTAINER, BUILD_CONTAINER, and a job dependency. Signed-off-by: Anthony PERARD --- Notes: It is probably possible to share many of the templates with "build.yaml", by changing some of the templates and the way link between them. .gitlab-ci.yml | 2 + automation/gitlab-ci/test-containers.yaml | 239 ++++++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 automation/gitlab-ci/test-containers.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5d499b321..ed5383ab50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,10 @@ stages: - build - test - containers + - test-containers =20 include: - 'automation/gitlab-ci/build.yaml' - 'automation/gitlab-ci/test.yaml' - 'automation/gitlab-ci/containers.yaml' + - 'automation/gitlab-ci/test-containers.yaml' diff --git a/automation/gitlab-ci/test-containers.yaml b/automation/gitlab-= ci/test-containers.yaml new file mode 100644 index 0000000000..5dbf3902ff --- /dev/null +++ b/automation/gitlab-ci/test-containers.yaml @@ -0,0 +1,239 @@ +.testbuild-tmpl: &testbuild + stage: test-containers + image: registry.gitlab.com/xen-project/xen/${CONTAINER}-test + script: + - ./automation/scripts/build 2>&1 | tee build.log + artifacts: + paths: + - binaries/ + - xen-config + - '*.log' + - '*/*.log' + when: always + rules: !reference [.container-build-tmpl, rules] + +.gcc-tmpl: + variables: &gcc + CC: gcc + CXX: g++ + +.clang-tmpl: + variables: &clang + CC: clang + CXX: clang++ + clang: y + +.clang-8-tmpl: + variables: &clang-8 + CC: clang-8 + CXX: clang++-8 + LD: ld.lld-8 + clang: y + +.x86-64-testbuild-tmpl: + <<: *testbuild + variables: + XEN_TARGET_ARCH: x86_64 + tags: + - x86_64 + +.x86-64-testbuild: + extends: .x86-64-testbuild-tmpl + variables: + debug: n + +.x86-64-testbuild-debug: + extends: .x86-64-testbuild-tmpl + variables: + debug: y + +.x86-32-testbuild-tmpl: + <<: *testbuild + variables: + XEN_TARGET_ARCH: x86_32 + tags: + - x86_32 + +.x86-32-testbuild: + extends: .x86-32-testbuild-tmpl + variables: + debug: n + +.x86-32-testbuild-debug: + extends: .x86-32-testbuild-tmpl + variables: + debug: y + +.gcc-x86-64-testbuild: + extends: .x86-64-testbuild + variables: + <<: *gcc + +.gcc-x86-64-testbuild-debug: + extends: .x86-64-testbuild-debug + variables: + <<: *gcc + +.gcc-x86-32-testbuild: + extends: .x86-32-testbuild + variables: + <<: *gcc + +.gcc-x86-32-testbuild-debug: + extends: .x86-32-testbuild-debug + variables: + <<: *gcc + +.clang-x86-64-testbuild: + extends: .x86-64-testbuild + variables: + <<: *clang + +.clang-x86-64-testbuild-debug: + extends: .x86-64-testbuild-debug + variables: + <<: *clang + +.clang-8-x86-64-testbuild: + extends: .x86-64-testbuild + variables: + <<: *clang-8 + +.clang-8-x86-64-testbuild-debug: + extends: .x86-64-testbuild-debug + variables: + <<: *clang-8 + +.clang-x86-32-testbuild: + extends: .x86-32-testbuild + variables: + <<: *clang + +.clang-x86-32-testbuild-debug: + extends: .x86-32-testbuild-debug + variables: + <<: *clang + +.arm32-cross-testbuild-tmpl: + <<: *testbuild + variables: + XEN_TARGET_ARCH: arm32 + tags: + - x86_64 + +.arm32-cross-testbuild: + extends: .arm32-cross-testbuild-tmpl + variables: + debug: n + +.arm32-cross-testbuild-debug: + extends: .arm32-cross-testbuild-tmpl + variables: + debug: y + +.gcc-arm32-cross-testbuild: + extends: .arm32-cross-testbuild + variables: + <<: *gcc + +.gcc-arm32-cross-testbuild-debug: + extends: .arm32-cross-testbuild-debug + variables: + <<: *gcc + +.arm64-testbuild-tmpl: + <<: *testbuild + variables: + XEN_TARGET_ARCH: arm64 + tags: + - arm64 + +.arm64-testbuild: + extends: .arm64-testbuild-tmpl + variables: + debug: n + +.arm64-testbuild-debug: + extends: .arm64-testbuild-tmpl + variables: + debug: y + +.gcc-arm64-testbuild: + extends: .arm64-testbuild + variables: + <<: *gcc + +.gcc-arm64-testbuild-debug: + extends: .arm64-testbuild-debug + variables: + <<: *gcc + +.riscv64-cross-testbuild-tmpl: + <<: *testbuild + variables: + XEN_TARGET_ARCH: riscv64 + tags: + - x86_64 + +.riscv64-cross-testbuild: + extends: .riscv64-cross-testbuild-tmpl + variables: + debug: n + +.riscv64-cross-testbuild-debug: + extends: .riscv64-cross-testbuild-tmpl + variables: + debug: y + +.gcc-riscv64-cross-testbuild: + extends: .riscv64-cross-testbuild + variables: + <<: *gcc + +.gcc-riscv64-cross-testbuild-debug: + extends: .riscv64-cross-testbuild-debug + variables: + <<: *gcc + +# Jobs below this line + +.container-debian-unstable-testtmpl: + variables: + CONTAINER: debian:unstable + BUILD_CONTAINER: debian/unstable + needs: + - debian-unstable-container + +test-debian-unstable-clang: + extends: + - .clang-x86-64-testbuild + - .container-debian-unstable-testtmpl + +test-debian-unstable-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-debian-unstable-testtmpl + +test-debian-unstable-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-debian-unstable-testtmpl + +test-debian-unstable-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-debian-unstable-testtmpl + +test-debian-unstable-gcc-randconfig: + extends: + - .gcc-x86-64-testbuild + - .container-debian-unstable-testtmpl + variables: + RANDCONFIG: y + +test-debian-unstable-gcc-debug-randconfig: + extends: + - .gcc-x86-64-testbuild-debug + - .container-debian-unstable-testtmpl + variables: + RANDCONFIG: y --=20 Anthony PERARD From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779654; cv=none; d=zohomail.com; s=zohoarc; b=bJtq1LQdqC2yzP8yDR206Yu1Gq3IfkKsmhEVzlC5f63L+Qm6YnaA2EJwYEv09IkkykwjFeceGakazYjJp/I5GCOX4c19nBPWkG/lR8loIgwVTYM/MDWSsjnCBtzOT2qHCzEe+LbkzW59OzBrHN435WzOlglKZ1keVaQeXfmwTUk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779654; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=cpWFMqa/7D0L4nW/a/m09GNs3C1kvGyqTbC6b6ckqKw=; b=EHXs28Au2AQI47JhP4f74kMjpIHEZjcvnx0YsbOmx8+J7Sf4Yp4e25+oN6dYkfrLc5AC5MBntZBIUL5Eb3CmxPE5ZDyAQVkVc/YmC9R8/J1w4m4t63eKgmH0+DJIVKIU+ClbTYwURXu9t5ZNSuOAT/53F+5koIMyKPV7eOuaojs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779654541396.3284928757415; Thu, 2 Mar 2023 09:54:14 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505296.777989 (Exim 4.92) (envelope-from ) id 1pXn7k-0008MU-9C; Thu, 02 Mar 2023 17:53:48 +0000 Received: by outflank-mailman (output) from mailman id 505296.777989; Thu, 02 Mar 2023 17:53:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7k-0008MN-6I; Thu, 02 Mar 2023 17:53:48 +0000 Received: by outflank-mailman (input) for mailman id 505296; Thu, 02 Mar 2023 17:53:46 +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 1pXn7i-00086w-IU for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:46 +0000 Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2bc319f9-b923-11ed-96ad-2f268f93b82a; Thu, 02 Mar 2023 18:53:44 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 2bc319f9-b923-11ed-96ad-2f268f93b82a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779624; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mVBiVBPMb7eSTKOxEt/bZdgZZJJ4ZGwNZDi0xUkKmco=; b=JPU3yzpMe1mh0pupu9DKCrC88lp9jsFKwiljP0IM2ThbOblAUsZ0R5/D BLFh5EfvFlgaFxFkxQ79ezJz3JMHMrGjf2AXfC3HvqrvcTpEuBGnHdtB8 RDkPUUN2uknAf1WNVTUJD0iFzXYfit2Ov7xMUh/Gf9/SaJFBkilLIA21A 8=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 99632357 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:Q7fdK6vn/E9s/P8F3ezscJYhi+fnVE1eMUV32f8akzHdYApBsoF/q tZmKW6EP/jeMTD1eI1/PYW2oxwB65LRydNhS1Y9pHtgHyoU+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVKiffHg3HVQ+IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4bKj6Fv0gnRkPaoQ5ASGzSFOZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwIQsqZx6B27KN8YmkZNJKosYBBtjJBdZK0p1g5Wmx4fcORJnCR+PB5MNC3Sd2jcdLdRrcT 5NHM3w1Nk2GOkARfA5NU/rSn8/x7pX7WzRetFKSo7tx+2XJxRZ9+LPsLMDUapqBQsA9ckOw9 zOYpD6iX05y2Nq39WqMqVGQjNDztwz7QJsZC5ylxuNojwjGroAUIEJPDgbqyRWjsWa1UshTL EE88SM0oa8/skesS7HVRAakqXSJuhodXdt4EOAg7gyJjK3O7G6xFmUCCzJMdtEinMs3XiAxk E+EmcvzAj5iu6HTTmiSnop4thvrZ3JTdzVbI3ZZE01cuYKLTJwPYgznR+1EGaC30o3OKArv7 QusiCocraQxtJtev0mkxmzvjzWpr5nPawc64ATLQ26ohj9EiJ6Zi5+AsgaCs6sZRGqNZhzY5 SVfxZDChAwbJcvV/BFhVtnhC11ACxytFDTHyWBiEJA6n9hG0y7yJNsAiN2SyaoADyrlRdMLS BWO0e+yzMUJVJdPUUOQS9PZNijS5fK8fekJr9iNBja0XrB/dRWc4AZlblOK0mbmnSAEyP9gZ snKLJb0VC9GWMyLKQZaoM9HjNcWKt0WnzuPFfgXMTz8uVZhWJJlYehcawbfBgzIxKiFvB/U4 75i2ziikn1ivBnFSnCPq+Y7dAlaRUXX8Liq86S7gMbfeFs5cIzgYteNqY4cl3tNxP8JzbyRp i/kCye1CjPX3BX6FOlDUVg7AJuHYHq1hStT0fAEVbpw50UeXA== IronPort-HdrOrdr: A9a23:+qbiMKGgH5xKE1X4pLqE/8eALOsnbusQ8zAXPiFKOH9om6mj/K qTdZsgpH3JYUkqKRQdcLy7VZVoIkm9yXcW2+cs1N6ZNWHbUQ2TQL2KhrGC/9SPIULDH+dmpM NdT5Q= X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="99632357" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 3/7] automation: Add a template per container for build jobs. Date: Thu, 2 Mar 2023 17:53:28 +0000 Message-ID: <20230302175332.56052-4-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779656025100003 Content-Type: text/plain; charset="utf-8" Have one template per container, which each build job will extend. This will allow to add more variable which are linked to a used container. Signed-off-by: Anthony PERARD --- automation/gitlab-ci/build.yaml | 327 ++++++++++++++++++++------------ 1 file changed, 202 insertions(+), 125 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.y= aml index 38bb22d860..1f186bf346 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -255,285 +255,346 @@ =20 # Jobs below this line =20 -archlinux-gcc: - extends: .gcc-x86-64-build +.container-archlinux: variables: CONTAINER: archlinux:current =20 +archlinux-gcc: + extends: + - .gcc-x86-64-build + - .container-archlinux + archlinux-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: archlinux:current + extends: + - .gcc-x86-64-build-debug + - .container-archlinux =20 -centos-7-gcc: - extends: .gcc-x86-64-build +.container-centos-7: variables: CONTAINER: centos:7 =20 +centos-7-gcc: + extends: + - .gcc-x86-64-build + - .container-centos-7 + centos-7-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: centos:7 + extends: + - .gcc-x86-64-build-debug + - .container-centos-7 =20 -debian-stretch-clang: - extends: .clang-x86-64-build +.container-debian-stretch: variables: CONTAINER: debian:stretch =20 +debian-stretch-clang: + extends: + - .clang-x86-64-build + - .container-debian-stretch + debian-stretch-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: debian:stretch + extends: + - .clang-x86-64-build-debug + - .container-debian-stretch =20 debian-stretch-clang-8: - extends: .clang-8-x86-64-build - variables: - CONTAINER: debian:stretch + extends: + - .clang-8-x86-64-build + - .container-debian-stretch =20 debian-stretch-clang-8-debug: - extends: .clang-8-x86-64-build-debug - variables: - CONTAINER: debian:stretch + extends: + - .clang-8-x86-64-build-debug + - .container-debian-stretch =20 debian-stretch-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:stretch + extends: + - .gcc-x86-64-build + - .container-debian-stretch =20 debian-stretch-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: debian:stretch + extends: + - .gcc-x86-64-build-debug + - .container-debian-stretch =20 -debian-stretch-32-clang-debug: - extends: .clang-x86-32-build-debug +.container-debian-stretch-32: variables: CONTAINER: debian:stretch-i386 =20 +debian-stretch-32-clang-debug: + extends: + - .clang-x86-32-build-debug + - .container-debian-stretch-32 + debian-stretch-32-gcc-debug: - extends: .gcc-x86-32-build-debug - variables: - CONTAINER: debian:stretch-i386 + extends: + - .gcc-x86-32-build-debug + - .container-debian-stretch-32 =20 debian-buster-gcc-ibt: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build variables: CONTAINER: debian:buster-gcc-ibt RANDCONFIG: y EXTRA_FIXED_RANDCONFIG: | CONFIG_XEN_IBT=3Dy =20 -debian-unstable-clang: - extends: .clang-x86-64-build +.container-debian-unstable: variables: CONTAINER: debian:unstable =20 +debian-unstable-clang: + extends: + - .clang-x86-64-build + - .container-debian-unstable + debian-unstable-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: debian:unstable + extends: + - .clang-x86-64-build-debug + - .container-debian-unstable =20 debian-unstable-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:unstable + extends: + - .gcc-x86-64-build + - .container-debian-unstable =20 debian-unstable-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: debian:unstable + extends: + - .gcc-x86-64-build-debug + - .container-debian-unstable =20 debian-unstable-gcc-randconfig: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build + - .container-debian-unstable variables: - CONTAINER: debian:unstable RANDCONFIG: y =20 debian-unstable-gcc-debug-randconfig: - extends: .gcc-x86-64-build-debug + extends: + - .gcc-x86-64-build-debug + - .container-debian-unstable variables: - CONTAINER: debian:unstable RANDCONFIG: y =20 -debian-unstable-32-clang-debug: - extends: .clang-x86-32-build-debug +.container-debian-unstable-32: variables: CONTAINER: debian:unstable-i386 =20 +debian-unstable-32-clang-debug: + extends: + - .clang-x86-32-build-debug + - .container-debian-unstable-32 + debian-unstable-32-gcc-debug: - extends: .gcc-x86-32-build-debug - variables: - CONTAINER: debian:unstable-i386 + extends: + - .gcc-x86-32-build-debug + - .container-debian-unstable-32 =20 fedora-gcc: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build variables: CONTAINER: fedora:29 =20 fedora-gcc-debug: - extends: .gcc-x86-64-build-debug + extends: + - .gcc-x86-64-build-debug variables: CONTAINER: fedora:29 =20 # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 =20 -ubuntu-trusty-gcc: - extends: .gcc-x86-64-build +.container-ubuntu-trusty: variables: CONTAINER: ubuntu:trusty =20 +ubuntu-trusty-gcc: + extends: + - .gcc-x86-64-build + - .container-ubuntu-trusty + ubuntu-trusty-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:trusty + extends: + - .gcc-x86-64-build-debug + - .container-ubuntu-trusty =20 -ubuntu-xenial-clang: - extends: .clang-x86-64-build +.container-ubuntu-xenial: variables: CONTAINER: ubuntu:xenial =20 +ubuntu-xenial-clang: + extends: + - .clang-x86-64-build + - .container-ubuntu-xenial + ubuntu-xenial-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:xenial + extends: + - .clang-x86-64-build-debug + - .container-ubuntu-xenial =20 ubuntu-xenial-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:xenial + extends: + - .gcc-x86-64-build + - .container-ubuntu-xenial =20 ubuntu-xenial-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:xenial + extends: + - .gcc-x86-64-build-debug + - .container-ubuntu-xenial =20 -ubuntu-bionic-clang: - extends: .clang-x86-64-build +.container-ubuntu-bionic: variables: CONTAINER: ubuntu:bionic =20 +ubuntu-bionic-clang: + extends: + - .clang-x86-64-build + - .container-ubuntu-bionic + ubuntu-bionic-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:bionic + extends: + - .clang-x86-64-build-debug + - .container-ubuntu-bionic =20 ubuntu-bionic-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:bionic + extends: + - .gcc-x86-64-build + - .container-ubuntu-bionic =20 ubuntu-bionic-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:bionic + extends: + - .gcc-x86-64-build-debug + - .container-ubuntu-bionic =20 -ubuntu-focal-gcc: - extends: .gcc-x86-64-build +.container-ubuntu-focal: variables: CONTAINER: ubuntu:focal =20 +ubuntu-focal-gcc: + extends: + - .gcc-x86-64-build + - .container-ubuntu-focal + ubuntu-focal-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:focal + extends: + - .gcc-x86-64-build-debug + - .container-ubuntu-focal =20 ubuntu-focal-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: ubuntu:focal + extends: + - .clang-x86-64-build + - .container-ubuntu-focal =20 ubuntu-focal-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:focal + extends: + - .clang-x86-64-build-debug + - .container-ubuntu-focal =20 opensuse-leap-clang: - extends: .clang-x86-64-build + extends: + - .clang-x86-64-build variables: CONTAINER: suse:opensuse-leap =20 opensuse-leap-clang-debug: - extends: .clang-x86-64-build-debug + extends: + - .clang-x86-64-build-debug variables: CONTAINER: suse:opensuse-leap =20 opensuse-leap-gcc: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build variables: CONTAINER: suse:opensuse-leap =20 opensuse-leap-gcc-debug: - extends: .gcc-x86-64-build-debug + extends: + - .gcc-x86-64-build-debug variables: CONTAINER: suse:opensuse-leap =20 opensuse-tumbleweed-clang: - extends: .clang-x86-64-build + extends: + - .clang-x86-64-build variables: CONTAINER: suse:opensuse-tumbleweed allow_failure: true =20 opensuse-tumbleweed-clang-debug: - extends: .clang-x86-64-build-debug + extends: + - .clang-x86-64-build-debug variables: CONTAINER: suse:opensuse-tumbleweed allow_failure: true =20 opensuse-tumbleweed-gcc: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build variables: CONTAINER: suse:opensuse-tumbleweed allow_failure: true =20 opensuse-tumbleweed-gcc-debug: - extends: .gcc-x86-64-build-debug + extends: + - .gcc-x86-64-build-debug variables: CONTAINER: suse:opensuse-tumbleweed allow_failure: true =20 alpine-3.12-gcc: - extends: .gcc-x86-64-build + extends: + - .gcc-x86-64-build variables: CONTAINER: alpine:3.12 =20 alpine-3.12-gcc-debug: - extends: .gcc-x86-64-build-debug + extends: + - .gcc-x86-64-build-debug variables: CONTAINER: alpine:3.12 =20 alpine-3.12-clang: - extends: .clang-x86-64-build + extends: + - .clang-x86-64-build variables: CONTAINER: alpine:3.12 =20 alpine-3.12-clang-debug: - extends: .clang-x86-64-build-debug + extends: + - .clang-x86-64-build-debug variables: CONTAINER: alpine:3.12 =20 # Arm32 cross-build =20 debian-unstable-gcc-arm32: - extends: .gcc-arm32-cross-build + extends: + - .gcc-arm32-cross-build variables: CONTAINER: debian:unstable-arm64v8-arm32-gcc HYPERVISOR_ONLY: y =20 debian-unstable-gcc-arm32-debug: - extends: .gcc-arm32-cross-build-debug + extends: + - .gcc-arm32-cross-build-debug variables: CONTAINER: debian:unstable-arm64v8-arm32-gcc HYPERVISOR_ONLY: y =20 debian-unstable-gcc-arm32-randconfig: - extends: .gcc-arm32-cross-build + extends: + - .gcc-arm32-cross-build variables: CONTAINER: debian:unstable-arm64v8-arm32-gcc HYPERVISOR_ONLY: y RANDCONFIG: y =20 debian-unstable-gcc-arm32-debug-randconfig: - extends: .gcc-arm32-cross-build-debug + extends: + - .gcc-arm32-cross-build-debug variables: CONTAINER: debian:unstable-arm64v8-arm32-gcc HYPERVISOR_ONLY: y @@ -562,51 +623,60 @@ debian-unstable-gcc-arm32-debug-staticmem: # Arm builds =20 debian-unstable-gcc-arm64: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: debian:unstable-arm64v8 =20 debian-unstable-gcc-debug-arm64: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: debian:unstable-arm64v8 =20 debian-unstable-gcc-arm64-randconfig: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: debian:unstable-arm64v8 RANDCONFIG: y =20 debian-unstable-gcc-debug-arm64-randconfig: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: debian:unstable-arm64v8 RANDCONFIG: y =20 alpine-3.12-gcc-arm64: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: alpine:3.12-arm64v8 =20 alpine-3.12-gcc-debug-arm64: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: alpine:3.12-arm64v8 =20 alpine-3.12-gcc-arm64-randconfig: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: alpine:3.12-arm64v8 RANDCONFIG: y =20 alpine-3.12-gcc-debug-arm64-randconfig: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: alpine:3.12-arm64v8 RANDCONFIG: y =20 alpine-3.12-gcc-arm64-staticmem: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: alpine:3.12-arm64v8 EXTRA_XEN_CONFIG: | @@ -615,7 +685,8 @@ alpine-3.12-gcc-arm64-staticmem: CONFIG_STATIC_MEMORY=3Dy =20 alpine-3.12-gcc-debug-arm64-staticmem: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: alpine:3.12-arm64v8 EXTRA_XEN_CONFIG: | @@ -624,7 +695,8 @@ alpine-3.12-gcc-debug-arm64-staticmem: CONFIG_STATIC_MEMORY=3Dy =20 alpine-3.12-gcc-arm64-boot-cpupools: - extends: .gcc-arm64-build + extends: + - .gcc-arm64-build variables: CONTAINER: alpine:3.12-arm64v8 EXTRA_XEN_CONFIG: | @@ -634,7 +706,8 @@ alpine-3.12-gcc-arm64-boot-cpupools: CONFIG_BOOT_TIME_CPUPOOLS=3Dy =20 alpine-3.12-gcc-debug-arm64-boot-cpupools: - extends: .gcc-arm64-build-debug + extends: + - .gcc-arm64-build-debug variables: CONTAINER: alpine:3.12-arm64v8 EXTRA_XEN_CONFIG: | @@ -642,21 +715,24 @@ alpine-3.12-gcc-debug-arm64-boot-cpupools: =20 # RISC-V 64 cross-build archlinux-current-gcc-riscv64: - extends: .gcc-riscv64-cross-build + extends: + - .gcc-riscv64-cross-build variables: CONTAINER: archlinux:current-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y =20 archlinux-current-gcc-riscv64-debug: - extends: .gcc-riscv64-cross-build-debug + extends: + - .gcc-riscv64-cross-build-debug variables: CONTAINER: archlinux:current-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y =20 archlinux-current-gcc-riscv64-randconfig: - extends: .gcc-riscv64-cross-build + extends: + - .gcc-riscv64-cross-build variables: CONTAINER: archlinux:current-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig @@ -665,7 +741,8 @@ archlinux-current-gcc-riscv64-randconfig: CONFIG_COVERAGE=3Dn =20 archlinux-current-gcc-riscv64-debug-randconfig: - extends: .gcc-riscv64-cross-build-debug + extends: + - .gcc-riscv64-cross-build-debug variables: CONTAINER: archlinux:current-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig --=20 Anthony PERARD From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779655; cv=none; d=zohomail.com; s=zohoarc; b=V8O45u4KEGIMwMXB5EluKB9MgtrxPpJr9fmN9a//egRlrLH6LLuEKiI5Ddzs5E1tUggIyS1WXdXvf12Llu0pw9cw93rBGvJusje+k7vWMdoETUQMMPGikRwBACYUox66FNDJrOTaflL4DdPkIOKHnsklmg0vXTyfHLZqO0SArAk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779655; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fQ5EioRURdaccCnprFmMOgy1LkOtl8XNCpDi0GGnCwA=; b=KvPPvVhiXEYWS2WI/V7eF70/hfRxkgYk+l/lulGEWnOH5yLcNLPh/aK3CpzyPXveVhrDDOXV/lWMwtgu+IL21mULby0GzlnD/EOiNM8FQ76vDm4Orw1bb4KI1ymW8yOV6YRmzcHMY+UYcKeUL32hoQzjBYid2AILhphrJbKBXfE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 167777965582336.726860931544024; Thu, 2 Mar 2023 09:54:15 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505299.778008 (Exim 4.92) (envelope-from ) id 1pXn7l-0000Eq-Da; Thu, 02 Mar 2023 17:53:49 +0000 Received: by outflank-mailman (output) from mailman id 505299.778008; Thu, 02 Mar 2023 17:53:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7l-0000C6-6j; Thu, 02 Mar 2023 17:53:49 +0000 Received: by outflank-mailman (input) for mailman id 505299; Thu, 02 Mar 2023 17:53:47 +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 1pXn7j-00086w-IU for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:47 +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 2cb47d8d-b923-11ed-96ad-2f268f93b82a; Thu, 02 Mar 2023 18:53:45 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 2cb47d8d-b923-11ed-96ad-2f268f93b82a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779625; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5MNo1ps8O2O0aeLQiXGpyjU3jhCbvyS2iGWQkujCObw=; b=Ypta3oKZqs32cHavA+kXrbFJgcK10POplzP2LQeKkQ0iTVRb+V0dgw2S AOFF02FcuCr0lt0DwdRxSReKZcSRGslIRbRaol6ZlzYeyJ7RVVFXW/qAb j8XWswznmo7XEFB2zSile8ccySKj4GOulfdUu4H3A6K1HgCv3AWAB6q6Q I=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 99135360 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:Ywu3D6MFXMM7GF7vrR2+l8FynXyQoLVcMsEvi/4bfWQNrUolhjBWx zEcXGyBbv7ZN2Pze4t1aoq18x9UsZTTyNdmHAto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6jufQAOKnUoYoAwgpLSd8UiAtlBl/rOAwh49skLCRDhiE/ Nj/uKUzAnf8s9JPGj9SuvLrRC9H5qyo42tD5gZmPpingXeF/5UrJMNHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNy+uTnuUiG9Y+DCDW4pZkc/HKbitq/0Te5p0TJvsEAXq7vh3S9zxHJ HehgrTrIeshFvWkdO3wyHC0GQkmVUFN0OevzXRSLaV/ZqAJGpfh66wGMa04AWEX0ulrAFoJ7 +ckEh4IMhqlpvqb5+ujZfY506zPLOGzVG8eknRpzDWfBvc6W5HTBa7N4Le03h9p2JoIR6yHI ZNEN3w2Nk+ojx5nYz/7DLo3mvuogX/uNSVVsluPqYI84nTJzRw327/oWDbQUo3bHJ4IxRjAz o7A10/zXj1KJeSH8yi61X2W2+bgghjnWLtHQdVU8dY12QbOlwT/EiY+RVa95PW0lEO6c9ZeM FAPvDojq7Ao806mRcW7WAe3yFaPtwQQXNd4GOQg5AaAjKHT5m6xHXMYRzRMbNgnss4eRjEw0 FKN2dTzClRSXKa9ECzHsO3O9HXrZHZTdDVZDcMZcecby9b/obp0lAnzdPhmTKSTr8XYPmjo7 C/f+UDSmI4vpcIM0qy6+3XOjDStuoXFQ2YJ2+nHYo62xlgnPdD4PuRE/XCetK8dd9jBEjFtq VBew6CjAPYy4YZhfcBnaMEEB/mX6vmMK1UwanY/TsB6p1xBF5NOFL28AQ2Sxm8zb67omhezO ic/XD+9A7cCVEZGlYctP+qM5z0ClMAM7+jNWPHOdcZpaZNsbgKB9ywGTRfOgD+zwRV8yfhmZ cbznSOQ4ZEyU/kP8dZLb71Fje9DKt4Wngs/uqwXPzz4iOHDNRZ5uJ8OMUeUb/BR0U93iFy9z jqrDOPTk083eLSnMkHqHXs7cQhiwY4TWcqn9KS6t4erfmJbJY3WI6SKneh6ItQ7xvU9eyWh1 ijVZ3K0AWHX3RXvQThmoFg5AF8zdf6TdU4GABE= IronPort-HdrOrdr: A9a23:+aSsLaHsmK+8UxhYpLqE5seALOsnbusQ8zAXPiFKJSC9F/byqy nAppsmPHPP5gr5OktBpTnwAsi9qBrnnPYejLX5Vo3SPzUO1lHYSb1K3M/PxCDhBj271sM179 YFT0GmMqyTMWRH X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="99135360" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 4/7] automation: Adding containers build jobs and test of thoses Date: Thu, 2 Mar 2023 17:53:29 +0000 Message-ID: <20230302175332.56052-5-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779657775100010 Content-Type: text/plain; charset="utf-8" For the test-containers jobs, mostly copy from "build.yaml", rename '.container-*-tmpl' templates to '.container-*-testtmpl', prefix build jobs with "test-", add BUILD_CONTAINER and "needs" to container template. Signed-off-by: Anthony PERARD --- Notes: WARNING: This is an incomplete list of the containers that can be rebuilt and tested. automation/gitlab-ci/containers.yaml | 74 ++++++- automation/gitlab-ci/test-containers.yaml | 257 ++++++++++++++++++++++ 2 files changed, 330 insertions(+), 1 deletion(-) diff --git a/automation/gitlab-ci/containers.yaml b/automation/gitlab-ci/co= ntainers.yaml index ace93eaccf..a6d61980b1 100644 --- a/automation/gitlab-ci/containers.yaml +++ b/automation/gitlab-ci/containers.yaml @@ -18,8 +18,80 @@ after_script: - docker logout =20 -debian-unstable-container: +archlinux-current-container: + variables: + BUILD_CONTAINER: archlinux/current + extends: + - .container-build-tmpl + +centos-7-2-container: + variables: + BUILD_CONTAINER: centos/7.2 + extends: + - .container-build-tmpl + +centos-7-container: + variables: + BUILD_CONTAINER: centos/7 + extends: + - .container-build-tmpl + +debian-jessie-container: + variables: + BUILD_CONTAINER: debian/jessie + extends: + - .container-build-tmpl + +debian-jessie-32-container: + variables: + BUILD_CONTAINER: debian/jessie-i386 + extends: + - .container-build-tmpl + +debian-stretch-container: + variables: + BUILD_CONTAINER: debian/stretch + extends: + - .container-build-tmpl + +debian-stretch-32-container: + variables: + BUILD_CONTAINER: debian/stretch-i386 extends: - .container-build-tmpl + +debian-unstable-container: variables: BUILD_CONTAINER: debian/unstable + extends: + - .container-build-tmpl + +debian-unstable-32-container: + variables: + BUILD_CONTAINER: debian/unstable-i386 + extends: + - .container-build-tmpl + +ubuntu-trusty-container: + variables: + BUILD_CONTAINER: ubuntu/trusty + extends: + - .container-build-tmpl + +ubuntu-xenial-container: + variables: + BUILD_CONTAINER: ubuntu/xenial + extends: + - .container-build-tmpl + +ubuntu-bionic-container: + variables: + BUILD_CONTAINER: ubuntu/bionic + extends: + - .container-build-tmpl + +ubuntu-focal-container: + variables: + BUILD_CONTAINER: ubuntu/focal + extends: + - .container-build-tmpl diff --git a/automation/gitlab-ci/test-containers.yaml b/automation/gitlab-= ci/test-containers.yaml index 5dbf3902ff..4d5c6ba364 100644 --- a/automation/gitlab-ci/test-containers.yaml +++ b/automation/gitlab-ci/test-containers.yaml @@ -197,6 +197,148 @@ =20 # Jobs below this line =20 +.container-archlinux-testtmpl: + variables: + CONTAINER: archlinux:current + BUILD_CONTAINER: archlinux/current + needs: + - archlinux-current-container + +test-archlinux-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-archlinux-testtmpl + +test-archlinux-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-archlinux-testtmpl + +.container-centos-7-testtmpl: + variables: + CONTAINER: centos:7 + BUILD_CONTAINER: centos/7 + needs: + - centos-7-container + +test-centos-7-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-centos-7-testtmpl + +test-centos-7-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-centos-7-testtmpl + +.container-debian-jessie-testtmpl: + variables: + CONTAINER: debian:jessie + BUILD_CONTAINER: debian/jessie + needs: + - debian-jessie-container + +test-debian-jessie-clang: + extends: + - .clang-x86-64-testbuild + - .container-debian-jessie-testtmpl + +test-debian-jessie-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-debian-jessie-testtmpl + +test-debian-jessie-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-debian-jessie-testtmpl + +test-debian-jessie-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-debian-jessie-testtmpl + +.container-debian-32-jessie-testtmpl: + variables: + CONTAINER: debian:jessie-i386 + BUILD_CONTAINER: debian/jessie-i386 + needs: + - debian-jessie-32-container + +test-debian-jessie-32-clang: + extends: + - .clang-x86-32-testbuild + - .container-debian-32-jessie-testtmpl + +test-debian-jessie-32-clang-debug: + extends: + - .clang-x86-32-testbuild-debug + - .container-debian-32-jessie-testtmpl + +test-debian-jessie-32-gcc: + extends: + - .gcc-x86-32-testbuild + - .container-debian-32-jessie-testtmpl + +test-debian-jessie-32-gcc-debug: + extends: + - .gcc-x86-32-testbuild-debug + - .container-debian-32-jessie-testtmpl + +.container-debian-stretch-testtmpl: + variables: + CONTAINER: debian:stretch + BUILD_CONTAINER: debian/stretch + needs: + - debian-stretch-container + +test-debian-stretch-clang: + extends: + - .clang-x86-64-testbuild + - .container-debian-stretch-testtmpl + +test-debian-stretch-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-debian-stretch-testtmpl + +test-debian-stretch-clang-8: + extends: + - .clang-8-x86-64-testbuild + - .container-debian-stretch-testtmpl + +test-debian-stretch-clang-8-debug: + extends: + - .clang-8-x86-64-testbuild-debug + - .container-debian-stretch-testtmpl + +test-debian-stretch-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-debian-stretch-testtmpl + +test-debian-stretch-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-debian-stretch-testtmpl + +.container-debian-stretch-32-testtmpl: + variables: + CONTAINER: debian:stretch-i386 + BUILD_CONTAINER: debian/stretch-i386 + needs: + - debian-stretch-32-container + +test-debian-stretch-32-clang-debug: + extends: + - .clang-x86-32-testbuild-debug + - .container-debian-stretch-32-testtmpl + +test-debian-stretch-32-gcc-debug: + extends: + - .gcc-x86-32-testbuild-debug + - .container-debian-stretch-32-testtmpl + .container-debian-unstable-testtmpl: variables: CONTAINER: debian:unstable @@ -237,3 +379,118 @@ test-debian-unstable-gcc-debug-randconfig: - .container-debian-unstable-testtmpl variables: RANDCONFIG: y + +.container-debian-unstable-32-testtmpl: + variables: + CONTAINER: debian:unstable-i386 + BUILD_CONTAINER: debian/unstable-i386 + needs: + - debian-unstable-32-container + +test-debian-unstable-32-clang-debug: + extends: + - .clang-x86-32-testbuild-debug + - .container-debian-unstable-32-testtmpl + +test-debian-unstable-32-gcc-debug: + extends: + - .gcc-x86-32-testbuild-debug + - .container-debian-unstable-32-testtmpl + +.container-ubuntu-trusty-testtmpl: + variables: + CONTAINER: ubuntu:trusty + BUILD_CONTAINER: ubuntu/trusty + needs: + - ubuntu-trusty-container + +test-ubuntu-trusty-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-ubuntu-trusty-testtmpl + +test-ubuntu-trusty-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-ubuntu-trusty-testtmpl + +.container-ubuntu-xenial-testtmpl: + variables: + CONTAINER: ubuntu:xenial + BUILD_CONTAINER: ubuntu/xenial + needs: + - ubuntu-xenial-container + +test-ubuntu-xenial-clang: + extends: + - .clang-x86-64-testbuild + - .container-ubuntu-xenial-testtmpl + +test-ubuntu-xenial-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-ubuntu-xenial-testtmpl + +test-ubuntu-xenial-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-ubuntu-xenial-testtmpl + +test-ubuntu-xenial-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-ubuntu-xenial-testtmpl + +.container-ubuntu-bionic-testtmpl: + variables: + CONTAINER: ubuntu:bionic + BUILD_CONTAINER: ubuntu/bionic + needs: + - ubuntu-bionic-container + +test-ubuntu-bionic-clang: + extends: + - .clang-x86-64-testbuild + - .container-ubuntu-bionic-testtmpl + +test-ubuntu-bionic-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-ubuntu-bionic-testtmpl + +test-ubuntu-bionic-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-ubuntu-bionic-testtmpl + +test-ubuntu-bionic-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-ubuntu-bionic-testtmpl + +.container-ubuntu-focal-testtmpl: + variables: + CONTAINER: ubuntu:focal + BUILD_CONTAINER: ubuntu/focal + needs: + - ubuntu-focal-container + +test-ubuntu-focal-gcc: + extends: + - .gcc-x86-64-testbuild + - .container-ubuntu-focal-testtmpl + +test-ubuntu-focal-gcc-debug: + extends: + - .gcc-x86-64-testbuild-debug + - .container-ubuntu-focal-testtmpl + +test-ubuntu-focal-clang: + extends: + - .clang-x86-64-testbuild + - .container-ubuntu-focal-testtmpl + +test-ubuntu-focal-clang-debug: + extends: + - .clang-x86-64-testbuild-debug + - .container-ubuntu-focal-testtmpl --=20 Anthony PERARD From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779656; cv=none; d=zohomail.com; s=zohoarc; b=im6Oe/b4oiGxftmgtmuA/75fwvrW8wfG4KLR8vFuttHp4bGdQvjE6hnlVcZfPJ3Ovp+TfXsYgPcFs/NEOnN5f3pRFhrCLqL28p4NVz69WoRa4he5h3oo9IghIv7M/Y92udkEmjpdC3mF3wqmKac6t3/L+RRt9Hz4uc/h590sJ8k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779656; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ngOkF/eG1raqKA7jZ963qqjldZ+7x0aDY+pWaKcc3jI=; b=Ib5kTPzJF5rRdXVdsjFQi8vwYmIrjdlfjhXx0i1jYdi21OGlcYrynKGh//Wyg6SuYcv1iTpNCF3PLFMGMAon/8bOz7OE9i8ipt9qmrcdkI8h9q6sreUrUH9xyWm++PjjMp+KD6+AhfM/O3CNzcS0BQXKq8iFurdjIZP18SAGzIw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779656372360.74080280085957; Thu, 2 Mar 2023 09:54:16 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505300.778029 (Exim 4.92) (envelope-from ) id 1pXn7p-0000zX-LA; Thu, 02 Mar 2023 17:53:53 +0000 Received: by outflank-mailman (output) from mailman id 505300.778029; Thu, 02 Mar 2023 17:53:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7p-0000zP-I1; Thu, 02 Mar 2023 17:53:53 +0000 Received: by outflank-mailman (input) for mailman id 505300; Thu, 02 Mar 2023 17:53:51 +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 1pXn7n-00086w-Sd for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:51 +0000 Received: from esa6.hc3370-68.iphmx.com (esa6.hc3370-68.iphmx.com [216.71.155.175]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2f827142-b923-11ed-96ad-2f268f93b82a; Thu, 02 Mar 2023 18:53:50 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 2f827142-b923-11ed-96ad-2f268f93b82a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779630; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XlzauBoROJbKlRvdZpAzRjeIVuO3B6bK5CRK30Y6Ti8=; b=g085QqguondbqCtI9gYtbNOO5SOw3taDSlzfhSJyFl6K0nczPtUk+o9t z4138TXfP634bt/Iydahl5uO6tyJ0hnCJ3TIVFF6YX8EIcb5oHpHo2X9o 3QExtcxpbwlIDkSfWOxJZn0ErCuxP1gsYjJ+8bw3zbQoLdMB/nh9SZFph c=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 98603789 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:8VkI0KPidBSkz+TvrR2+l8FynXyQoLVcMsEvi/4bfWQNrUol0GEAn DZLXjzSaP7cNmfzc9wiO4rgpE9Vv5eHyIViGgto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6jufQAOKnUoYoAwgpLSd8UiAtlBl/rOAwh49skLCRDhiE/ Nj/uKUzAnf8s9JPGj9SuvLrRC9H5qyo42tD5gZmPpingXeF/5UrJMNHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNy+uTnuUiG9Y+DCDW4pZkc/HKbitq/0Te5p0TJvsEAXq7vh3S9zxHJ HehgrTrIeshFvWkdO3wyHC0GQkmVUFN0OevzXRSLaV/ZqAJGpfh66wGMa04AWEX0sNORkhj1 tgnEhBTQjHElsy15JLhTNA506zPLOGzVG8eknRpzDWfBvc6W5HTBa7N4Le03h9p2JoIR6yHI ZNEN3w2Nk+ojx5nYz/7DLo3mvuogX/uNSVVsluPqYI84nTJzRw327/oWDbQUo3aG50OwRbJz o7A12/7JjJKNeS58iOmwiKMxeX3l3+gCLtHQdVU8dY12QbOlwT/EiY+XlKhrf60okW3Qd5YJ gof/S9GhbMp6EWhQ935Xhu5iH2JpBgRX5xXCeJSwBGAzO/Y7hiUAkAATyVdc5o2uckuXzso2 1SV2dTzClRSXKa9ECzHsO3O9HXrZHZTdDVZDcMZcecby/za56gerTbwdPY9PI/yn/P2PRGqx Qnf+UDSmI4vpcIM0qy6+3XOjDStuoXFQ2YJ2+nHYo62xlgnPdD4PuRE/XCetK8dd9jBEjFtq VBew6CjAPYy4YZhfcBnaMEEB/mX6vmMK1UwanY/TsB6p1xBF5NOFL28AQ2Sxm8zb67omhezO ic/XD+9A7cCVEZGlYctP+qM5z0ClMAM7+jNWPHOdcZpaZNsbgKB9ywGTRfOgD+zwRV8yfhmZ cbznSOQ4ZEyU/kP8dZLb71Fje9DKt4Wngs/uqwXPzz4iOHDNRZ5uJ8OMUeUb/BR0U93iFy9z jqrDOPTk083eLSnMkHqHXs7cQhiwY4TWcqn9KS6t4erfmJbJY3WI6SKneh6ItQ7xvU9eyWh1 ijVZ3K0AWHX3RXvQThmoFg5AF8zdf6TdU4GABE= IronPort-HdrOrdr: A9a23:c9qUk6Dh2XE5JNnlHem755DYdb4zR+YMi2TDtnoBKiC9F/by/f xG885rtyMc9wxhPU3I9ersBEDiexPhHPxOj7X5VI3KNDUO3lHFEGgI1+rfKlPbdBEW/9QtsZ tdTw== X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="98603789" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 5/7] automation: Introduce DO_REBUILD_CONTAINER, to allow to rebuild a container Date: Thu, 2 Mar 2023 17:53:30 +0000 Message-ID: <20230302175332.56052-6-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779657750100006 Content-Type: text/plain; charset="utf-8" This allow to start a pipeline manually and set a variable to test the build of a single container, e.g. DO_REBUILD_CONTAINER =3D ubuntu/xenial Signed-off-by: Anthony PERARD --- automation/gitlab-ci/containers.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/automation/gitlab-ci/containers.yaml b/automation/gitlab-ci/co= ntainers.yaml index a6d61980b1..9074bfe6f1 100644 --- a/automation/gitlab-ci/containers.yaml +++ b/automation/gitlab-ci/containers.yaml @@ -7,6 +7,7 @@ - if: $CI_PIPELINE_SOURCE =3D=3D "push" && $CI_COMMIT_BRANCH =3D=3D "s= taging" changes: - automation/build/${BUILD_CONTAINER}.dockerfile + - if: $DO_REBUILD_CONTAINER =3D=3D $BUILD_CONTAINER services: - docker:dind before_script: --=20 Anthony PERARD From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779657; cv=none; d=zohomail.com; s=zohoarc; b=YamW/MfMtUicHrEETcuVFiTd+OPVJRkPIXFOOgml4RV85HyRC55dx8BKanAHkja5nJvQSTHApaI6EeSTtsXh0qTXgR1Tl6ASLY+IethDmGDp44fBH63d+DeeyTPmK2YQII3upoqpKw7ccoci3u9PTdKSsGvHkC1U4QXHa8gTiZc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779657; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hUefN81pXbgjdLG7YGDueUQNvFZYKSKAnLBiK3Engas=; b=nKxjhpqhVp4msJriPSafEXSn5jLE4h79Gzf1IjzC7k/AN7Ej6KjXM6Hwbuhsvu93tYkdligsRjKVq4fbkDKcAuixKa/vKwh+4mR3zTBkNoJ/GzIjiXZpFylmlaPDca6rv0yhj5DygJN/r9i5Jn12M0UCfCF/gq1nKJRAKx1XP1E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779657413452.5976785256621; Thu, 2 Mar 2023 09:54:17 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505301.778039 (Exim 4.92) (envelope-from ) id 1pXn7q-0001Gi-W6; Thu, 02 Mar 2023 17:53:54 +0000 Received: by outflank-mailman (output) from mailman id 505301.778039; Thu, 02 Mar 2023 17:53:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7q-0001G5-SX; Thu, 02 Mar 2023 17:53:54 +0000 Received: by outflank-mailman (input) for mailman id 505301; Thu, 02 Mar 2023 17:53:53 +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 1pXn7p-00086w-20 for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:53 +0000 Received: from esa6.hc3370-68.iphmx.com (esa6.hc3370-68.iphmx.com [216.71.155.175]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 314e9849-b923-11ed-96ad-2f268f93b82a; Thu, 02 Mar 2023 18:53:52 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 314e9849-b923-11ed-96ad-2f268f93b82a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779632; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1AvREz+PvLkNyC39prxv/3cYddEHElji8V8zUhhi588=; b=MD72dHcmexJVikVb7mKOn6pTtstvF4si8gIEVGvE9jBb18uJbqols0wN GOVLJ9YgqMQH7D7y3i36cY0B5zieT2WH5qXRYYGKTizbaTG8U2DuZnjMJ K/6nt+rjeH9uwFy79SUHRxKlxQ/phx2SS8EgeIhdSU9u7NvryMRh0sTVe I=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 98603790 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:w0QN+66Dg6OQFwe/8ySrUAxRtCPHchMFZxGqfqrLsTDasY5as4F+v jNMX2/SOquIYjPxKt11a4m3oB4H6sSAnYQwTwZo+CE0Hi5G8cbLO4+Ufxz6V8+wwm8vb2o8t plDNYOQRCwQZiWBzvt4GuG59RGQ7YnRGvynTraCYnsrLeNdYH9JoQp5nOIkiZJfj9G8Agec0 fv/uMSaM1K+s9JOGjt8B5mr9VU+7JwehBtC5gZlPasT5geF/5UoJMl3yZ+ZfiOQrrZ8RoZWd 86bpJml82XQ+QsaC9/Nut4XpWVTH9Y+lSDX4pZnc/DKbipq/0Te4Y5iXBYoUm9Fii3hojxE4 I4lWapc6+seFvakdOw1C3G0GszlVEFM0OevzXOX6aR/w6BaGpdFLjoH4EweZOUlFuhL7W5m0 MVfAR0uSi+5p7ya4fWqZOpIpp4lFZy+VG8fkikIITDxCP8nRdbIQrnQ5M8e1zA17ixMNa+AP YxDM2MpNUmeJUQVYT/7C7pn9AusrnD5bz1frkPTvact6nLf5AdwzKLsIJzefdniqcB9zxbG/ jmZrjyR7hcyFNqWxjCZ0yiWrMyRhC7CWo88Er2Ez6s/6LGU7jNKU0BHPbehmtGph0j7V99BJ kg8/is1sbN05EGtVsP6XRCzvDiDpBF0c9FZCeE95SmGw7DY5AvfDW8BJhZac8AvvsIyQT0s1 3eKksnvCDgpt6eaIU9x7Z/N82n0Y3JMazZfO2ldF1BtD8TfTJ8bqyuIZ/tANJGProPZOHbh7 TOujHI4vuBG5SIU7JmT8VfCijOqg5HGSA8p+wnaNl6YAhNFiJ2NPNLxtwWChRpUBMPAFwTa4 iBY8ySLxLpWZaxhghBhVwnk8FuBw/+eeAPRjld0d3XK32T8oiXzFWy8DdwXGauIDirmUWW0C KMwkVkLjHO2AJdNRf4fXm5JI552pZUM7Py8PhwuUvJAY4JqaCiM9zx0aEib0gjFyRZzzv9uZ MfDKJ/wXB727JiLKxLsGo8gPUIDnHhilQs/u7igp/hY7VZuTCHMEupUWLd/Rus48LmFsG3oH yV3bqO3J+FkeLSmOEH/qNdDRW3m2FBnXfgaXeQLLL/cSuencUl9Y8LsLUQJINc5xP8MzrmRr xlQmCZwkTLCuJEOEi3SAlgLVV8ldc8XQa4TVcD0AWuV5g== IronPort-HdrOrdr: A9a23:44Nwq6wEYqckkHcAG5cxKrPwO71zdoMgy1knxilNoH1uA6+lfq WV954mPHDP+VQssQ4b6LW90cW7LE80lqQU3WByB9mftWDd0QOVxedZgbcKqAeAJ8SRzIFgPK 5bAsxDNOE= X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="98603790" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 6/7] automation: Push container been tested Date: Thu, 2 Mar 2023 17:53:31 +0000 Message-ID: <20230302175332.56052-7-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779657760100007 Content-Type: text/plain; charset="utf-8" Now, we can run a pipeline and set two variables to have a container been rebuilt, tested, and pushed. Variables: DO_REBUILD_CONTAINER =3D "ubuntu/xenial" PUSH_CONTAINER =3D 1 Or if PUSH_CONTAINER is set on a gitlab project "xen-project/xen", a change on the dockerfile can result in a container been rebuild when the change is pushed to staging. The push-containers stage pull the container been tested and retag it before pushing it. So both tagged container with and without "-test" suffix are the same. Signed-off-by: Anthony PERARD --- Notes: Something that could be added is to check that the container that we are going to push is the same one that have been tested. Maybe by comparing "digest", or maybe by using a suffix that is only generated by the current pipeline. .gitlab-ci.yml | 2 ++ automation/build/Makefile | 12 +++++++++ automation/gitlab-ci/push-containers.yaml | 30 +++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 automation/gitlab-ci/push-containers.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed5383ab50..0cd45ad001 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,9 +3,11 @@ stages: - test - containers - test-containers + - push-containers =20 include: - 'automation/gitlab-ci/build.yaml' - 'automation/gitlab-ci/test.yaml' - 'automation/gitlab-ci/containers.yaml' - 'automation/gitlab-ci/test-containers.yaml' + - 'automation/gitlab-ci/push-containers.yaml' diff --git a/automation/build/Makefile b/automation/build/Makefile index 5515938878..14d1320b23 100644 --- a/automation/build/Makefile +++ b/automation/build/Makefile @@ -21,6 +21,18 @@ include yocto/yocto.inc $(DOCKER_CMD) push $(REGISTRY)/$(@D):$(@F)$(BUILD_CONTAINER_SUFFIX); \ fi =20 +# rule used by GitLab CI jobs, to push a container that as just been built= and +# tested. It override the rule used to build a container. +ifdef PUSH_TEST_CONTAINER_SUFFIX +%: %.dockerfile + $(if $(BUILD_CONTAINER_SUFFIX),$(error BUILD_CONTAINER_SUFFIX should not = be set anymore)) + $(DOCKER_CMD) pull $(REGISTRY)/$(@D):$(@F)$(PUSH_TEST_CONTAINER_SUFFIX) + $(DOCKER_CMD) image tag $(REGISTRY)/$(@D):$(@F)$(PUSH_TEST_CONTAINER_SUFF= IX) $(REGISTRY)/$(@D):$(@F) + @if [ ! -z $${PUSH+x} ]; then \ + $(DOCKER_CMD) push $(REGISTRY)/$(@D):$(@F); \ + fi +endif + .PHONY: all clean all: $(CONTAINERS) =20 diff --git a/automation/gitlab-ci/push-containers.yaml b/automation/gitlab-= ci/push-containers.yaml new file mode 100644 index 0000000000..d7e7e2b9e2 --- /dev/null +++ b/automation/gitlab-ci/push-containers.yaml @@ -0,0 +1,30 @@ +.push-container-build-tmpl: + stage: push-containers + image: docker:stable + tags: + - container-builder + rules: + - if: $PUSH_CONTAINER !=3D "1" + when: never + - !reference [.container-build-tmpl, rules] + services: + - docker:dind + before_script: + - apk add make + - docker info + - docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY + script: + - make -C automation/build ${BUILD_CONTAINER} PUSH=3D1 PUSH_TEST_CONTA= INER_SUFFIX=3D-test + after_script: + - docker logout + +push-ubuntu-xenial-container: + variables: + BUILD_CONTAINER: ubuntu/xenial + extends: + - .push-container-build-tmpl + needs: + - test-ubuntu-xenial-clang + - test-ubuntu-xenial-clang-debug + - test-ubuntu-xenial-gcc + - test-ubuntu-xenial-gcc-debug --=20 Anthony PERARD From nobody Sun Nov 10 19:19:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1677779647; cv=none; d=zohomail.com; s=zohoarc; b=lWsVaXP2ckh8KFpTPKe3d5rCCnNtJRmooyuA/0pbozJgrdpjS2WuoTG1k9Ae9tDmC8I5DLgedWgb24aJbivYvDdmOYUfcwbH0pSbsLbc6lP29vHgyWQwgcCLzaV1fsq4q9DZkqWHP1D4AN98xyB9C3YpNyY/ZRPxtUZwQsNereI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677779647; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DzyOlevVGmsem2EvtKkyXs5AINtJmAsHLTG/80dZidw=; b=G6UDpeO5z9CE55YRcm0EHqv9Wh5lQInm0wLBYPTHnv2/KlsbA89ZFENIo/LVYEh39zCuKbF2YkHZ6tbIiEf1UrKenJj9Al+Atq/uhsF7vRXtX30CQhM8MCG6G5NOqDPd1+mt5+Vd5GfmSj9zNGIaWBe1X3/MJuJBrbCs27pijIc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677779646919732.3211973680053; Thu, 2 Mar 2023 09:54:06 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.505302.778044 (Exim 4.92) (envelope-from ) id 1pXn7r-0001LI-FK; Thu, 02 Mar 2023 17:53:55 +0000 Received: by outflank-mailman (output) from mailman id 505302.778044; Thu, 02 Mar 2023 17:53:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pXn7r-0001KV-6n; Thu, 02 Mar 2023 17:53:55 +0000 Received: by outflank-mailman (input) for mailman id 505302; Thu, 02 Mar 2023 17:53:53 +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 1pXn7p-00086v-JC for xen-devel@lists.xenproject.org; Thu, 02 Mar 2023 17:53:53 +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 30dc18d8-b923-11ed-a550-8520e6686977; Thu, 02 Mar 2023 18:53:51 +0100 (CET) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 30dc18d8-b923-11ed-a550-8520e6686977 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677779631; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=41sghBoO8iiYFjw7w2/Kh+k/zWU5vL4WETIJdv/Xr+s=; b=Q/6Q8A6j9h2/xtFXQduEIXd13SZ1BFAQTHioesI4RblOOCjmr4Hc/DYh ElnwAuOhn1N3wCZoH057wjqVXhl1l94boKVJ//nY67b77cdxKhpXRZcJM tBCRUqd43u3G4GdCd4pPcOJz5jzgcTZa/7wRpTD7vJhwTSsCcvvmDjB6l w=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 101652784 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:iLOzna/X/pGLjus+D6a7DrUDmn6TJUtcMsCJ2f8bNWPcYEJGY0x3x 2ZLDz3QPvjZN2Wgc9wkat6x9RgCv5OExtBmQQc4+Sk8E34SpcT7XtnIdU2Y0wF+jCHgZBk+s 5hBMImowOQcFCK0SsKFa+C5xZVE/fjUAOG6UKicYXoZqTZMEE8JkQhkl/MynrlmiN24BxLlk d7pqojUNUTNNwRcawr40Ire7kI/1BjOkGlA5AdmPqgR5AS2e0Q9V/rzG4ngdxMUfaEMdgKKb 76r5K20+Grf4yAsBruN+losWhRXKlJ6FVHmZkt+A8BOsDAbzsAB+v9T2M4nQVVWk120c+VZk 72hg3ASpTABZcUgkMxFO/VR/roX0aduoNcrKlDn2SCfItGvn9IBDJyCAWlvVbD09NqbDklI6 vpbCigKUSvAlue/34qCZexqgtYseZyD0IM34hmMzBncBPciB5vCX7/L9ZlT2zJYasJmRKiEI ZBDMHw2MUqGOkcUUrsUIMtWcOOAj3/jczpeuRSNqLA++WT7xw1tyrn9dtHSf7RmQO0Mxh/G+ ziZrziR7hcyNO7H0BymzXOXpczkww7GZt5OEKOf+as/6LGU7jNKU0BHPbehmtGph0j7V99BJ kg8/is1sbN05EGtVsP6XRCzvDiDpBF0c9FZCeE95SmGw7DY5AvfDW8BJhZac8AvvsIyQT0s1 3eKksnvCDgpt6eaIU9x7Z/N82n0Y3JMazZfO2ldF1BtD8TfTJ8biA3JDfR7F5GOzczwEC7I+ h+PqiwsiOBG5SIU7JmT8VfCijOqg5HGSA8p+wnaNl6YAhNFiJ2NPNLxtwWChRpUBMPAFwTa4 iBY8ySLxLpWZaxhghBhVwnk8FuBw/+eeAPRjld0d3XK32T8oiXzFWy8DdwXGauIDirmUWW0C KMwkVkLjHO2AJdNRf4fXm5JI552pZUM7Py8PhwuUvJAY4JqaCiM9zx0aEib0gjFyRZzzv9uZ MfDKJ/wXB727JiLKxLsGo8gPUIDnHhilQs/u7igp/hY7VZuTCHMEupUWLd/Rus48LmFsG3oH yV3bqO3J+FkeLSmOEH/qNdDRW3m2FBnXfgaXeQLLL/cSuencUl9Y8LsLUQJINc5xP8MzrmRr xlQmCZwkTLCuJEOEi3SAlgLVV8ldc8XQa4TVcD0AWuV5g== IronPort-HdrOrdr: A9a23:+qKd+KEYYTsD4xFtpLqEPseALOsnbusQ8zAXPiFKOHhom6mj+q yTdZsguyMc5AxxZJhYo6HmBEDYewK7yXcX2/h1AV7BZmbbUQKTRekJ0WKF+V3d8kXFndK1vp 0QEZSWZueAbmSTWa7BkXGF+8lJ+qj4zEi47d2utkuEU2lRGtpdBg1Ce3mm+hAffng9OXIgfK Dsm/auvFKbCAgqUvg= X-IronPort-AV: E=Sophos;i="5.98,228,1673931600"; d="scan'208";a="101652784" From: Anthony PERARD To: CC: Andrew Cooper , Anthony PERARD , Doug Goldstein , "Stefano Stabellini" Subject: [RFC XEN PATCH 7/7] automation: Add some more push containers jobs Date: Thu, 2 Mar 2023 17:53:32 +0000 Message-ID: <20230302175332.56052-8-anthony.perard@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230302175332.56052-1-anthony.perard@citrix.com> References: <20230302175332.56052-1-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677779648011100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Anthony PERARD --- Notes: WARNING: This is an incomplete list of jobs needed to push. automation/gitlab-ci/push-containers.yaml | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/automation/gitlab-ci/push-containers.yaml b/automation/gitlab-= ci/push-containers.yaml index d7e7e2b9e2..3785e29250 100644 --- a/automation/gitlab-ci/push-containers.yaml +++ b/automation/gitlab-ci/push-containers.yaml @@ -18,6 +18,33 @@ after_script: - docker logout =20 +push-archlinux-current-container: + variables: + BUILD_CONTAINER: archlinux/current + extends: + - .push-container-build-tmpl + needs: + - test-archlinux-gcc + - test-archlinux-gcc-debug + +push-debian-stretch-32-container: + variables: + BUILD_CONTAINER: debian/stretch-i386 + extends: + - .push-container-build-tmpl + needs: + - test-debian-stretch-32-clang-debug + - test-debian-stretch-32-gcc-debug + +push-debian-unstable-32-container: + variables: + BUILD_CONTAINER: debian/unstable-i386 + extends: + - .push-container-build-tmpl + needs: + - test-debian-unstable-32-clang-debug + - test-debian-unstable-32-gcc-debug + push-ubuntu-xenial-container: variables: BUILD_CONTAINER: ubuntu/xenial @@ -28,3 +55,25 @@ push-ubuntu-xenial-container: - test-ubuntu-xenial-clang-debug - test-ubuntu-xenial-gcc - test-ubuntu-xenial-gcc-debug + +push-ubuntu-bionic-container: + variables: + BUILD_CONTAINER: ubuntu/bionic + extends: + - .push-container-build-tmpl + needs: + - test-ubuntu-bionic-clang + - test-ubuntu-bionic-clang-debug + - test-ubuntu-bionic-gcc + - test-ubuntu-bionic-gcc-debug + +push-ubuntu-focal-container: + variables: + BUILD_CONTAINER: ubuntu/focal + extends: + - .push-container-build-tmpl + needs: + - test-ubuntu-focal-gcc + - test-ubuntu-focal-gcc-debug + - test-ubuntu-focal-clang + - test-ubuntu-focal-clang-debug --=20 Anthony PERARD