584 Commits

Author SHA1 Message Date
Viacheslav Hletenko
a4339b80ed T7026: build vpp source plus binaries instead of only binaries 2025-01-15 12:29:41 +00:00
John Estabrook
1e6cdf774b
Merge pull request #881 from sever-sever/T7206-vyos-1x-vpp
T7026: Extend vyos-1x build to include vyos-vpp
2025-01-14 09:50:25 -06:00
Viacheslav Hletenko
4b9c86bd9a
Merge pull request #886 from sever-sever/T7026-fix-patches
T7026: Use vpp patches during build as they not applied
2025-01-14 11:15:10 +02:00
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
844cac86fd T7026: Use vpp patches during build as they not applied
Patches for VPP are not applied due to specific to the vpp repo
structure, so we cannot use standard included to build.py
function 'apply_patches' to patch the vpp sources.
Use explicit patch in the "build_cmd" as a workaround and the
simplest fix.
2025-01-14 09:05:54 +00:00
Christian Breunig
0bd5cb4f50
Merge pull request #885 from aapostoliuk/T2326-circinus
T2326: opennhrp: Removed OpenNHRP package
2025-01-13 19:52:21 +01:00
aapostoliuk
4d64c894b4 T2326: opennhrp: Removed OpenNHRP package
Removed OpenNHRP package
2025-01-13 15:52:08 +02:00
Viacheslav Hletenko
a2fb862fea
Merge pull request #884 from sever-sever/T7043
T7043: Add arguments for CPU and memory for the check-qemu-install
2025-01-13 11:20:51 +02:00
Viacheslav Hletenko
7d86ca29be
Merge pull request #883 from sever-sever/7026-vpp-build
T7026: Use prebuild hook to build vpp
2025-01-11 14:15:17 +02:00
Viacheslav Hletenko
51895a5c98 T7043: Add arguments for CPU and memory for the check-qemu-install
Some smoketest requires more than 4G memory.
And --cpu and --memory args for check-qemu-install
2025-01-11 11:51:10 +00:00
Viacheslav Hletenko
2eb9deea6f T7026: Use prebuild hook to build vpp 2025-01-10 13:13:24 +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
Viacheslav Hletenko
72f39101bf T7026: Extend vyos-1x build to include vyos-vpp 2025-01-09 20:36:37 +00:00
Viacheslav Hletenko
aae746aa7b
Merge pull request #880 from vyos/T7032
T7032: Add missing libpam-radius-auth build
2025-01-09 15:01:37 +02:00
Viacheslav Hletenko
528416d491 T7032: Add missing libpam-radius-auth build 2025-01-09 09:05:31 +00:00
John Estabrook
1e4bcf0428 Testsuite: T7031: add version to manifest if not explicitly set 2025-01-08 23:00:33 -06:00
Viacheslav Hletenko
b04538b9b2 T7026: Add script build vpp package 2025-01-07 20:05:35 +00:00
Christian Breunig
f8b88e54bc T7019: use VyOS release train in /etc/os-release codename over Debian release
VyOS is based on Debian
* VyOS 1.3 -> Debian Buster (VyOS equuleus)
* VyOS 1.4 -> Debian Bookworm (VyOS sagitta)
* VyOS 1.5 -> Debian Bookworm (and then trixie) (VyOS circinus)
* VyOS rolling -> Debian Bookworm (and then trixie) (VyOS t.b.d.)

When running
  vyos@vyos:~$ lsb_release -a
  Distributor ID: VyOS
  Description:    VyOS 1.5-rolling-202501031241 (current)
  Release:        1.5-rolling-202501031241
  Codename:       bookworm

The codename in use is the Debian base distribution. This should be changed to
the VyOS release name.
2025-01-05 20:00:49 +01:00
Viacheslav Hletenko
aa4ba3d95e
Merge pull request #876 from c-po/T6999-os-release
Testsuite: T6999: validate content of /etc/os-release in target system
2025-01-03 21:57:44 +02:00
Christian Breunig
dabd5b2a6a Testsuite: T6999: validate content of /etc/os-release in target system
The file /etc/os-release is written during image build, but it's content is not
validated that it can be used by e.g. "lsb_release -a" command.
2025-01-03 17:00:52 +01:00
Christian Breunig
1a593421ec Kernel: T861: enable lockdown subsystem as UEFI secure boot dependency 2025-01-02 11:44:27 +01:00
Christian Breunig
8013ff21ae Kernel: T5887: update Linux Kernel to v6.6.69 2025-01-02 11:43:19 +01:00
Christian Breunig
bf01c00d04 Testsuite: T861: use proper base MAC address from RFC7042
Commit 085df7615a ("Testsuite: T861: always use 2 VCPUs") also altered the base
MAC address used by QEMU to a locally administered one. Something that looked
"right" in the beginning turned out to break the smoketest platform.

The reason is the locally administered bit is evaluated in [1] and if set and
not on the exclusion list (as it was a Realtek base MAC address before), the
interface in question is not considered persistent and thus not added to the
configuration file upon system startup.

1: 825743b6bc/src/helpers/vyos-interface-rescan.py (L73-L74)
2025-01-01 20:10:52 +01:00
Christian Breunig
72c2a011d7
Merge pull request #872 from c-po/testsuite-update
Testsuite: T861: inform smoketest about this environment
2024-12-31 18:06:25 +01:00
Christian Breunig
81ae7efbac Testsuite: T6991: inform smoketest about this environment 2024-12-31 14:20:49 +01:00
Christian Breunig
20b20efcca Testsuite: T861: boot system in serial console mode to get the full boot log 2024-12-31 14:20:32 +01:00
Christian Breunig
085df7615a Testsuite: T861: always use 2 VCPUs 2024-12-31 14:13:04 +01:00
Nicolas Vollmar
d6fab6c8c0
T6949: Adds build for blackbox exporter deb package 2024-12-30 19:30:48 +01:00
Christian Breunig
9337990602
Merge pull request #869 from c-po/no-jenkins
T6674: remove all references to Jenkins
2024-12-23 10:02:32 +01:00
Christian Breunig
443109687c
Merge pull request #863 from natali-rs1985/T6952
T6952: enable exFat in kernel config
2024-12-23 09:55:35 +01:00
Christian Breunig
38395e86d5 T6674: remove all references to Jenkins 2024-12-23 09:47:19 +01: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
Christian Breunig
6aa3bb5fa8 T6674: use common .gitignore file for Package build artifacts/sources 2024-12-22 16:22:21 +01:00
Christian Breunig
1ee43221f2
Merge pull request #862 from ykholod/current-issue-17413
T6958: Clear Babel config on babeld stop
2024-12-19 17:21:23 +01:00
Matthew Kobayashi
f377ee2ee7
T6960: package-build: Disable unnecessary builds 2024-12-19 08:17:17 +10:00
Nataliia Solomko
2a27860183 T6952: enable exFat in kernel config 2024-12-18 18:39:01 +02:00
Yaroslav Kholod
6fb4916017 T6958: Clear Babel config on babeld stop 2024-12-18 14:57:08 +02:00
Christian Breunig
a6ee547df9 frr: T6746: upgrade package to 10.2 2024-12-12 21:08:36 +01:00
Christian Breunig
5bccbebc1e
Merge pull request #849 from dmbaturin/T6923-deb-security-urls
build: T6923: use the Debian mirror for security updates if it's specified explicitly
2024-11-30 12:42:51 +01:00
Daniil Baturin
c3f79825c9 build: T6922: add an option to specify bootloaders for the image 2024-11-29 17:04:35 +00:00
Daniil Baturin
5de2b12d0b build: T6923: use the Debian mirror for security updates if it's specified explicitly
but the security mirror is not
2024-11-29 12:16:10 +00:00
Viacheslav Hletenko
d4b572844d T6912: Fix build podman dependency
Use the global dependency instead of package dependency in the
package.toml
This fixes to build 'podman' package
2024-11-28 12:53:15 +00:00
Viacheslav Hletenko
bffc5c8c36 T6912: Fix build isc-dhcp dependency
Use the global dependency instead of package dependency in the
package.toml
This fixes to build 'isc-dhcp' package
2024-11-28 12:45:35 +00:00
Viacheslav Hletenko
213d324412 T6912: Fix hsflowd dependency
Use the global dependency instead of package dependency in the
package.toml
This fixes to build 'hsflowd' package
2024-11-28 12:29:43 +00:00
Viacheslav Hletenko
c193623120 T6912: Fix build waagent dependency
Use the global dependency instead of package dependency in the
package.toml
2024-11-28 12:26:00 +00:00
Viacheslav Hletenko
19bd06b0fe T6912: Fix build strongswan dependency
Use the global dependency instead of package dependency in the
package.toml
This fixes to build 'strongswan' package
2024-11-28 12:20:23 +00:00
Viacheslav Hletenko
e14c56d886 T6912: Fix build dropbear dependency
Use the global dependency instead of package dependency in the
package.toml
The package dependency is not used
This fixes to build 'dropbear' package
2024-11-28 12:07:39 +00:00
Viacheslav Hletenko
8e669e323d T6912: Remove print dependencies for build packages 2024-11-25 14:46:06 +00:00
Viacheslav Hletenko
3bbcbb689b T6912: Build TACACS use global dependencies 2024-11-25 14:40:14 +00:00
Viacheslav Hletenko
3b786bf6f5 T6912: Build FRR use global dependencies 2024-11-25 14:39:49 +00:00