Skip to content

chore(core): update build as submodule#2266

Merged
universal-itengineer merged 29 commits intomainfrom
chore/core/update-cse-build
Apr 30, 2026
Merged

chore(core): update build as submodule#2266
universal-itengineer merged 29 commits intomainfrom
chore/core/update-cse-build

Conversation

@universal-itengineer
Copy link
Copy Markdown
Member

@universal-itengineer universal-itengineer commented Apr 23, 2026

Description

Update the CSE build configuration and clean up werf templates related to image/package imports and proxies.

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

The current build configuration contains duplicated and inconsistent logic for package imports, package proxies, and source repository handling. This makes the CSE build flow harder to maintain and increases the risk of errors in image digest generation and package resolution.

This PR simplifies and aligns the werf configuration by:

  • unifying source repository usage around SOURCE_REPO
  • improving package proxy templates for supported distros
  • simplifying package image imports
  • switching images-digests generation to use prebuilt jq
  • cleaning up outdated template comments and helper definitions

As a result, the build configuration becomes more predictable and easier to maintain.

What is the expected result?

  1. Run the module/image build with the updated werf configuration.
  2. Verify that package imports are resolved correctly for the affected images.
  3. Verify that distro package proxy configuration is applied correctly.
  4. Verify that images-digests is generated successfully during the build.
  5. Confirm that the updated CSE build flow works without regressions.

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: core
type: chore
summary: Update CSE build configuration and simplify werf package/image build templates.
impact_level: low

Comment thread .werf/defines/packages-proxies.tmpl
Comment thread werf.yaml Outdated
universal-itengineer and others added 20 commits April 28, 2026 16:08
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Co-authored-by: Aleksey Gavrilov <le9i0nx+flant@gmail.com>
Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
@universal-itengineer universal-itengineer force-pushed the chore/core/update-cse-build branch from a91fd32 to 5eeed36 Compare April 28, 2026 13:08
Comment thread images/packages/werf.inc.yaml Outdated
Comment thread .werf/defines/packages-proxies.tmpl Outdated
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the chore/core/update-cse-build branch from 30e44de to c960f67 Compare April 29, 2026 17:04
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Comment thread .github/workflows/dev_module_build.yml Outdated
Comment thread werf.yaml
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer merged commit 86dc105 into main Apr 30, 2026
27 of 28 checks passed
@universal-itengineer universal-itengineer deleted the chore/core/update-cse-build branch April 30, 2026 15:35
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