Skip to content

Rewrite ci package script to mage

What does this MR do?

Rewrites the "ci/package" script to mage.

It's a prelude to #36333 (closed)

Also adds resource checking for deb and rpm packages: #36510

The nice bonus of integrating the blueprint approach is that building rpm/deb packages is much more transparent now:

Examples of console output when files are missing:

image

Example of console output when I created mock files with touch:

image

This made it very easy to generate packages locally without caring for the correctness of certain components of the final package, e.g. prebuilt images.

In the future we can automatically generate such mock files locally to make it easier to run certain scripts.

This MR also includes some QOL improvements to the blueprints.

Why was this MR needed?

What's the best way to test this MR?

What are the relevant issue numbers?

Merge request reports