Add more OSes, refactor acceptance tests#283
Conversation
|
Tested this on:
It doesn't work on RHEL10-alikes by 2 reasons:
NOTE: Debian is in a gray area at the moment. There are no official upstream builds of recent rsyslog version. There is OBS repo that has 8.2512 as latest version. I'm not sure if we should support that or wait for any clarification on Debian status (See rsyslog/rsyslog#6767). So far upstream repo is not enabled and the corresponding acceptance test is skipped. |
|
One dropped part is a test with keeping existing OS rsyslog config. I have mixed feelings here. My idea is that we're testing the module, not the OS. I'd prefer maybe to introduce OS-specific default configs instead. |
|
Looks good so far 👍 |
|
CentOS 9 hits the same issue as I saw on Alma 10. See https://gist.github.com/jay7x/e22bad9544eef71fcf28866921f29b75. Will see how to deal with it.. |
|
The failure above was in the cleanup helper, so can be just ignored. Though, now it fails, because test expects a package to be installed from the upstream rsyslog repository. But CentOS 9 is fast enough to have the same version in |
Signed-off-by: Yury Bushmelev <jay4mail@gmail.com>
Signed-off-by: Yury Bushmelev <jay4mail@gmail.com>
Signed-off-by: Yury Bushmelev <jay4mail@gmail.com>
Signed-off-by: Yury Bushmelev <jay4mail@gmail.com>
|
I decided to add more OSes right here to see tests are good for all of them. |
kenyon
left a comment
There was a problem hiding this comment.
Looks good. We could also add Ubuntu 26.04.
| "operatingsystemrelease": [] | ||
| "operatingsystem": "Ubuntu", | ||
| "operatingsystemrelease": [ | ||
| "18.04", |
There was a problem hiding this comment.
18.04 is EOL.
| "18.04", |
There was a problem hiding this comment.
This should be considered backward-incompatible, right? I'd prefer to drop outdated OSes in another PR (after a release ideally).
| { | ||
| "operatingsystem": "Debian", | ||
| "operatingsystemrelease": [ | ||
| "11", |
There was a problem hiding this comment.
11 is EOL.
| "11", |
There was a problem hiding this comment.
I need it :-D Let's do one release with Debian 11 supported and then drop it.
| }, | ||
| { | ||
| "operatingsystem": "Ubuntu", | ||
| "operatingsystem": "RedHat", |
There was a problem hiding this comment.
This seems to have dropped RHEL8 -- is that intentional?
There was a problem hiding this comment.
Hmm.. I don't think so.. please add it back in another PR
This PR has acceptance tests refactored. That allows to support more OSes: