From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.13866.1633014158775988091 for ; Thu, 30 Sep 2021 08:02:39 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 57130101E; Thu, 30 Sep 2021 08:02:38 -0700 (PDT) Received: from [192.168.1.16] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9E75C3F70D; Thu, 30 Sep 2021 08:02:36 -0700 (PDT) Subject: Re: [edk2-devel] [PATCH edk2-platforms v3 0/6] Enable edk2-platforms CI for JunoPkg To: devel@edk2.groups.io, Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao , Sami Mujawar , ray.ni@intel.com, dun.tan@intel.com References: <169693EE32049FB7.13735@groups.io> From: "PierreGondois" Message-ID: <79bd7c88-c603-d1a7-633c-b07ec2ba6654@arm.com> Date: Thu, 30 Sep 2021 16:02:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <169693EE32049FB7.13735@groups.io> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Hi, The patchset at https://edk2.groups.io/g/devel/topic/85943052#81296 is adding a pipeline to build a platform in edk2-platforms when some edk2 code is modified. I think this is a good idea and wanted to take this opportunity to also enable pipelines for the edk2-platforms repository and/or ask whether there were some updates for this. Regards, Pierre On 7/30/21 2:15 PM, PierreGondois via groups.io wrote: > From: Pierre Gondois > > v3: > - Replace Readme(s)'s by a reference to the initial Readmed(s) in > tianocore repository. [Sean] > - Align CI files with the latest version in the edk2 repository. > [Sean/Michael] > - Add additional step to checkout edk2's latest master in the CI. > [Pierre] > v2: > - Use tianocore repository instead of personal repository > for edk2 submodule [Pierre] > - Bugzilla associated to the topic: > https://bugzilla.tianocore.org/show_bug.cgi?id=3509 > > This patch-set is dependent on the following patch-set: > edk2-platforms: > [PATCH v1 0/2] Fix duplicated GUID > https://edk2.groups.io/g/devel/message/76910 > > It provides the configuration files necessary to run an upstream CI > similar to the one currently used for the main edk2 repository. The > configuration is mostly similar aswel. > Enabling the CI requires administrator rights on the edk2-platforms > repository. This configuration was tested on a private repository, > but will require additional configuration from the administrator. > > Compared to edk2's CI, an additional step has been added to checkout > edk2's latest master. Indeed, some changes in the edk2-platforms > repository might rely on modifications in the edk2 repository. > The policy here would be to have edk2's repository's modifications > accepted first so edk2-platforms's CI can complete successfully. > > As the new edk2 submodule is updated to the latest master when running > the CI, this still raises the question of when to update this new edk2 > submodule. > > The changes can be seen at: > https://github.com/PierreARM/edk2-platforms/tree/1628_Enable_edk2_platforms_ci_for_JunoPkg_v3 > > Pierre Gondois (6): > edk2-platforms: add edk2 repository as a submodule > pip-requirements.txt: Add python pip requirements file > .pytool/Plugin: Add CI plugins > .azurepipelines: Add Azure Pipelines YML configuration files > .mergify: Add Mergify YML pull request rules configuration file > Platform/ARM: Juno: Add JunoPkg.ci.yaml for CI support > > .azurepipelines/ReadMe.md | 5 + > .azurepipelines/Ubuntu-GCC5.yml | 20 ++ > .azurepipelines/Ubuntu-PatchCheck.yml | 36 ++++ > .azurepipelines/Windows-VS2019.yml | 20 ++ > .azurepipelines/templates/ReadMe.md | 5 + > .../templates/basetools-build-steps.yml | 37 ++++ > .../templates/platform-build-run-steps.yml | 151 ++++++++++++++ > .../templates/pr-gate-build-job.yml | 43 ++++ > .azurepipelines/templates/pr-gate-steps.yml | 149 ++++++++++++++ > .../templates/spell-check-prereq-steps.yml | 22 +++ > .gitmodules | 3 + > .mergify/config.yml | 50 +++++ > .pytool/CISettings.py | 184 ++++++++++++++++++ > .pytool/Readme.md | 25 +++ > Platform/ARM/JunoPkg/JunoPkg.ci.yaml | 104 ++++++++++ > edk2 | 1 + > pip-requirements.txt | 18 ++ > 17 files changed, 873 insertions(+) > create mode 100644 .azurepipelines/ReadMe.md > create mode 100644 .azurepipelines/Ubuntu-GCC5.yml > create mode 100644 .azurepipelines/Ubuntu-PatchCheck.yml > create mode 100644 .azurepipelines/Windows-VS2019.yml > create mode 100644 .azurepipelines/templates/ReadMe.md > create mode 100644 .azurepipelines/templates/basetools-build-steps.yml > create mode 100644 .azurepipelines/templates/platform-build-run-steps.yml > create mode 100644 .azurepipelines/templates/pr-gate-build-job.yml > create mode 100644 .azurepipelines/templates/pr-gate-steps.yml > create mode 100644 .azurepipelines/templates/spell-check-prereq-steps.yml > create mode 100644 .mergify/config.yml > create mode 100644 .pytool/CISettings.py > create mode 100644 .pytool/Readme.md > create mode 100644 Platform/ARM/JunoPkg/JunoPkg.ci.yaml > create mode 160000 edk2 > create mode 100644 pip-requirements.txt >