Skip to content

gitlab-ci: Add accelerator-specific Linux jobs

Philippe Mathieu-Daudé kvm qemu-devel xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 3 repliesIn review
  2. v25 patches 6 repliesSuperseded
  3. v18 patches 20 repliesSuperseded

Changes in v3 from the cover letter

- Fixed ARM Xen job
- Renamed jobs with -$accel trailer (Thomas)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gitlab-ci: Document 'build-tcg-disabled' is a KVM X86 job.gitlab-ci.yml+5 -02 replies
2/5gitlab-ci: Replace YAML anchors by extends (cross_system_build_job).gitlab-ci.d/crossbuilds.yml+20 -200 replies
3/5gitlab-ci: Introduce 'cross_accel_build_job' template.gitlab-ci.d/crossbuilds.yml+17 -00 replies
4/5gitlab-ci: Add KVM s390x cross-build jobs.gitlab-ci.d/crossbuilds.yml+6 -10 replies
5/5gitlab-ci: Add Xen cross-build jobs.gitlab-ci.d/crossbuilds.yml+14 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchThomas HuthWainer dos Santos MoschettaWIllian Rampazzo
1/5R-b R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] gitlab-ci: Add accelerator-specific Linux jobs

Since v2:
- Fixed ARM Xen job
- Renamed jobs with -$accel trailer (Thomas)

Since v1:
- Documented cross_accel_build_job template (Claudio)
- Only add new job for s390x (Thomas)
- Do not add entry to MAINTAINERS (Daniel)
- Document 'build-tcg-disabled' job is X86 + KVM
- Drop the patches with negative review feedbacks

Hi,

I was custom to use Travis-CI for testing KVM builds on s390x/ppc with the Travis-CI jobs.

During October Travis-CI became unusable for me (extremely slow, see [1]). Then my free Travis account got updated to the new "10K credit minutes allotment" [2] which I burned without reading the notification email in time (I'd burn them eventually anyway).

Today Travis-CI is pointless to me. While I could pay to run my QEMU jobs, I don't think it is fair for an Open Source project to ask its forks to pay for a service.

As we want forks to run some CI before contributing patches, and we have cross-build Docker images available for Linux hosts, I added some cross KVM/Xen build jobs to Gitlab-CI.

Cross-building doesn't have the same coverage as native building, as we can not run the tests. But this is still useful to get link failures.

Resulting pipeline:
https://gitlab.com/philmd/qemu/-/pipelines/226240415

Regards,

Phil.

[1] https://travis-ci.community/t/build-delays-for-open-source-project/10272
[2] https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

Philippe Mathieu-Daudé (5):
gitlab-ci: Document 'build-tcg-disabled' is a KVM X86 job
gitlab-ci: Replace YAML anchors by extends (cross_system_build_job)
gitlab-ci: Introduce 'cross_accel_build_job' template
gitlab-ci: Add KVM s390x cross-build jobs
gitlab-ci: Add Xen cross-build jobs

 .gitlab-ci.d/crossbuilds.yml | 78 ++++++++++++++++++++++++++----------
 .gitlab-ci.yml               |  5 +++
 2 files changed, 62 insertions(+), 21 deletions(-)
Signature · 1 line
2.26.2