Skip to content

Commit 368c637

Browse files
committed
ci(dgoss): add a check on binary capabilities
Using the command function for the moment. Will use the capabiliy one when goss-org/goss#1020 is merged
1 parent 21454ca commit 368c637

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/dgoss_validate.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ file:
1818
mode: "0755"
1919

2020
command:
21+
'check alumet-agent capabilities':
22+
exec: 'getcap /usr/bin/alumet-agent'
23+
exit-status: 0
24+
stdout: |
25+
/usr/bin/alumet-agent cap_sys_nice,cap_perfmon=ep
26+
2127
'run alumet-agent':
2228
exec: "/usr/bin/alumet-agent --config /etc/alumet/alumet-config.toml --plugins csv,perf,procfs,socket-control exec -- sleep 1 && [ -s alumet-output.csv ]"
23-
exit-status: 0
29+
exit-status: 0

0 commit comments

Comments
 (0)