All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Yocto Gitlab CI
@ 2022-11-17  9:39 Bertrand Marquis
  2022-11-17  9:39 ` [PATCH v4 1/3] automation: Create Yocto docker images Bertrand Marquis
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Bertrand Marquis @ 2022-11-17  9:39 UTC (permalink / raw)
  To: xen-devel; +Cc: michal.orzel, Doug Goldstein, Stefano Stabellini

This patch series is a first attempt to check if we could use Yocto in
gitlab ci to build and run xen on qemu for arm, arm64 and x86.

The first patch is introducing a container template from which container
files can be generated for all combinations we want to support (qemu
arm, arm64 and x86 targets and hosts x86_64 and arm64).
It is also introducing a generic build script (build-yocto.sh) that is
used to create, build and run a Yocto project.

The second patch is adding a way to easily clean locally created
containers.

The third patch is introducing some gitlab CI templates and jobs so that
we can test a Xen source tree in gitlab-CI using Yocto.

This has been tested on a x86 host machine and on an arm host machine
(with mk_dsdt.c fix).

Changes in v4:
- rework the container generation to support multiple hosts
- rework the container generation to use a single template for all
  docker files (make process is generating the docker files).

Changes in v3:
- limit number of jobs in yocto
- do not copy build script inside container
- add patch from Michal to create gitlab jobs

Changes in v2:
- remove gitignore patch which was merged
- add a --dump-log support in build-yocto.sh script and use it during
  container creation to see the error logs.


Bertrand Marquis (2):
  automation: Create Yocto docker images
  automation: Add a clean rule for containers

Michal Orzel (1):
  automation: Add CI test jobs for Yocto

 automation/build/Makefile                  |  26 +-
 automation/build/yocto/build-yocto.sh      | 349 +++++++++++++++++++++
 automation/build/yocto/yocto.dockerfile.in | 114 +++++++
 automation/build/yocto/yocto.inc           |  41 +++
 automation/gitlab-ci/test.yaml             |  43 +++
 5 files changed, 571 insertions(+), 2 deletions(-)
 create mode 100755 automation/build/yocto/build-yocto.sh
 create mode 100644 automation/build/yocto/yocto.dockerfile.in
 create mode 100644 automation/build/yocto/yocto.inc

-- 
2.25.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-18 23:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17  9:39 [PATCH v4 0/3] Yocto Gitlab CI Bertrand Marquis
2022-11-17  9:39 ` [PATCH v4 1/3] automation: Create Yocto docker images Bertrand Marquis
2022-11-18  8:53   ` Michal Orzel
2022-11-18 11:44     ` Bertrand Marquis
2022-11-18 11:54       ` Michal Orzel
2022-11-18 13:08         ` Bertrand Marquis
2022-11-18 23:34   ` Stefano Stabellini
2022-11-17  9:39 ` [PATCH v4 2/3] automation: Add a clean rule for containers Bertrand Marquis
2022-11-18  8:58   ` Michal Orzel
2022-11-18 13:09     ` Bertrand Marquis
2022-11-17  9:39 ` [PATCH v4 3/3] automation: Add CI test jobs for Yocto Bertrand Marquis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.