572 Commits

Author SHA1 Message Date
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
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
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
50f8304f92
Merge pull request #844 from c-po/T6674-tacacs
T6674: add package build instructions for TACACS client libraries
2024-11-22 10:33:15 +02:00
Christian Breunig
ef9e1f84c1 T6674: add package build instructions for TACACS client libraries 2024-11-21 20:02:06 +01:00
John Estabrook
1ba46ed1d3
Merge pull request #842 from dmbaturin/T6904-dev-build-versions
build: T6904: allow development builds to have version strings
2024-11-21 10:53:31 -06:00
John Estabrook
823759115a
Merge pull request #841 from dmbaturin/T6903-configurable-vyos-1x
build: T6903: allow passing vyos-1x repo path in an environment variable
2024-11-21 10:53:20 -06:00
Daniil Baturin
1b12eeb9a1 build: T6904: allow development builds to have version strings 2024-11-20 15:52:55 +00:00
Daniil Baturin
ae582039f9 build: T6903: allow passing vyos-1x repo path in an environment variable 2024-11-20 14:34:56 +00:00
Daniil Baturin
30a4a8df27 scripts: T6877: fix an error when the base flavor for merging has no packages field 2024-11-20 14:02:51 +00:00
Christian Breunig
1e038ab202
Merge pull request #837 from dmbaturin/T6877-flavor-merge
scripts: T6877: add a script for merging multiple flavor files
2024-11-17 12:30:33 +01:00
Viacheslav Hletenko
365ae51ecd T6879: Add build amazon-cloudwatch-agent and amazon-cloudwatch-agent 2024-11-16 13:10:33 +00:00
Daniil Baturin
2cec3b9cba scripts: T6877: add a script for merging multiple flavor files 2024-11-14 18:07:53 +00:00
Nataliia Solomko
a975e075fd T3501: Fix cli command in check-qemu-install 2024-11-12 09:48:28 +02:00