From patchwork Thu Mar 9 10:28:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quirin Gylstorff X-Patchwork-Id: 13167181 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61C2BC74A4B for ; Thu, 9 Mar 2023 10:28:30 +0000 (UTC) Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net [185.136.64.227]) by mx.groups.io with SMTP id smtpd.web11.10027.1678357706974019885 for ; Thu, 09 Mar 2023 02:28:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=Quirin.Gylstorff@siemens.com header.s=fm1 header.b=oYbcsRy9; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.227, mailfrom: fm-51332-202303091028258a7f599bb0b0f54d7f-ywyjpq@rts-flowmailer.siemens.com) Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 202303091028258a7f599bb0b0f54d7f for ; Thu, 09 Mar 2023 11:28:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=Quirin.Gylstorff@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References:In-Reply-To; bh=jdqrKQW6nK9WKcpdm3TbBVvVoXO7RPI+bRvO4s47+JQ=; b=oYbcsRy98dMP+vfYk6J15iVbFwgjBros7q2wVsFcGQZU7VvHVWW5Ylo4b21b4o4DI0uiCp uC5u3aGbEw1W18SWOxeeX9gUNFUbRuOCFg6G9+ByFVfejOxOqg9+q9K9lZYYVrWiSCbV1Lfq 6lSHIWGjpyQSSaSHr+ZjJ0kdOZLD4=; From: Quirin Gylstorff To: cip-dev@lists.cip-project.org, christian.storm@siemens.com, jan.kiszka@siemens.com Subject: [cip-dev][isar-cip-core][PATCH v6 6/7] .gitlabci: Add ci build Date: Thu, 9 Mar 2023 11:28:20 +0100 Message-Id: <20230309102821.307140-7-Quirin.Gylstorff@siemens.com> In-Reply-To: <20230309102821.307140-1-Quirin.Gylstorff@siemens.com> References: <20230309102821.307140-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-51332:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 09 Mar 2023 10:28:30 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/10967 From: Quirin Gylstorff Signed-off-by: Quirin Gylstorff --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f51b64b..1921183 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ variables: release: bullseye extension: none use_rt: enable + tpm: disable wic_targz: enable targz: disable dtb: none @@ -55,6 +56,7 @@ default: - if [ "${release}" = "buster" ]; then base_yaml="${base_yaml}:kas/opt/buster.yml"; fi - if [ "${release}" = "bullseye" ]; then base_yaml="${base_yaml}:kas/opt/bullseye.yml"; fi - if [ "${release}" = "sid-ports" ]; then base_yaml="${base_yaml}:kas/opt/sid-ports.yml"; fi + - if [ "${tpm}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/encrypt-partitions.yml"; fi - echo "Building ${base_yaml}" - kas build ${base_yaml} - if [ "${deploy}" = "enable" ]; then scripts/deploy-cip-core.sh ${release} ${target} ${extension} ${dtb} ${CI_COMMIT_REF_SLUG}; fi @@ -224,6 +226,17 @@ build:qemu-amd64-secure-boot: wic_targz: disable deploy: disable +build:qemu-amd64-secure-boot-tpm: + extends: + - .build_base + variables: + target: qemu-amd64 + extension: ebg-secure-boot-snakeoil + use_rt: disable + wic_targz: disable + deploy: disable + tpm: enable + build:qemu-amd64-swupdate: extends: - .build_base