Skip to content

Init pm#2088

Open
AntonFomichev-Flant wants to merge 13 commits intomainfrom
feat/pm
Open

Init pm#2088
AntonFomichev-Flant wants to merge 13 commits intomainfrom
feat/pm

Conversation

@AntonFomichev-Flant
Copy link

@AntonFomichev-Flant AntonFomichev-Flant commented Mar 10, 2026

Description

Flant package manager integration

Why do we need it, and what problem does it solve?

Boost Git workflow
Simplify werf templating

What is the expected result?

In plans:

  • minimized compilation
  • only relevant packages will be compiled
  • remove unnecessary builds

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: ci:low
type: feature
summary: Switch to Flant package manager for building base images, reducing compilation time and simplifying werf templating.

Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
@AntonFomichev-Flant AntonFomichev-Flant force-pushed the feat/pm branch 5 times, most recently from f39933b to 1e15bda Compare March 11, 2026 11:50
Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
@AntonFomichev-Flant AntonFomichev-Flant force-pushed the feat/pm branch 3 times, most recently from 8f84fca to ced3603 Compare March 12, 2026 06:08
Signed-off-by: Anton Fomichev <anton.fomichev@flant.com>
@AntonFomichev-Flant AntonFomichev-Flant marked this pull request as ready for review March 13, 2026 09:13
…ages pm

Replace custom QEMU build pipeline with package manager-based installation.
Remove the manual install script, SCSI serial truncation patch, and
extensive configure/compile steps in favor of `pm install qemu`.

- Bump QEMU version to v9.4.0 in versions.yml and oss.yaml
- Delete install-qemu.sh and patches directory
- Simplify werf.inc.yaml to use builder/distroless with pm install
- Update virt-launcher import path from /BINS to /qemu-img

Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
@flant-pinegal flant-pinegal added the e2e/run Run e2e test on cluster of PR author label Mar 26, 2026
@flant-pinegal flant-pinegal self-assigned this Mar 26, 2026
@deckhouse-BOaTswain
Copy link
Contributor

deckhouse-BOaTswain commented Mar 26, 2026

Workflow has started.
Follow the progress here: Workflow Run

The target step completed with status: failure.

@deckhouse-BOaTswain deckhouse-BOaTswain removed the e2e/run Run e2e test on cluster of PR author label Mar 26, 2026
Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
Introduce a new `qemu-bins-builder` stage that installs QEMU binaries
without shared library dependencies (using `pm install -1`). This
produces a `/qemu-bins` artifact used by virt-launcher and virt-handler,
where `relocate_binaries.sh` resolves shared libraries from the build
environment.

The existing full QEMU package (`/qemu-img`) with all runtime
dependencies is preserved for consumers like cdi-importer that need it.

Update virt-handler and virt-launcher imports to reference the new
`/qemu-bins` path instead of `/qemu-img`.

Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants