Commit Graph
544 Commits
Author SHA1 Message Date
Gaëtan Lehmann e8a51c4c71 Add a script to copy a branch to another branch in all our rpm repositories
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-08-14 11:48:19 +02:00
Gaëtan Lehmann 81859cdf57 Add XCP-ng 9.0 in the report (#832)
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-08-06 11:38:39 +02:00
Thierry Escande 6885103dda Merge pull request #834 from xcp-ng/tee/rpm_owners/qlogic-fastlinq-alt_8_42
RPM owners: Rename package qlogic-fastlinq-alt_8_42
2026-08-04 13:27:36 +02:00
Samuel Verschelde e830ce223a Merge pull request #748 from xcp-ng/gln/koji-build-cache-qtkz
Cache koji builds
2026-08-04 12:57:47 +02:00
Samuel Verschelde 85cebfa14c Merge pull request #833 from xcp-ng/gln/drop-pkg-8-2-pzpv
Drop 8.2 from pkg_in_pipe
2026-08-04 11:27:04 +02:00
Thierry Escande 62248cbc66 RPM owners: Rename package qlogic-fastlinq-alt_8_42
The disk creation tool does not support the '.' character in package
name so rename it from 'qlogic-fastlinq-alt_8.42' to
'qlogic-fastlinq-alt_8_42'.

Signed-off-by: Thierry Escande <thierry.escande@vates.tech>
2026-08-04 11:25:54 +02:00
Gaëtan Lehmann 04e0cc01b6 Drop 8.2 from pkg_in_pipe
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-08-04 10:17:50 +02:00
Gaëtan Lehmann fb4e4a4765 Merge pull request #827 from xcp-ng/XCPNG-2698/master
packages.json: Relocate libidn2
2026-08-03 17:08:48 +02:00
Gaëtan Lehmann 08078e0f99 Cache koji builds
in order to decrease the load on koji. With what's currently in the pipe, we
decrease the number of koji calls from 65 to 37 with the cache.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-08-03 16:48:57 +02:00
Gaëtan Lehmann 0c05fd4cd3 Use KOJI and GITHUB object as global variable
in order to simply the cache usage in a next commit

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-08-03 16:48:57 +02:00
Philippe Coval a959284277 packages.json: Relocate libidn2
Sort alphabetically

Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
2026-08-03 15:39:19 +02:00
Gaëtan Lehmann 49a014fbc8 Merge pull request #831 from xcp-ng/gln/add-linstor-testing-tags-kwwt
Add linstor-testing in the observed tags
2026-07-31 21:31:37 +02:00
Gaëtan Lehmann 74d6cc8b84 Add linstor-testing in the observed tags
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-07-31 11:02:25 +02:00
Gaëtan Lehmann bc202b5c0c Merge pull request #830 from xcp-ng/gln/fix-repo-parsing-logic-wyzo
Fix repo parsing for unusual repository name
2026-07-30 15:29:02 +02:00
Gaëtan Lehmann e6319535ea Fix repo parsing for unusual repository name
namely xcp-ng-rpms/qlogic-fastlinq-alt_8.42

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-07-30 15:02:05 +02:00
Thierry Escande 42f4a9b040 Merge pull request #829 from xcp-ng/tee/rpm_owners/qlogic-fastlinq-alt_8.42
RPM owners: Add qlogic-fastlinq-alt_8.42 package
2026-07-29 15:38:02 +02:00
Thierry Escande 58b8f00ddf RPM owners: Add qlogic-fastlinq-alt_8.42 package
This package provides an older version of the qlogic-fastlinq driver
than the ones in the main and alt package. This older version 8.42.10.0
is know to work with some old hardware not well supported by newer
versions of the driver.

Signed-off-by: Thierry Escande <thierry.escande@vates.tech>
2026-07-28 16:04:19 +02:00
Tu Dinh 78f91007d7 Merge pull request #828 from xcp-ng/dnt/xeu
Add the xcp-efivar-utils package
2026-07-21 23:08:45 +02:00
Tu Dinh b1efcb9013 Add the xcp-efivar-utils package
This package contains an assortment of useful Python functions for
manipulating UEFI variables on XCP-ng pools and VMs.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
2026-07-17 10:26:13 +00:00
Philippe Coval 270c0502b1 Merge pull request #826 from xcp-ng/XCPNG-2698/master
packages.json: Add libidn2

Related-to: XCPNG-2698
2026-07-15 17:16:18 +02:00
Philippe Coval 3e6ae47a19 packages.json: Add libidn2
This is a new build-dependency of gnutls

Related-to: XCPNG-2698
Related-to: https://github.com/xcp-ng-rpms/libidn2/pull/1
Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
2026-07-15 14:12:38 +02:00
Andriy Sultanov 19195f53ff Merge pull request #823 from xcp-ng/asv/leaked_vbds.py
scripts: Add helper script to list possibly leftover VBDs due to VM.revert regression
2026-07-15 10:07:25 +01:00
Andrii Sultanov 4a277e62c1 scripts: Add helper script to list possibly leftover VBDs due to VM.revert regression
A regression was introduced to VM.revert in xapi-26.1.4-3.3, which left VBDs
attached to the VM when they are not present in the reverted-to
snapshot (instead of destroying such VBDs, as was done before).

VMs that were reverted to their snapshots after xapi-26.1.4-3.3 may have
such "leftover" VBDs. This script can be used to detect possible cases in
pools. Sadly, there is no way to automatically distinguish a VBD that
was created after a VM.revert from a VBD that survived the VM.revert,
so this script relies on the user to determine if the suspicious VBDs are
indeed affected or not.

Therefore, tbis is not a destructive script, it just uses the API to find the
affected VBDs and presents them to the user, as in this example output:

    VM e2678368-596d-1b6e-7211-9ee45f60dec1 ("Alpine minimal for CI") has
    VBDs that are not present in the snapshot it was reverted to
    (303ead66-9515-b1c8-0dc5-d33b7644b161 "Alpine minimal for CI_snapshot1"):
    xvdb (ca8610d2-76e3-6c54-4378-ee599619b4bb))

The script follows this algorithm:

1. Find all VMs that are children of snapshots
   (i.e. were reverted to a particular snapshot at some point in time)
2. Find VBDs that are currently present in such VMs but are
   not present in the snapshot

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
2026-07-13 11:45:35 +00:00
Samuel Verschelde 2c8d071329 Merge pull request #821 from xcp-ng/asv/xapi-build
koji_build: Add --source-build subcommand
2026-07-08 14:48:44 +02:00
Andrii Sultanov c9818743b2 fixup! koji_build: Add --source-build subcommand
Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
2026-07-07 15:14:04 +00:00
Andrii Sultanov 361910432b koji_build: Add --source-build subcommand
This allows building straight from source, without generating patches and
modifying the specfile manually.

The script will replace the current tarball with the one generated from the
git hash in the source repository. It will also increment the release tag
(following the rules for --test-build), with the commit hash used as a unique
reference.

Note that the new tarball might conflict with the patches generated on top
of the current tarball, or require new dependencies etc., so this is not a
catch-all solution, just a usability improvement for some simpler cases.

Like --pre-build or --test-build, the subcommand takes an additional
argument - the hash of the commit in source repository to generate the
tarball from. It can be called from rpms-xsconsole like this, for example:

    koji_build.py --source-build 6f7d91f8 v8.3-u-asultanov2 .

I've specified two automatic spec->source mappings for xapi and
xsconsole in this commit, this can be expanded in the future.
For other repositories, --source-repo has to be specified manually:

    koji_build.py --source-build 4e0cae33f7 --source-repo xapi-project/varstored v8.3-u-asultanov2 .

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
2026-07-07 14:05:50 +00:00
Samuel Verschelde 7a3f091286 Merge pull request #822 from xcp-ng/zstd
iso-remaster: Fix -z, add zstd support
2026-07-06 19:35:42 +02:00
Yann Dirson 65499b3e35 iso-remaster: add zstd support for v9
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2026-07-06 10:56:45 +02:00
Yann Dirson 68581e3d39 iso-remaster: properly implement -z
Original implementation took care of the flag, but did not apply the
selected compression algorithm.

Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
2026-07-06 10:56:45 +02:00
Samuel Verschelde 32916e864c Merge pull request #791 from xcp-ng/gln/fix-koji-release-number-pyvm
Fix non-incremented release when using test builds
2026-07-03 12:47:00 +02:00
Samuel Verschelde 0fb51421f6 Merge pull request #803 from rzr/master
github: Add json lint check
2026-06-23 01:17:09 +02:00
Samuel Verschelde 3b8cb38078 Merge pull request #809 from xcp-ng/fallen-patch-1
Update README.md
2026-06-21 22:09:05 +02:00
Samuel Verschelde 11deb8b732 Merge pull request #818 from xcp-ng/gln/show-milestones-in-builds-zuus
Show the milestones (from the associated issues) for each build
2026-06-18 10:50:55 +02:00
Samuel Verschelde 7fc9a1834f Revert "Merge pull request #814 from Danp2/dp_enhance"
There were issues found after the merge.

This reverts commit 554c833f6e, reversing
changes made to 60d9eebce1.
2026-06-18 09:43:31 +02:00
Gaëtan Lehmann b882e04423 Show the milestones (from the associated issues) for each build
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-06-17 21:00:11 +02:00
Gaëtan Lehmann 120b7ecb08 Bump the PR cache number to trigger a re-cache
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-06-17 19:43:21 +02:00
Gaëtan Lehmann cea0ff6bf4 Fix PR appearing in some builds while they don't contain any commit of that build
Github API returns some PRs that are not related to the commit, so we check if the
PR actually contains the commit that we've just used to get a list of PR containing
that commit

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-06-17 19:43:21 +02:00
Samuel Verschelde 554c833f6e Merge pull request #814 from Danp2/dp_enhance
Scripts: snapshot-fixer.py enhancements
2026-06-17 18:32:28 +02:00
Samuel Verschelde 60d9eebce1 Merge pull request #816 from xcp-ng/dnt/create-rpm-fix
Fix CODEOWNERS creation in create_rpm_git_repo.py
2026-06-17 12:56:03 +02:00
Tu Dinh 0615770378 Fix CODEOWNERS creation in create_rpm_git_repo.py
Use the same logic as set_github_code_owners.py, which puts all code
owners on the same line.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
2026-06-16 10:51:01 +00:00
Dan Pollak b0d20078ff Move globals back to beginning of file
Signed-off-by: Dan Pollak <danpollak2@gmail.com>
2026-06-13 09:50:08 -05:00
Dan Pollak 0dc375f215 Add optional --database argument
Allows the user to specify an alternative file to be processed, which allows for examination of XAPI databases provided by the customer or captured via xen-bugtools.

Signed-off-by: Dan Pollak <danpollak2@gmail.com>
2026-06-13 09:41:05 -05:00
Dan Pollak dce3a34588 Increase XAPI stop timeout to 60 secs
Script will often timeout because XAPI doesn't stop within 15 seconds

- Adds optional timeout parameter to poke_service function
- Change stop_xapi function to wait 60 seconds

Signed-off-by: Dan Pollak <danpollak2@gmail.com>
2026-06-13 09:37:32 -05:00
Samuel Verschelde 2ff123dbd1 Merge pull request #815 from xcp-ng/gln/add-platform-team-as-code-owner-lzpv
Add platform team as code owner
2026-06-09 09:29:29 +02:00
Gaëtan Lehmann 59de218a9e Add platform team as code owner
We can refine on subdirectories if needed

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
2026-06-08 20:47:20 +02:00
Samuel Verschelde e73e10a6c1 Merge pull request #810 from xcp-ng/abo/fix-snapshot-fixer-underscores
scripts: Fix `is-a-snapshot` field with underscores
2026-06-08 19:07:26 +02:00
Samuel Verschelde 18538e13c8 Merge pull request #812 from Danp2/snapfix_xcp83only
Scripts: enforce XCP-ng 8.3 or higher
2026-05-28 17:16:52 +02:00
Dan Pollak b11cbb4648 Scripts: enforce XCP-ng 8.3 or higher
Signed-off-by: Dan Pollak <danpollak2@gmail.com>
2026-05-27 20:48:14 -05:00
Anthoine Bourgeois e59e9e5386 scripts: Fix is-a-snapshot field with underscores
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@vates.tech>
2026-05-20 11:31:30 +02:00
Yann Sionneau 318815e122 Update README.md
Add missing python3-rpm dependency

Signed-off-by: Yann Sionneau <yann.sionneau@vates.tech>
2026-05-19 12:23:23 +02:00