Skip to content

Qemu fixes, freebsd and dynamic cbuild

This MR is an attempt to supersede !104 (closed) and !113 (closed):

  • it embeds the FreeBSD patches from !104 (closed)
  • it embeds the out-of-disk-space issue from !113 (closed)
  • it adds a new dynamic loading of cbuild which means we don't have to bump the image tags for every typo in cbuild

With that, anybody should be able to embed this MR even if it's not published by running:

include:
- project: 'freedesktop/ci-templates'
    ref: 62b11fa3f746b38ae413fc936cc6ae96960dd448
    file:
      - '/templates/freebsd.yml'

stages:
 - prep
 - use

freebsd:13.0@qemu-build@x86_64:
  extends:
  - .fdo.qemu-build@freebsd@x86_64
  stage: prep
  variables:
    FDO_CBUILD: https://gitlab.freedesktop.org/api/v4/projects/5764/packages/generic/cbuild/sha256-3606152dfd34af076f6c09d24bb8cdf128fce83d07d53d91745c101ec06c7209/cbuild
    FDO_DISTRIBUTION_PACKAGES: 'wget curl'
    FDO_DISTRIBUTION_VERSION: '13.0'

freebsd:13.0@qemu-check@x86_64:
  extends:
  - .fdo.distribution-image@freebsd
  stage: use
  script:
    - ...

(note: the cbuild URL is given at the beginning of any job that uses cbuild, https://gitlab.freedesktop.org/bentiss/ci-templates/-/jobs/12161873 for instance)

Merge request reports