[edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg

Michael Kubacki posted 6 patches 4 years ago
Only 0 patches received!
There is a newer version of this series
.azurepipelines/ReadMe.md                              |  50 ++++
.azurepipelines/templates/ReadMe.md                    |  59 +++++
.azurepipelines/templates/platform-build-run-steps.yml | 134 ++++++++++
.azurepipelines/templates/pr-gate-build-job.yml        |   5 +
.pytool/CISettings.py                                  |   7 +-
.pytool/Plugin/SpellCheck/cspell.base.yaml             |  14 ++
.pytool/Readme.md                                      |  10 +-
ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml             |  89 +++++++
ArmVirtPkg/ArmVirtPkg.ci.yaml                          | 103 ++++++++
ArmVirtPkg/PlatformBuild.py                            | 263 ++++++++++++++++++++
ArmVirtPkg/README-pytools.md                           | 123 +++++++++
ArmVirtPkg/iasl_ext_dep.yaml                           |  21 ++
EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml            |  95 +++++++
EmulatorPkg/.azurepipelines/Windows-VS2019.yml         |  85 +++++++
EmulatorPkg/EmulatorPkg.ci.yaml                        |  85 +++++++
EmulatorPkg/PlatformBuild.py                           | 252 +++++++++++++++++++
EmulatorPkg/README-pytools.md                          | 173 +++++++++++++
OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml                | 133 ++++++++++
OvmfPkg/.azurepipelines/Windows-VS2019.yml             | 138 ++++++++++
OvmfPkg/OvmfPkg.ci.yaml                                |  83 ++++++
OvmfPkg/PlatformBuild.py                               | 242 ++++++++++++++++++
OvmfPkg/README-pytools.md                              | 238 ++++++++++++++++++
OvmfPkg/iasl_ext_dep.yaml                              |  21 ++
23 files changed, 2415 insertions(+), 8 deletions(-)
create mode 100644 .azurepipelines/ReadMe.md
create mode 100644 .azurepipelines/templates/ReadMe.md
create mode 100644 .azurepipelines/templates/platform-build-run-steps.yml
create mode 100644 ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml
create mode 100644 ArmVirtPkg/ArmVirtPkg.ci.yaml
create mode 100644 ArmVirtPkg/PlatformBuild.py
create mode 100644 ArmVirtPkg/README-pytools.md
create mode 100644 ArmVirtPkg/iasl_ext_dep.yaml
create mode 100644 EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml
create mode 100644 EmulatorPkg/.azurepipelines/Windows-VS2019.yml
create mode 100644 EmulatorPkg/EmulatorPkg.ci.yaml
create mode 100644 EmulatorPkg/PlatformBuild.py
create mode 100644 EmulatorPkg/README-pytools.md
create mode 100644 OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml
create mode 100644 OvmfPkg/.azurepipelines/Windows-VS2019.yml
create mode 100644 OvmfPkg/OvmfPkg.ci.yaml
create mode 100644 OvmfPkg/PlatformBuild.py
create mode 100644 OvmfPkg/README-pytools.md
create mode 100644 OvmfPkg/iasl_ext_dep.yaml
[edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Michael Kubacki 4 years ago
From: Michael Kubacki <michael.kubacki@microsoft.com>

The following 6 patches adds support for "Platform CI" for ArmVirtPkg,
OvmfPkg, and EmulatorPkg.

Each readme has live status and links to the builds as well as details
of how to build and run the same way the CI server will.

ArmVirtPkg:
https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v5/ArmVirtPkg/README-pytools.md

EmulatorPkg:
https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v5/EmulatorPkg/README-pytools.md

OvmfPkg:
https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v5/OvmfPkg/README-pytools.md

The patch set also adds ArmVirtPkg, OvmfPkg, and EmulatorPkg to Core CI for
the code evaluation tests (not compiling). Details of those tests are here:
https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v5/.pytool

Branch can be reviewed here: https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVirtEmulatorPackages_v5

Please send feedback to the mailing list and do not leave feedback directly
on github.

On a separate note, shallow threading might not work on this patch series
due to changes made by the SMTP server. Please bear with me while I am
investigating if this can be changed.

Cc: Andrew Fish <afish@apple.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>

Sean Brogan (6):
  .azurepipelines: Add Platform CI template
  ArmVirtPkg: Add Platform CI and configuration for Core CI
  EmulatorPkg: Add Platform CI and configuration for Core CI
  OvmfPkg: Add Platform CI and configuration for Core CI
  .pytool: Update CI Settings to support Emulator, ArmVirt, and Ovmf
    packages
  .azurepipelines: Update Core CI build matrix to include platforms

 .azurepipelines/ReadMe.md                              |  50 ++++
 .azurepipelines/templates/ReadMe.md                    |  59 +++++
 .azurepipelines/templates/platform-build-run-steps.yml | 134 ++++++++++
 .azurepipelines/templates/pr-gate-build-job.yml        |   5 +
 .pytool/CISettings.py                                  |   7 +-
 .pytool/Plugin/SpellCheck/cspell.base.yaml             |  14 ++
 .pytool/Readme.md                                      |  10 +-
 ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml             |  89 +++++++
 ArmVirtPkg/ArmVirtPkg.ci.yaml                          | 103 ++++++++
 ArmVirtPkg/PlatformBuild.py                            | 263 ++++++++++++++++++++
 ArmVirtPkg/README-pytools.md                           | 123 +++++++++
 ArmVirtPkg/iasl_ext_dep.yaml                           |  21 ++
 EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml            |  95 +++++++
 EmulatorPkg/.azurepipelines/Windows-VS2019.yml         |  85 +++++++
 EmulatorPkg/EmulatorPkg.ci.yaml                        |  85 +++++++
 EmulatorPkg/PlatformBuild.py                           | 252 +++++++++++++++++++
 EmulatorPkg/README-pytools.md                          | 173 +++++++++++++
 OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml                | 133 ++++++++++
 OvmfPkg/.azurepipelines/Windows-VS2019.yml             | 138 ++++++++++
 OvmfPkg/OvmfPkg.ci.yaml                                |  83 ++++++
 OvmfPkg/PlatformBuild.py                               | 242 ++++++++++++++++++
 OvmfPkg/README-pytools.md                              | 238 ++++++++++++++++++
 OvmfPkg/iasl_ext_dep.yaml                              |  21 ++
 23 files changed, 2415 insertions(+), 8 deletions(-)
 create mode 100644 .azurepipelines/ReadMe.md
 create mode 100644 .azurepipelines/templates/ReadMe.md
 create mode 100644 .azurepipelines/templates/platform-build-run-steps.yml
 create mode 100644 ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml
 create mode 100644 ArmVirtPkg/ArmVirtPkg.ci.yaml
 create mode 100644 ArmVirtPkg/PlatformBuild.py
 create mode 100644 ArmVirtPkg/README-pytools.md
 create mode 100644 ArmVirtPkg/iasl_ext_dep.yaml
 create mode 100644 EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml
 create mode 100644 EmulatorPkg/.azurepipelines/Windows-VS2019.yml
 create mode 100644 EmulatorPkg/EmulatorPkg.ci.yaml
 create mode 100644 EmulatorPkg/PlatformBuild.py
 create mode 100644 EmulatorPkg/README-pytools.md
 create mode 100644 OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml
 create mode 100644 OvmfPkg/.azurepipelines/Windows-VS2019.yml
 create mode 100644 OvmfPkg/OvmfPkg.ci.yaml
 create mode 100644 OvmfPkg/PlatformBuild.py
 create mode 100644 OvmfPkg/README-pytools.md
 create mode 100644 OvmfPkg/iasl_ext_dep.yaml

-- 
2.16.3.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57076): https://edk2.groups.io/g/devel/message/57076
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Zhang, Shenglei 4 years ago
Hi Sean/Michael,

Did you have test for the added piplines?

Thanks,
Shenglei

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Michael Kubacki
> Sent: Thursday, April 9, 2020 2:13 AM
> To: devel@edk2.groups.io
> Cc: Andrew Fish <afish@apple.com>; Ard Biesheuvel
> <ard.biesheuvel@arm.com>; Bret Barkelew
> <Bret.Barkelew@microsoft.com>; Justen, Jordan L
> <jordan.l.justen@intel.com>; Laszlo Ersek <lersek@redhat.com>; Leif
> Lindholm <leif@nuviainc.com>; Gao, Liming <liming.gao@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Sean
> Brogan <sean.brogan@microsoft.com>
> Subject: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for
> ArmVirtPkg, EmulatorPkg, and OvmfPkg
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> The following 6 patches adds support for "Platform CI" for ArmVirtPkg,
> OvmfPkg, and EmulatorPkg.
> 
> Each readme has live status and links to the builds as well as details
> of how to build and run the same way the CI server will.
> 
> ArmVirtPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/ArmVirtPkg/README-pytools.md
> 
> EmulatorPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/EmulatorPkg/README-pytools.md
> 
> OvmfPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/OvmfPkg/README-pytools.md
> 
> The patch set also adds ArmVirtPkg, OvmfPkg, and EmulatorPkg to Core CI
> for
> the code evaluation tests (not compiling). Details of those tests are here:
> https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVir
> tEmulatorPackages_v5/.pytool
> 
> Branch can be reviewed here:
> https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVir
> tEmulatorPackages_v5
> 
> Please send feedback to the mailing list and do not leave feedback directly
> on github.
> 
> On a separate note, shallow threading might not work on this patch series
> due to changes made by the SMTP server. Please bear with me while I am
> investigating if this can be changed.
> 
> Cc: Andrew Fish <afish@apple.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> Sean Brogan (6):
>   .azurepipelines: Add Platform CI template
>   ArmVirtPkg: Add Platform CI and configuration for Core CI
>   EmulatorPkg: Add Platform CI and configuration for Core CI
>   OvmfPkg: Add Platform CI and configuration for Core CI
>   .pytool: Update CI Settings to support Emulator, ArmVirt, and Ovmf
>     packages
>   .azurepipelines: Update Core CI build matrix to include platforms
> 
>  .azurepipelines/ReadMe.md                              |  50 ++++
>  .azurepipelines/templates/ReadMe.md                    |  59 +++++
>  .azurepipelines/templates/platform-build-run-steps.yml | 134 ++++++++++
>  .azurepipelines/templates/pr-gate-build-job.yml        |   5 +
>  .pytool/CISettings.py                                  |   7 +-
>  .pytool/Plugin/SpellCheck/cspell.base.yaml             |  14 ++
>  .pytool/Readme.md                                      |  10 +-
>  ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml             |  89 +++++++
>  ArmVirtPkg/ArmVirtPkg.ci.yaml                          | 103 ++++++++
>  ArmVirtPkg/PlatformBuild.py                            | 263 ++++++++++++++++++++
>  ArmVirtPkg/README-pytools.md                           | 123 +++++++++
>  ArmVirtPkg/iasl_ext_dep.yaml                           |  21 ++
>  EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml            |  95 +++++++
>  EmulatorPkg/.azurepipelines/Windows-VS2019.yml         |  85 +++++++
>  EmulatorPkg/EmulatorPkg.ci.yaml                        |  85 +++++++
>  EmulatorPkg/PlatformBuild.py                           | 252 +++++++++++++++++++
>  EmulatorPkg/README-pytools.md                          | 173 +++++++++++++
>  OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml                | 133 ++++++++++
>  OvmfPkg/.azurepipelines/Windows-VS2019.yml             | 138 ++++++++++
>  OvmfPkg/OvmfPkg.ci.yaml                                |  83 ++++++
>  OvmfPkg/PlatformBuild.py                               | 242 ++++++++++++++++++
>  OvmfPkg/README-pytools.md                              | 238 ++++++++++++++++++
>  OvmfPkg/iasl_ext_dep.yaml                              |  21 ++
>  23 files changed, 2415 insertions(+), 8 deletions(-)
>  create mode 100644 .azurepipelines/ReadMe.md
>  create mode 100644 .azurepipelines/templates/ReadMe.md
>  create mode 100644 .azurepipelines/templates/platform-build-run-
> steps.yml
>  create mode 100644 ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 ArmVirtPkg/ArmVirtPkg.ci.yaml
>  create mode 100644 ArmVirtPkg/PlatformBuild.py
>  create mode 100644 ArmVirtPkg/README-pytools.md
>  create mode 100644 ArmVirtPkg/iasl_ext_dep.yaml
>  create mode 100644 EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 EmulatorPkg/.azurepipelines/Windows-VS2019.yml
>  create mode 100644 EmulatorPkg/EmulatorPkg.ci.yaml
>  create mode 100644 EmulatorPkg/PlatformBuild.py
>  create mode 100644 EmulatorPkg/README-pytools.md
>  create mode 100644 OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 OvmfPkg/.azurepipelines/Windows-VS2019.yml
>  create mode 100644 OvmfPkg/OvmfPkg.ci.yaml
>  create mode 100644 OvmfPkg/PlatformBuild.py
>  create mode 100644 OvmfPkg/README-pytools.md
>  create mode 100644 OvmfPkg/iasl_ext_dep.yaml
> 
> --
> 2.16.3.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57301): https://edk2.groups.io/g/devel/message/57301
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Sean via groups.io 4 years ago
what do you mean "test for the adding pipelines"?

The pipeline currently builds the platforms and then runs them to the shell where it has a startup.nsh which does reset -h.
If the boot fails or hangs the task will timeout in 1 minute and then fail.

Thanks
Sean

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57397): https://edk2.groups.io/g/devel/message/57397
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Zhang, Shenglei 4 years ago
Sorry for that. I didn’t make the query clear.

·         what do you mean "test for the adding pipelines"?  I mean when you add a new pipline how do you know it can work well on github and all steps work correctly. Do you have test on a local server or something?

Thanks,
Shenglei

From: sean.brogan via [] [mailto:sean.brogan=microsoft.com@[]]
Sent: Wednesday, April 15, 2020 2:52 PM
To: Zhang; Zhang, Shenglei <shenglei.zhang@intel.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg

what do you mean "test for the adding pipelines"?

The pipeline currently builds the platforms and then runs them to the shell where it has a startup.nsh which does reset -h.
If the boot fails or hangs the task will timeout in 1 minute and then fail.

Thanks
Sean

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57400): https://edk2.groups.io/g/devel/message/57400
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Sean via groups.io 4 years ago
No local server.  I use a free devops account.  When i was standing up the original Core CI project for tianocore I created a Azure devops project here https://dev.azure.com/tianocore/edk2-ci-play
In this project I can connect to my fork on github and run builds.  Anyone else could also setup their own free Azure devops project and connect it to your own github fork of edk2 to test it.  This should be a requirement as it took me dozens of runs to get everything working and passing as well as to adjust the syntax to leverage shared files as much as is practical.

Actually after the patchset is accepted and the files committed there will need to be one more commit that changes the links for the build badges (in the readme) to point to the "official" versions.  Right now they are pointing at my builds in edk2-ci-play.

thanks
sean

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57416): https://edk2.groups.io/g/devel/message/57416
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Rebecca Cran 4 years ago
On 4/15/2020 10:15 AM, Sean via groups.io wrote:
> No local server.  I use a free devops account.  When i was standing up 
> the original Core CI project for tianocore I created a Azure devops 
> project here https://dev.azure.com/tianocore/edk2-ci-play
> In this project I can connect to my fork on github and run builds.  
> Anyone else could also setup their own free Azure devops project and 
> connect it to your own github fork of edk2 to test it.  This should be 
> a requirement as it took me dozens of runs to get everything working 
> and passing as well as to adjust the syntax to leverage shared files 
> as much as is practical.


In my opinion there's something wrong with the CI framework if it can 
only easily be run in the Azure DevOps environment. And the use of Azure 
shouldn't become a requirement, in my opinion.


-- 
Rebecca Cran



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57428): https://edk2.groups.io/g/devel/message/57428
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Sean via groups.io 4 years ago
Rebecca,

Each CI framework has different syntax, capabilities, and requirements.  The PyTools environment attempts to generalize the edk2/uefi aspects of the setup, build, and test but regardless there are things that should be done as "steps" in the CI framework being targeted.  This is why there is a split between PlatformBuild.py and the azurepipelines files.   PlatformBuild.py and the ReadMe.md files all have details about how to run locally as well so those aspects can be tested independently from the CI framework.

thanks
Sean

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57433): https://edk2.groups.io/g/devel/message/57433
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Rebecca Cran 4 years ago
On 4/15/2020 2:44 PM, sean.brogan via [] wrote:

>
> Each CI framework has different syntax, capabilities, and 
> requirements.  The PyTools environment attempts to generalize the 
> edk2/uefi aspects of the setup, build, and test but regardless there 
> are things that should be done as "steps" in the CI framework being 
> targeted.  This is why there is a split between PlatformBuild.py and 
> the azurepipelines files.   PlatformBuild.py and the ReadMe.md files 
> all have details about how to run locally as well so those aspects can 
> be tested independently from the CI framework.


I had difficulty running the PyTools locally, so I thought there was an 
idea to only support running it on Azure. Thanks for the clarification.


-- 
Rebecca Cran



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57434): https://edk2.groups.io/g/devel/message/57434
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Sean via groups.io 4 years ago
If it is a pytool general failure please open an issue here: https://github.com/tianocore/edk2-pytool-extensions/issues with details.

If the PlatformBuild.py in this patchset has an issue please reply here with logs or reproducible steps.

Thanks
Sean

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57435): https://edk2.groups.io/g/devel/message/57435
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for ArmVirtPkg, EmulatorPkg, and OvmfPkg
Posted by Zhang, Shenglei 4 years ago
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Michael Kubacki
> Sent: Thursday, April 9, 2020 2:13 AM
> To: devel@edk2.groups.io
> Cc: Andrew Fish <afish@apple.com>; Ard Biesheuvel
> <ard.biesheuvel@arm.com>; Bret Barkelew
> <Bret.Barkelew@microsoft.com>; Justen, Jordan L
> <jordan.l.justen@intel.com>; Laszlo Ersek <lersek@redhat.com>; Leif
> Lindholm <leif@nuviainc.com>; Gao, Liming <liming.gao@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>; Ni, Ray <ray.ni@intel.com>; Sean
> Brogan <sean.brogan@microsoft.com>
> Subject: [edk2-devel] [PATCH v1 0/6] Edk2 Platform and Core CI for
> ArmVirtPkg, EmulatorPkg, and OvmfPkg
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> The following 6 patches adds support for "Platform CI" for ArmVirtPkg,
> OvmfPkg, and EmulatorPkg.
> 
> Each readme has live status and links to the builds as well as details
> of how to build and run the same way the CI server will.
> 
> ArmVirtPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/ArmVirtPkg/README-pytools.md
> 
> EmulatorPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/EmulatorPkg/README-pytools.md
> 
> OvmfPkg:
> https://github.com/spbrogan/edk2/blob/PlatformAndCoreCIForOvmfArmVi
> rtEmulatorPackages_v5/OvmfPkg/README-pytools.md
> 
> The patch set also adds ArmVirtPkg, OvmfPkg, and EmulatorPkg to Core CI
> for
> the code evaluation tests (not compiling). Details of those tests are here:
> https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVir
> tEmulatorPackages_v5/.pytool
> 
> Branch can be reviewed here:
> https://github.com/spbrogan/edk2/tree/PlatformAndCoreCIForOvmfArmVir
> tEmulatorPackages_v5
> 
> Please send feedback to the mailing list and do not leave feedback directly
> on github.
> 
> On a separate note, shallow threading might not work on this patch series
> due to changes made by the SMTP server. Please bear with me while I am
> investigating if this can be changed.
> 
> Cc: Andrew Fish <afish@apple.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> Sean Brogan (6):
>   .azurepipelines: Add Platform CI template
>   ArmVirtPkg: Add Platform CI and configuration for Core CI
>   EmulatorPkg: Add Platform CI and configuration for Core CI
>   OvmfPkg: Add Platform CI and configuration for Core CI
>   .pytool: Update CI Settings to support Emulator, ArmVirt, and Ovmf
>     packages
>   .azurepipelines: Update Core CI build matrix to include platforms
> 
>  .azurepipelines/ReadMe.md                              |  50 ++++
>  .azurepipelines/templates/ReadMe.md                    |  59 +++++
>  .azurepipelines/templates/platform-build-run-steps.yml | 134 ++++++++++
>  .azurepipelines/templates/pr-gate-build-job.yml        |   5 +
>  .pytool/CISettings.py                                  |   7 +-
>  .pytool/Plugin/SpellCheck/cspell.base.yaml             |  14 ++
>  .pytool/Readme.md                                      |  10 +-
>  ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml             |  89 +++++++
>  ArmVirtPkg/ArmVirtPkg.ci.yaml                          | 103 ++++++++
>  ArmVirtPkg/PlatformBuild.py                            | 263 ++++++++++++++++++++
>  ArmVirtPkg/README-pytools.md                           | 123 +++++++++
>  ArmVirtPkg/iasl_ext_dep.yaml                           |  21 ++
>  EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml            |  95 +++++++
>  EmulatorPkg/.azurepipelines/Windows-VS2019.yml         |  85 +++++++
>  EmulatorPkg/EmulatorPkg.ci.yaml                        |  85 +++++++
>  EmulatorPkg/PlatformBuild.py                           | 252 +++++++++++++++++++
>  EmulatorPkg/README-pytools.md                          | 173 +++++++++++++
>  OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml                | 133 ++++++++++
>  OvmfPkg/.azurepipelines/Windows-VS2019.yml             | 138 ++++++++++
>  OvmfPkg/OvmfPkg.ci.yaml                                |  83 ++++++
>  OvmfPkg/PlatformBuild.py                               | 242 ++++++++++++++++++
>  OvmfPkg/README-pytools.md                              | 238 ++++++++++++++++++
>  OvmfPkg/iasl_ext_dep.yaml                              |  21 ++
>  23 files changed, 2415 insertions(+), 8 deletions(-)
>  create mode 100644 .azurepipelines/ReadMe.md
>  create mode 100644 .azurepipelines/templates/ReadMe.md
>  create mode 100644 .azurepipelines/templates/platform-build-run-
> steps.yml
>  create mode 100644 ArmVirtPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 ArmVirtPkg/ArmVirtPkg.ci.yaml
>  create mode 100644 ArmVirtPkg/PlatformBuild.py
>  create mode 100644 ArmVirtPkg/README-pytools.md
>  create mode 100644 ArmVirtPkg/iasl_ext_dep.yaml
>  create mode 100644 EmulatorPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 EmulatorPkg/.azurepipelines/Windows-VS2019.yml
>  create mode 100644 EmulatorPkg/EmulatorPkg.ci.yaml
>  create mode 100644 EmulatorPkg/PlatformBuild.py
>  create mode 100644 EmulatorPkg/README-pytools.md
>  create mode 100644 OvmfPkg/.azurepipelines/Ubuntu-GCC5.yml
>  create mode 100644 OvmfPkg/.azurepipelines/Windows-VS2019.yml
>  create mode 100644 OvmfPkg/OvmfPkg.ci.yaml
>  create mode 100644 OvmfPkg/PlatformBuild.py
>  create mode 100644 OvmfPkg/README-pytools.md
>  create mode 100644 OvmfPkg/iasl_ext_dep.yaml
> 
> --
> 2.16.3.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57496): https://edk2.groups.io/g/devel/message/57496
Mute This Topic: https://groups.io/mt/72880532/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-