-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agent_install): only install required packages [SMAGENT-6558] (#465
) rework the role so to only install the packages required by the selected driver (and therefore, the respective dependencies). Also, remove packages which are no longer required by the selected driver type. Notice we need to craft a list augmented with the selected version, if one is present. Most of the selection logic (namely, based on the version) resides in the 'agent' filter which is probably far from ideal but gets the job done. Side changes to make CI pass on this PR: * DO NOT delete environment file in case of kmod (otherwise agent 13.1.0 will fail) * DO NOT RUN tests on Ubuntu 18.04 (due older systemd not accepting non-absolute path for kill -- otherwise agent 13.1.0 will fail) * execute local forwarder test on EC2 instead of container (due to systemd unit)
- Loading branch information
Showing
14 changed files
with
99 additions
and
387 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
def test_forwarder_emitter(host): | ||
f = host.file("/opt/draios/logs/draios.log") | ||
assert f.contains("local forwarder enabled: true") | ||
with host.sudo(): | ||
f = host.file("/opt/draios/logs/draios.log") | ||
assert f.contains("local forwarder enabled: true") |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.