-
Notifications
You must be signed in to change notification settings - Fork 98
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
[Arquillian OpenShift] Creates an integration with Fabric8 plugin #806
Comments
I think that now that we allow resources to refer to objects in their original namespace, problem is almost solved. Still, it would be better if we could have everything created or copied inside the test namespace. I am wondering if we can use the same approach and just copy the refereed objects over. I'll try to make a quick poc. |
The problem I see is that if you copy everything then maybe you are copying something that you don't want (maybe because it was already there before). |
Cross namespace references will definitely not be there. But even if they are (by a previous run in a non-ephemeral namespace) we can control what we want to do (recreate, reuse, fail). |
Ok great, I was just pointing out some cases that came to my mind :) |
Issue Overview
Creates an integration with Fabric8 plugin because when Fabric8 maven plugin is run it takes the default namespace configured (or the one that it is active in
oc
configuration) and do some stuff like creating ImageStreams or configuring builds.The problem is that when running with Cube, you need to specify the namespace where Fabric8 has done all the configuration steps. That's fine in most cases, but if you want to use the random namespace generation provided by Cube, then the test will fail because this namespace created by Cube was not the one configured by Fabric8.
Expected Behaviour
The solution would be integrating Fabric8 plugin with Cube by either:
@AutogenerateOpenshiftResources
annotation put on the test class@Deployment
methods we would like to have to make it simple and powerful enoughMy recommendation would be as first try, the first approach.
Current Behaviour
No integration
Additional Information
This bug comes from #743
The text was updated successfully, but these errors were encountered: