-
Notifications
You must be signed in to change notification settings - Fork 244
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
devfile integration tests should run against Kubernetes cluster #2752
Comments
@kadel I've been thinking about the same. As both a stopgap and the most free/easiest solution, I was thinking about bringing up Minikube in Travis, and running the devfile tests against it. |
+1 |
The tricky part will be nicely structuring our tests as we want to keep testing both Kubernetes and OpenShift. We have 2 groups of tests:
|
We have raised a concern in test-platform whether we can get a kubernetes cluster using openshift CI/prow. However I have gone through some of the documents to setup the kubernetes cluster on travis CI. |
I would suggest to start on travis and not consider having a kubernetes cluster on openshift. |
@prietyc123 refer https://minikube.sigs.k8s.io/docs/start/linux/ for how to install minikube on travis (Ubuntu VM). While installing make sure that you are using |
Yes, As OpenShift CI does not support such functionality (Got confirmation form test platform team), so as per the above discussion the only way left behind is travis CI. |
|
#2913 is blocked and issue has been covered in #2928 Issue has been shortly explained in #2913 (comment) |
#2884 is also blocked. Refer comment : #2884 (comment) |
pr #3041 and #2913 is blocked due to #2877 (comment) |
Blocked due to issue #3055 |
Running devfile delete integration test on kubernetes cluster using travis CI #2913 and Running devfile push integration test on kubernetes cluster using travis CI #3041 is in review. Need to update some requested change for the proposed pr. Running devfile create integration test on kubernetes cluster using travis CI #2884 is ready to get reviewed but on hold due to #3124. Once PR gets merged I will open it for review. |
As per the comment I am going to open a separate pr to address the comment. |
This issue is in queue for a long time. And I have already proposed the prs related to this issue. It took time because I was getting lots of unknown issue while executing it and tried to resolve those one by one. While execution I tried to resolve racing condition with the namespace by copying the kubeconfig file to local temporary config file. Tried the same with openshift cluster and successfully executing those on travis CI. But here comes the twist... When I am trying to copy the kubeconfig to the temp config on prow I am facing some other challenges Like image streams are not found in that temporary config. I am not sure how much unknown challenges will come up. And at the same time I don't want team to get blocked on running their tests on kubernetes cluster, as it is equally Important. More importantly all the tests are running on kubernetes cluster so its not the failure from test side. Its particularly failing on certain platform like prow. IMO a possible solution is Lets handle the kubeconfig thing on travis CI for now and I will open a new pr to handle the current issue with kubeconfig on prow. I am suspecting it could be an infra issue. Anyway I will be working on that issue in this sprint itself. And in this way I guess going forward every individual will be able to run their pr on minikube. |
here |
Everything related to devfiles should work with Kubernetes as well as OpenShift clusters.
Integration tests need to be executed against Kubernetes as well as OpenShift cluster
/area devfile
/kind test
/area testing
/priority high
The text was updated successfully, but these errors were encountered: