Alexandre Pujol
969e2dbbec
feat(profile): needrestart improve mqueue rule.
2024-11-29 15:41:54 +00:00
Alexandre Pujol
33a66ef6a2
fix(integration): disable needrestart test due to upstream issue.
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
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.
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
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
Alexandre Pujol
df02f7a0fd
tests: remove hanged test
2024-11-19 22:58:42 +00:00
Alexandre Pujol
3eba6bef6d
fix(tests): missing sudo in ip integration test.
2024-11-19 21:49:03 +00:00
Alexandre Pujol
5c70c50c26
tests: cleanup the basic structure of integration tests.
2024-11-19 21:27:04 +00:00
Alexandre Pujol
4e5f4cb06a
feat: profiles and integration tests improvments.
...
Add the udbus variable to be used in `unix bind` rule for dbus.
2024-11-19 19:04:27 +00:00
Alexandre Pujol
3013c1ea5a
ci(github): set local tunable for github actions.
2024-11-13 12:31:17 +00:00
Alexandre Pujol
e4f0f06648
tests(ci): install integration tests requirements.
2024-11-12 21:43:42 +00:00
Alexandre Pujol
5611001e5b
tests: add more integration tests for core tools.
2024-11-12 21:42:31 +00:00
Alexandre Pujol
6f14d025e9
Merge branch 'integration'
...
* integration:
fix(test): minor fixes.
tests(integration): add more tests.
2024-11-11 23:39:43 +00:00
Alexandre Pujol
897302bc5b
chore(profile): remove trailing whitespace in profiles (2).
2024-10-22 20:07:11 +01:00
Alexandre Pujol
38b973c596
chore(profile): remove trailing whitespace in profiles.
Ubuntu / build (default, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (default, ubuntu-24.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Waiting to run
Ubuntu / tests (push) Blocked by required conditions
2024-10-22 20:03:24 +01:00
Alexandre Pujol
5240dcbdd1
fix(test): minor fixes.
2024-10-22 13:38:42 +01:00
Alexandre Pujol
449c8d3e3a
tests(integration): add more tests.
2024-10-22 13:16:03 +01:00
Alexandre Pujol
d7521b36df
test: improve gpgconf tests.
Ubuntu / build (default, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (default, ubuntu-24.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Waiting to run
Ubuntu / tests (push) Blocked by required conditions
2024-10-22 00:53:50 +01:00
Alexandre Pujol
cca8e6508f
fix(profile): apply some fix raised by the test suite.
2024-10-22 00:37:50 +01:00
Alexandre Pujol
21dcda26bb
tests(integration): add more test cases (2).
2024-10-21 23:36:51 +01:00
Alexandre Pujol
f14fef10c2
tests(integration): add more test cases.
2024-10-21 22:16:08 +01:00
Alexandre Pujol
061f5aa95e
test: add initial structure for the common integration tests.
...
- Add bats common helpers.
- Add a first set of tests for some simple program.
2024-10-21 19:07:47 +01:00
Alexandre Pujol
d6d4648106
tests(bats): minor improvement to test generation.
2024-10-21 14:13:25 +01:00
Alexandre Pujol
c59086311b
tests: rewrite the way to generate integration tests.
2024-10-19 22:50:09 +01:00
Alexandre Pujol
d406596124
tests: small fixes on builders scripts.
2024-10-16 23:58:48 +01:00
Alexandre Pujol
d793858d26
tests(check): also checks indentation.
2024-10-16 23:38:04 +01:00
Alexandre Pujol
3a6844c8ce
tests(check): also checks files header.
2024-10-15 16:18:53 +01:00
Alexandre Pujol
75f2c0c7b8
tests: ensure vim syntax and abi are set on all profile/abs.
2024-10-09 22:26:11 +01:00
Alexandre Pujol
146bda8f45
test(packer): as base image for the cosmic DE.
2024-10-07 21:41:44 +01:00
Alexandre Pujol
4f861158cf
build: unify locally build package output directory.
2024-10-07 14:05:40 +01:00
Alexandre Pujol
31af758639
fix(test): packer hcl & uefi path
2024-10-07 12:16:42 +01:00
Alexandre Pujol
03b777340d
tests(packer): update & cleanup tests images.
2024-10-06 22:01:39 +01:00
Alexandre Pujol
36f620dab1
tests: add 'make check' for common issues in Apparmor profiles.
2024-10-06 15:39:21 +01:00
Alexandre Pujol
14a5d8deae
fix(aa-log): ensure we also split quote in log value
...
fix #229
2024-10-02 21:06:45 +01:00
Alexandre Pujol
3f98e86e24
fix(aa-log): too much cleaning in pci path.
...
see #505
2024-10-02 20:48:36 +01:00
Alexandre Pujol
59ac54e2fc
build: reorganise build: abi4, fallback, prebuild cli
...
- ABI4 by default, fallback to abi 3.
- aa-prebuild cli that can be used by other project shipping profiles.
- --file option to cli to only build one dev profile.
- add abi version filter to only & exclude directives.
2024-10-02 16:22:46 +01:00
Alexandre Pujol
08a6f8fb0b
tests(packer): enable apparmor debug in tests image.
2024-10-01 17:49:43 +01:00
Alexandre Pujol
e1f665aec1
fix(go): updated function name.
2024-09-26 22:53:02 +01:00
Alexandre Pujol
4f4e373877
chore: make go vet happy.
2024-08-20 19:07:56 +01:00
Alexandre Pujol
018073638b
test(aa): add testdata full.aa
2024-06-19 23:34:51 +01:00
Alexandre Pujol
4282fb336e
refractor(aa): move some test resource to the testdata dir.
2024-05-30 20:10:45 +01:00
Alexandre Pujol
89abbae6bd
Merge branch 'feat/aa'
...
Improve go apparmor lib.
* aa: (62 commits)
feat(aa): handle appending value to defined variables.
chore(aa): cosmetic.
fix: userspace prebuild test.
chore: cleanup unit test.
feat(aa): improve log conversion.
feat(aa): move conversion function to its own file & add unit tests.
fix: go linter issue & not defined variables.
tests(aa): improve aa unit tests.
tests(aa): improve rules unit tests.
feat(aa): ensure the prebuild jobs are working.
feat(aa): add more unit tests.
chore(aa): cleanup.
feat(aa): Move sort, merge and format methods to the rules interface.
feat(aa): add the hat template.
feat(aa): add the Kind struct to manage aa rules.
feat(aa): cleanup rules methods.
feat(aa): add function to resolve include preamble.
feat(aa): updaqte mount flags order.
feat(aa): update default tunable selection.
feat(aa): parse apparmor preamble files.
...
2024-05-30 19:29:34 +01:00
Alexandre Pujol
dc0e0084a0
feat(aa): add function to resolve include preamble.
2024-05-28 11:53:32 +01:00
Alexandre Pujol
00f6d88cb8
fix: add missings paths import.
2024-04-28 00:44:23 +01:00