7 Commits

Author SHA1 Message Date
Viacheslav Hletenko
0f44fc7abe T7026: Add apply_patches option for the build packages script
Add 'apply_patches' key is set to True (default) in the package configuration
This allows skipping/applying patch application by 'build.py' for specific
packages when desired

Usage:
  apply_patches = false
2025-01-14 09:13:17 +00:00
Viacheslav Hletenko
a549693509 T7037: Add prebuild hook for the package-build
The pre_build_hook is an optional configuration defined in packages.toml
It executes after the repository is checked out and before the
build process begins. This hook allows you to perform preparatory tasks,
such as creating directories, copying files, or running custom scripts/commands.
2025-01-10 12:57:26 +00:00
Christian Breunig
53ceb24988 T6674: move patches to "package/<package_name>" subfolder
This prevents the accidental applying of a patch to multiple source directories
defined in package.toml.

Example FRR:
Package consits of build instructions for libyang, rtrlib and frr itself.
Previously patches in frr/patches folder got applied to libyang, rtrlib and frr
which made no sense and could also fail a build.
2024-12-22 16:22:21 +01:00
Viacheslav Hletenko
8e669e323d T6912: Remove print dependencies for build packages 2024-11-25 14:46:06 +00:00
Viacheslav Hletenko
aa40b27d9e T6912: Fix build package script dependencies
Install dependencies declared in the package.toml file does not
work due to the wrong logic. Set global dependencies instaed of
dependencies per package.
2024-11-25 14:37:10 +00:00
Viacheslav Hletenko
b955b11680 T6813: Build tarballs for the packages
Build tarballs for the packages with our changes after patches
2024-10-24 12:49:56 +00:00
Viacheslav Hletenko
cc7d0993b4 T6674: Add build-scrips for packages without Jenkins
Add build scripts for .deb packages without Jenkins.
To exclude Jenkins we need some place where we can put new builds-scripts
to run in parallel (old/new) during meantime
We will deprecate old Jenkins package builds in the future.
2024-08-29 09:30:52 +00:00