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
Handle non-EL5 code #441
Comments
The release process is currently run on EL7, it will probably always be run on the latest OS we support, so I don't see this as an issue. |
@stdweird - As the tests run on EL5 now, are we in a position where this is "done"? |
@jrha the tests don't run on EL5. |
Ok, my mistake |
Does something need to be done for this issue... Conversation is a bit cryptic! |
@jouvin maybe there's a way to exclude certain components from the module list (or have a minimal modules list that runs everywhere and test more modules on e.g. EL6 and EL7)? i modified the build_all_repos script to do filter them out, but that's not really clean |
Thanks. This was my understanding of the problem from the initial description but from the conversation it was not clear whether there was still an action to do... I'll try to think about how this could be done at the Maven level but this may be quite complex. Do you want only to exclude the test phase when Maven is run or do you want to make the configuration module list depending on the OS version (which may be trickier)? |
exclude the test phase is fine, but i'm not sure what this means. (eg |
As for the tests in build tools repo, we can probably make the tests for some components conditional, based on a variable reflecting the os version... I have to think more about it... |
@stdweird has done a lot to solve this issue, how much is left to be done? |
to be clear, i worked around the issue, not solving anything (but we can run the tests on EL5) |
Bump it, or close it? |
@stdweird Bump it, or close it? |
I think we need to make the tests run on EL5 so can use them to make sure that components that are required on EL5 have not been broken by a regression. Tests for code known not to support older platforms will need to call that out via some Test::* trickery. |
See example commit to exclude a non-el5 component quattor/release@037a42b |
Check if we could use a Maven activation property based on a file existence to disable building/testing of some components based on an OS version. |
Discussed at March 2017 workshop, agreed to selectively switch the compile and test of affected components in Maven. |
There are a number of components that won't work on EL5 due to perl 5.10-isms
It makes no sense for these to ever run on EL5, but the tests will fail.
We need a way to be able to exclude them during EL5 tests (but then the release process can't be performed on EL5)
The text was updated successfully, but these errors were encountered: