aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
5 daysformatters: Avoid using deprecated ENV var specification in DockerfileHEADmasterMichal Privoznik22-51/+51
The endorsed format for specifying environment variables in Dockerfile is: ENV key="value" The old format is deprecated as of 2020 [1][2]. Fix our formatter to follow correct format. 1: https://github.com/docker/cli/pull/2743 2: https://github.com/docker/cli/pull/2741 Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-09-08lcitool: fix missing playbook pathJán Tomko2-2/+2
One of the type annotation patches stopped passing the playbookdir parameter when calling ansible_runner.prepare_env. Fixes: 402651d98f1a3635ee22b005cb4b4be15004daf0 Closes: https://gitlab.com/libvirt/libvirt-ci/-/issues/34 Signed-off-by: Ján Tomko <jtomko@redhat.com>
2025-09-05ci: fix and check debian-13Marc-André Lureau6-4/+22
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03targets: Mark Debian 13 as stableAndrea Bolognani1-3/+2
It was released roughly a month ago. Fix the container image name (we can use the number in addition to the codename now) and add the osinfo ID. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-09-03lcitool: complete the type annotationsMarc-André Lureau5-59/+79
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03manifest: add type annotationsMarc-André Lureau2-31/+52
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03formatters: add type annotationsMarc-André Lureau2-71/+164
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03inventory: add type annotationsMarc-André Lureau2-23/+48
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03projects: add type annotationsMarc-André Lureau2-40/+70
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03packages: add type annotationsMarc-André Lureau1-38/+82
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03targets: add type annotationsMarc-André Lureau3-13/+31
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03install: add type annotationsMarc-André Lureau6-71/+122
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03containers: add type annotationsMarc-André Lureau4-60/+107
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03libvirt_wrapper: add type annotationsMarc-André Lureau3-38/+70
The mock library has to have the imported symbols too now. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03config: add type annotationsMarc-André Lureau2-25/+40
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03ansible_wrapper: add type annotationsMarc-André Lureau2-15/+31
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03gitlab: add type annotationsMarc-André Lureau2-45/+71
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03logger: add type annotationsMarc-André Lureau2-3/+5
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03util: add type annotationsMarc-André Lureau2-36/+52
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03Fix pkg_resources() deprecation warningMarc-André Lureau1-4/+3
lcitool/install/cloud_init.py:12: DeprecationWarning: pkg_resources is deprecated as an API. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03tox: also run black in lintMarc-André Lureau4-3/+7
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03Introduce mypy checksMarc-André Lureau6-1/+31
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03Run blackMarc-André Lureau36-875/+1353
It's a bit massive diff, but why isn't the project enforcing formatting? It makes working with editors and tools much easier then. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03flake8: adjust to be compatible with blackMarc-André Lureau1-1/+3
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-03gitlab-ci: fix gitlab-ci-localMarc-André Lureau1-1/+1
Error attempting to evaluate the following rules: rules: - if: 'null && "almalinux-9" =~ null' as ```javascript null && "almalinux-9" =~ null ``` Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-09-02mappings: add mingw mappings for libfdtMarc-André Lureau2-0/+3
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-08-29facts: Pin Lua version on OpenSUSE TumbleweedMichal Privoznik2-1/+2
Recently, OpenSUSE Tumbleweed started packaging Lua-5.5 [1] which is still in beta. Well, no software is ready for it yet and other distros still expect Lua-5.4. Pin the version on Tumbleweed then. 1: https://software.opensuse.org/package/lua55 Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-08-05facts: switch most distros to pcre2Daniel P. Berrangé9-11/+13
We already prefer pcre2 on Debian, and pcre has been removed from OpenSUSE Tumbleweed now. Almost all distros already have pcre2 in parallel for a long time. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-08-05facts: drop the libcmpiutil package from OpenSuse TumbleweedDaniel P. Berrangé2-1/+2
Although the package appears to still exist in git, this package is no longer available in the published repos. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-08-05facts: adapt to use of sdl2-compat-develDaniel P. Berrangé4-5/+8
SDL3 is now the current version and rather than continue to ship SDL2, distros are switching to a API compatibility shim called sdl2-compat. OpenSUSE recently switched in Tumbleweed and Fedora introduced it in F42. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-08-04facts: drop libxen on Debian Sid armv7Daniel P. Berrangé1-1/+2
It is no longer built on this arch per: https://packages.debian.org/sid/libxen-dev Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-06-02targets: Drop Alpine 3.20Michal Privoznik2-291/+0
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-06-02examples: Switch away Alpine 3.20 to 3.22Michal Privoznik1-2/+2
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-06-02gitlab: Switch from testing on Alpine 3.20 to 3.22Michal Privoznik2-6/+6
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-06-02targets: Add Alpine 3.22Michal Privoznik2-0/+291
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-06-02gitlab-ci: Finish check_container_template fully before claiming a failed ↵Michal Privoznik1-3/+11
test case The .check_container_template test case checks whether all packages were successfully installed into container images. The test bails out early due to 'exit 1' in each error path. This is suboptimal and when fixing missing packages multiple iterations of CI runs are needed. In case of failed test case, just store this flag internally and propagate error after all test cases have run. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-05-16lcitool: Add mapping for python3-packagingRichard W.M. Jones23-0/+30
https://pypi.org/project/packaging/ Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2025-05-15targets: Drop Fedora 40Michal Privoznik4-346/+0
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-05-15examples: Switch away Fedora 39 to 41Michal Privoznik1-2/+2
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-05-15gitlab: Switch from testing on Fedora 40 to 42Michal Privoznik2-6/+6
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-05-15targets: Add Fedora 42Michal Privoznik2-0/+340
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2025-04-29mappings: disable librbd on 32-bit debian arches after 12Daniel P. Berrangé1-0/+6
librbd 32-bit builds are gone since Debian 13 (Trixie) onwards Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-04-23containers: cirrus-run: Pull 'cirrus-run' from our forkPeter Krempa1-1/+1
The upstream for 'cirrus-run' didn't yet accept our patches. Rather than pulling from a private repo we now have a fork of upstream containing our patches. Update to pull from it. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
2025-03-25ci: fix typo in RUN_PIPELINE exampleRoman Bogorodskiy1-1/+1
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
2025-03-25docs: update OpenStack FreeBSD image guide URLRoman Bogorodskiy1-1/+1
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
2025-03-19Fix cloud-init update task.Ondrej Kozina1-0/+4
Cloud-init project removed cloud-init.service in release 24.3. Also the new services do not need be enabled explicitly and are used mostly for ordering purposes of other services. This fixes current Fedora Rawhide (with cloud-init-25.1) CI runners. Signed-off-by: Ondrej Kozina <okozina@redhat.com>
2025-03-06targets: drop Debian 11Pavel Hrdina8-362/+11
The EOL was on 2024-08-14. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2025-03-03FreeBSD: default to Tcl 9.0Richard W.M. Jones4-4/+4
freebsd-current (FreeBSD 15) dropped the lang/tcl87 package, resulting in failed pipelines: https://gitlab.com/nbdkit/nbdkit/-/jobs/9296561518 Although freebsd-13 & freebsd-14 do still have the old package, it's easiest to move to the newest Tcl. (Although note that it's not source-level compatible and we have had to make changes in a few packages to compensate for it.) New package in FreeBSD 13: https://freebsd.pkgs.org/13/freebsd-amd64/tcl90-9.0.1.pkg.html Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2025-02-26lcitool: add mapping for vulkan-toolsAlex Bennée24-0/+26
Amazingly every distro seems to pick the same name for this package. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2025-02-13targets: replace Alpine 3.19 with 3.21Pavel Hrdina5-10/+10
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>