summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2026-06-02Testsuite: T8602: add QEMU smoketest for add-system-image over HTTP (default ↵Christian Breunig
+ VRF) Extend check-qemu-install with --test-image-update: build a nested installer ISO as a second CD-ROM, serve the inner image over HTTP, and exercise add/delete system image in the default routing context and in a named VRF. Add make test-image-update and ignore/clean nested_installer_payload.iso artefacts.
2026-06-02Makefile: T8602: move validation if ISO exists into individual scriptsChristian Breunig
Sometimes I do call scripts/check-qemu-install directly without the Makefile wrapper, thus it should be ensured that the ISO image exists also from within the test-case launcher, too.
2026-06-02Makefile: T8602: configtests always require vyos-configdChristian Breunig
There is no need in keeping the old --configd option when starting the smoketests. VyOS heavily relies on vyos-configd and derivates, so there is no need anymore to disable it for our smoketests.
2026-06-01Revert "T8542: Add functionality to generate SBOM file from ISO image"Christian Breunig
This reverts commit bdd7024da3a71854c6ce15c312581900e9b817c8.
2026-06-01Revert "T8542: Add functionality to generate SBOM file from ISO image"Christian Breunig
This reverts commit 4ef1924d9a5328aaab11a4e409c8116f99cbc140.
2026-05-08Merge branch 'current' into T8542-SBOM-currentAndrii Klymenko
2026-04-23T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
Apply quoting to the passed variable. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-21T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
Add make_sbom target to Makefile.
2026-04-20Makefile: T8375: improve syntax for artifact detectionChristian Breunig
2026-04-14T8460: Add CPU isolation option to QEMU install checks for VPP-related testsNataliia Solomko
2026-02-23Merge pull request #1122 from c-po/qemu-arm64Viacheslav Hletenko
Makefile: T8294: autodetect CPU architecture for smoketests
2026-02-21Makefile: T8294: autodetect CPU architecture for smoketestsChristian Breunig
We currently have hardcoded values for amd64 in our Makefile. When calling the smoketests helpers like: * make testc * make qemu-live * make test-interfaces All expect an amd64 ISO file - if building and arm64 ISO image on an arm64 system, all those helpers do not work as it is hardcoded to amd64.
2026-02-13T8267: Extend the vyos-build repo to include Ansible install phonyViacheslav Hletenko
Extend the vyos-build repo to include Ansible install PHONY Add the ability to install Ansible and VyOS compatible modules. It could be used for the further "topology tests". It also could be helpful with environment questions where a bug was reproduced. Use virtual environment to install Ansible + VyOS modules New options: - make ansible-install - make ansible-check - make ansible-clean
2026-01-14T8065: Dehardcode qemu settings to allow run tests on arch arm64Viacheslav Hletenko
2025-12-31Makefile: T8111: add missing --iso argument for testraid, testsb and testtpmChristian Breunig
Commit 6fa36ec9 ("Testsuite: T8111: make --iso and --disk optional arguments") made the "--iso" option optional, but it was missed in the testraid, testsb and testtpm testcase calls.
2025-12-25Testsuite: T8111: add --cloud-init test targetChristian Breunig
Add support to dynamically assemble cloud-init NoCloud ISO image and attach it to an existing qcow2 image file. The config data injected via NoCloud is later validated if it has been properly configured on the OS level.
2025-12-21Testsuite: T8111: make --iso and --disk optional argumentsChristian Breunig
It is now possible to pass in an already existing qcow2 disk image to the Testsuite. This is necessary if we would like to boot wxisting flavor images like KVM or PROXMOX.
2025-07-17T7636: Fix Makefile target for test-no-interfacesMichael Pardatscher
The target is calling tests for VPP, which require huge page support, thus always making the target fail.
2025-07-03T7609: Increase huge-page-count to 1800 for VPP testsViacheslav
2025-07-03T7606: Exclucde VPP config-load test from the phony testcViacheslav
We have a separate PHONY for VPP tests
2025-07-02T7609: Smoketest add huge-page-size and huge-page-count argumentsViacheslav
2025-07-02T7606: Split VPP test for smoketestViacheslav
Exclude VPP tests from the general tests Add the PHONY no-interfaces-no-vpp Add the PHONE testcvpp (load VPP config only)
2025-03-18T861: "make purge" should also remove efivars fileChristian Breunig
2025-02-25T7197: Decrease config smoketest to 2 CPUs and 7G RAMViacheslav Hletenko
Decrease system resources for configload tests
2025-02-21T7184: Fix makefile target testMichael Pardatscher
Add `--cpu` and `--memory` args to target `test`, fixing smoketest runs due to VPP requiring additional resources
2025-02-05T7066: Increase cpu number for smoketestsNataliia Solomko
2025-01-30T7110: Increase memory to 8G for the smoketestsViacheslav Hletenko
Some smoketests requires more memory to pass all tests For example VPP tests
2025-01-14T7043: increase smoketest memory to 8G for vppViacheslav Hletenko
2024-12-20T6964: Add PHONY to make VPP smoketestsViacheslav Hletenko
Add PHONY to make smoketests for VPP. sudo make test-vpp
2024-10-06Testsuite: T6494: add new make target "test-interfaces"Christian Breunig
We can not run the interface related tests, and non interface related testcases in parallel to speedup the entire build process.
2024-09-14T861: add UEFI Secure Boot supportChristian Breunig
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux Kernel and enforces module signing. This results in an additional security layer where untrusted (unsigned) Kernel modules can no longer be loaded into the live system. NOTE: This commit will not work unless signing keys are present. Arbitrary keys can be generated using instructions found in: data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
2024-09-07Testsuite: T861: add explicit --smoketest argumentChristian Breunig
In the past the CLI based smoketest was always executed under an else branch in the testcase if-statement. Instead of using negative logic move all testcases to positive logic adding an empty "catch all" else path.
2024-09-07Testsuite: T861: add support to use VNC for a graphics consoleChristian Breunig
To use VNC you could run "make test -- --vnc"
2024-09-05Makefile: T2640: fix PHONY typoChristian Breunig
Fix typo added in commit 499e8e1cbb ("Makefile: T2640: add helper to convert ISO to OCI image to start a co…ntainer") should be PHONY over PHONE
2024-09-05Makefile: T861: add possibility to pass CLI options to check-qemu-installChristian Breunig
We can now pass any arbitrary option to the check-qemu-install script by calling: make test -- --bar-option or make testc -- --foo-option please note the -- which is not a typo but rather signals the end of options and disables further option processing and passes the options down to the next script.
2024-06-30smoketest: T6510: use vyos-configd also on "make test"Christian Breunig
2024-05-28build: T6414: rename the "iso" flavor to "generic"Daniil Baturin
2024-05-06build: T3664: modify the module-level template pathDaniil Baturin
instead of setting an environment variable
2024-04-22build: T3664: adjust the vyos-1x submodule path in scriptsDaniil Baturin
2024-04-16build: T3664: move sudo out of the make targetDaniil Baturin
to avoid permission problems
2024-04-15build: T3664: correct the parameterized make ruleDaniil Baturin
2024-04-15build: T3664: add a parameterized make rule for build targetsDaniil Baturin
to simplify the now-rather-tricky build script invocation
2024-03-20chore: T671: remove unused scripts and references to themDaniil Baturin
2024-02-20config: T4919: Add emulated TPM encryption testsarthurdev
2023-11-26Makefile: T2640: add helper to convert ISO to OCI image to start a containerChristian Breunig
Use either "make oci" or call the script manually: $ scripts/iso-to-oci build/live-image-amd64.hybrid.iso I: mount ISO build/live-image-amd64.hybrid.iso I: extracting squashfs content I: generate OCI container image vyos-1.5-strongswan-202311241125.tar I: to import the previously generated OCI image to your local images run: docker import vyos-1.5-strongswan-202311241125.tar vyos:1.5-strongswan-202311241125 --change 'CMD [/sbin/init]'
2023-11-19Makefile: add new target qemu-liveChristian Breunig
Simply boot a live qemu version from the latest ISO build (10:18) cpo lnx01:~/vyos-build [current] # sudo make qemu-live if [ ! -f build/live-image-amd64.hybrid.iso ]; then echo "Could not find build/live-image-amd64.hybrid.iso" exit 1 fi scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso INFO - Creating Disk image testinstall-20231119-101823-4483.img SeaBIOS (version 1.16.2-debian-1.16.2-1) Machine UUID f48b60b2-e6ad-49ef-9d09-4245d0585e52 Booting from DVD/CD... ISOLINUX 6.04 20200816 ETCD Copyright (C) 1994-2015 H. Peter Anvin et al
2023-09-14smoketest: Allow selection of smoketests to runsarthurdev
Example: `make test MATCH="interfaces|policy"` will only run interfaces and policy tests
2022-10-06T3664: initial implementation of the build flavor systemDaniil Baturin
2021-12-09Testsuite: add new "make testraid" target for RAID-1 installation testingChristian Poessinger
2021-12-09Makefile: add common helper to check if ISO was build before running testsChristian Poessinger