-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Systemd Unit Artifacts #254
WIP Systemd Unit Artifacts #254
Conversation
Consolidate presets for all services into one preset file per package Address review feedback
test/fixtures/service/socket/main.py
Outdated
@@ -0,0 +1,26 @@ | |||
#!/usr/bin/python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file will be installed as a binary in one of the test systemd spec containers, but the endpoint it starts won't actually be checked. I'm not sure we can really do a full e2e test in our current setup since systemd must already be running in a container for the server to be initialized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this is only consumed by unutilized fixtures.
Seems like its ok to remove.
Also I'd prefer to not have to pull in python for the tests unless absolutely necessary just for the sake of test time.
…emd-unit-artifacts
fd6fc45
to
dd53ffc
Compare
dd53ffc
to
0c420ad
Compare
test/fixtures/service/socket/main.py
Outdated
@@ -0,0 +1,26 @@ | |||
#!/usr/bin/python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this is only consumed by unutilized fixtures.
Seems like its ok to remove.
Also I'd prefer to not have to pull in python for the tests unless absolutely necessary just for the sake of test time.
Remove unneeded dependencies for systemd unit integration tests
What this PR does / why we need it:
Adds support for specifying systemd units as artifacts in dalec. This is accomplished by adding a new services subsection to
artifacts
in a dalec spec that looks like the following:Additional options are supported to configure the unit
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #225
Special notes for your reviewer: