Commit graph

197 commits

Author SHA1 Message Date
Alexandre Pujol
71a473712c
tests: rewrite and expand the profile check to more files.
Rewrite: Speed up the checking by not using grep anymore and only using bash, also make it parallel

Revisit the way result are shown.

Expand: Also scan for mapping files and abstaction completion. Adapt the scan accordingly.
2025-06-01 23:58:02 +02:00
Alexandre Pujol
e771ef77b8
tests(packer): update base images content. 2025-05-30 00:18:39 +02:00
Alexandre Pujol
89a1714610
fix(profile): a few linting fixes. 2025-05-30 00:14:54 +02:00
Alexandre Pujol
4e4f8d8a0e
build: update sbin.list 2025-05-26 00:47:47 +02:00
Alexandre Pujol
8755c4a1b7
fix(profile): remove sbin on some program path
Debian and opensuse do not install the same programs under /usr/sbin.
This will have to be tracked by distribution.
For now, sbin.list follows debian install.
2025-05-26 00:47:46 +02:00
Alexandre Pujol
3a568ba307
feat(profile): add more programs to the list of sbin program. 2025-05-01 15:17:03 +02:00
Alexandre Pujol
4f4a8fa8e7
test(check): ensurre we only match the sbin name. 2025-04-28 23:04:17 +02:00
Alexandre Pujol
aeb3614a07
tests: add some program to the list of tracked files in sbin. 2025-04-28 22:34:17 +02:00
Alexandre Pujol
8ae1118de6
tests(check): ensure bin is not used instead of sbin. 2025-04-28 21:48:53 +02:00
Alexandre Pujol
2bc87f68a8
tests(packer): define more common cloud init resources. 2025-04-27 14:20:22 +02:00
Alexandre Pujol
e774ad6578 fix(ci): minor fixes. 2025-04-13 22:46:53 +02:00
Alexandre Pujol
984679c7cd
fix(tests): do not run vim inside CI job 2025-04-05 22:01:26 +02:00
Alexandre Pujol
9b8348181c
fix(tests): disable apt tests 2025-04-05 18:55:03 +02:00
Alexandre Pujol
984cf28e61
chore: apply some linter recommendations. 2025-04-04 23:45:24 +02:00
Alexandre Pujol
0d43563520
ci(github): ignore profile not handled by this project. 2025-03-30 21:29:28 +02:00
Alexandre Pujol
811cb64390
tests: update requirments list. 2025-03-30 18:47:28 +02:00
Alexandre Pujol
d3e9a7ec70
tests: allow some tests to fail as we don't test the software but the profile. 2025-03-30 16:55:24 +02:00
Alexandre Pujol
1204e29fb9
test: update integration tests. 2025-03-28 23:31:05 +01:00
Alexandre Pujol
8e2a7e8068
build: ensure the justfile could fully replace the makefile. 2025-03-28 20:13:00 +01:00
Alexandre Pujol
054b723255
feat(profile): improve core snap profiles. 2025-03-23 13:44:50 +01:00
Alexandre Pujol
86aba45d67
tests(integration): move most test inside groups. 2025-03-02 00:00:08 +01:00
Alexandre Pujol
c9d249e5e3
tests(packer): add test images for ubuntu 25.04 & debian 13 2025-03-01 22:44:56 +01:00
Alexandre Pujol
1392b078ab
tests: add Justile, used as integration environment helper. 2025-03-01 16:15:55 +01:00
Alexandre Pujol
0b029ec42f
tests(packer): rewrite the way to build the tests images. 2025-03-01 16:10:09 +01:00
Alexandre Pujol
6d5a522dcb
test(packer): update sources 2025-03-01 16:07:10 +01:00
Alexandre Pujol
161078ed90
tests: move common cloud-init config to a unified file, rename some base distribution. 2025-03-01 13:18:19 +01:00
Alexandre Pujol
33681e14f2
refractor: tests/bats -> tests/integration 2025-02-13 19:12:48 +01:00
Alexandre Pujol
df8ac22e0c
test(vagrant): update boxes name. 2025-01-26 12:10:23 +01:00
Alexandre Pujol
4e73f7209f
test(packer): add cpu & ram internal variable. 2025-01-24 23:44:11 +01:00
Alexandre Pujol
aae36aa4e0
test(packer): make image builder simplier. 2025-01-24 23:32:24 +01:00
Alexandre Pujol
5b9c1a8fea
test(packer): remove useless definition in cloud-init. 2025-01-24 21:59:02 +01:00
Alexandre Pujol
cd8ae6a391
refraator(test): cloud init source out of packer directory. 2025-01-24 21:51:44 +01:00
Alexandre Pujol
88f1821b19
tests: cosmetic. 2025-01-12 18:23:43 +01:00
nobody43
edaa45067a fix exec_path bug, ignore skipable files 2024-12-13 18:07:57 +01:00
nobody43
8f4b330407 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
3030c28c05 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
679df325de polishing 2024-12-13 18:07:57 +01:00
nobody43
21b60b4fa3 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
313f2f7f2c Create profile_check.py 2024-12-13 18:07:57 +01:00
Alexandre Pujol
94bf2495e3 feat(profile): needrestart improve mqueue rule. 2024-12-12 22:52:55 +01:00
Alexandre Pujol
33a66ef6a2
fix(integration): disable needrestart test due to upstream issue. 2024-11-21 20:22:52 +00:00
Alexandre Pujol
3960f20f00
feat(profile): add needrestart-vmlinuz-get-version & tests for needrestart. 2024-11-21 19:39:55 +00:00
Alexandre Pujol
5237ab3989
test(integration): add sysctl. 2024-11-21 19:33:07 +00:00
Alexandre Pujol
8d4d17fa34
feat(profile): add fc-match & fc-pattern. 2024-11-21 19:26:57 +00:00
Alexandre Pujol
ffd6ecba5b
fix(tests): ensure fwupdmgr don't fail even if the target does not support firmware update. 2024-11-21 19:15:56 +00:00
Alexandre Pujol
2332f71b17
tests: add groupmod. 2024-11-20 00:14:22 +00:00
Alexandre Pujol
685105a662
tests: add fwupdmgr.bats 2024-11-20 00:12:31 +00:00
Alexandre Pujol
edad2e1984
tests: ensure systemd-homed is started before the homectl test. 2024-11-20 00:11:57 +00:00
Alexandre Pujol
5ef78b1e6c
tests: add dmesg.bats 2024-11-20 00:08:26 +00:00
Alexandre Pujol
4a5fa74e63
tests: enable the homectl tests. 2024-11-19 23:43:17 +00:00