[edk2-devel] [PATCH edk2-platforms v6 0/6] Enable edk2-platforms CI for JunoPkg

PierreGondois posted 6 patches 2 years, 5 months ago
Failed in applying to current master (apply log)
.azurepipelines/ReadMe.md                     |   5 +
.azurepipelines/Ubuntu-GCC5.yml               |  21 ++
.azurepipelines/Ubuntu-PatchCheck.yml         |  55 ++++++
.azurepipelines/Windows-VS2019.yml            |  20 ++
.azurepipelines/templates/ReadMe.md           |   5 +
.../templates/pr-gate-build-job.yml           |  43 ++++
.azurepipelines/templates/pr-gate-steps.yml   | 142 +++++++++++++
.../templates/spell-check-prereq-steps.yml    |  22 +++
.mergify/config.yml                           |  50 +++++
.pytool/CISettings.py                         | 186 ++++++++++++++++++
.pytool/Readme.md                             |  30 +++
Platform/ARM/JunoPkg/JunoPkg.ci.yaml          | 104 ++++++++++
edk2_ext_dep.yaml                             |  15 ++
pip-requirements.txt                          |  18 ++
14 files changed, 716 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/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 100644 edk2_ext_dep.yaml
create mode 100644 pip-requirements.txt
[edk2-devel] [PATCH edk2-platforms v6 0/6] Enable edk2-platforms CI for JunoPkg
Posted by PierreGondois 2 years, 5 months ago
From: Pierre Gondois <Pierre.Gondois@arm.com>

v6:
 - New patch not have the edk2 repository as an external dependency
   instead of a submodule. [Michael]
 - Use EDK2_REPO to use a custom edk2 repository instead of downloading
   it. [Pierre]
 - PatchCheck to install pip-requirements and download edk2. [Pierre]
v5:
 - Remove Signed-off from Sami (I replaced it with Co-authored-by)
   [Leif]
 - Update edk2 submodule to latest master. [Pierre]
v4:
 - Checkout edk2 repository in Ubuntu-PatchCheck.yml to
   get the PatchCheck.py script. [Pierre]
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

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 aswell.
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.

CI plugins (.pytool/Plugin/) and BaseTools are located in the
Tianocore edk2 repository. To re-use them, add the edk2 repository
as an external dependency.
It is not currently possible to specify a branch name in the "version"
field. Thus, a fixed commit hash (current edk2 master) is written.
It will eventually be replaced by 'master'.
If a platform requires a specific version of edk2, another description
of the edk2 repository in the edk2_ext_dep.yaml can be added. Only the
edk2 repository with the right scope will be installed.
It is possible to use a custom edk2 repository instead. To do so, run
the stuart_[update|build] commands with EDK2_REPO pointing to your
custom edk2 repository.

Compared to edk2's CI, some steps are modified and indicated by
EDK2_PLATFORMS_MODIF_[START|END] statements.

The changes can be seen at:
https://github.com/PierreARM/edk2-platforms/tree/1628_Enable_edk2_platforms_ci_for_JunoPkg_v6

Pierre Gondois (6):
  pip-requirements.txt: Add python pip requirements file
  CI: Add Tianocore edk2 as an external dependency
  .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               |  21 ++
 .azurepipelines/Ubuntu-PatchCheck.yml         |  55 ++++++
 .azurepipelines/Windows-VS2019.yml            |  20 ++
 .azurepipelines/templates/ReadMe.md           |   5 +
 .../templates/pr-gate-build-job.yml           |  43 ++++
 .azurepipelines/templates/pr-gate-steps.yml   | 142 +++++++++++++
 .../templates/spell-check-prereq-steps.yml    |  22 +++
 .mergify/config.yml                           |  50 +++++
 .pytool/CISettings.py                         | 186 ++++++++++++++++++
 .pytool/Readme.md                             |  30 +++
 Platform/ARM/JunoPkg/JunoPkg.ci.yaml          | 104 ++++++++++
 edk2_ext_dep.yaml                             |  15 ++
 pip-requirements.txt                          |  18 ++
 14 files changed, 716 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/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 100644 edk2_ext_dep.yaml
 create mode 100644 pip-requirements.txt

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83803): https://edk2.groups.io/g/devel/message/83803
Mute This Topic: https://groups.io/mt/87119744/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-