-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Extend tests for using images of each PR #6766
Comments
/good-first-issue |
@kimwnasptd: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign salilmishra23 |
Hi @kimwnasptd, I saw your comments on my PR (extend tests for the Profile Controller) Since this effort is relative to building/pushing images we'll need to first cherry pick #6548 (to use dockerhub for KF images) to master and then rebase my work (#6820) on top! As soon as we merge the above two PRs I'll cherry-pick the rest of the missing PRs regarding publishing images when the |
@apo-ger let's organize the pending items and have a clear view of which of them interact with the PRs of this effort. My current understanding is that we'll need to ensure we use the DockerHub registry before these tests, since for this effort we are generating and applying the manifests. So #6825 should be merged before #6820 #6799. Then items for future improvements that we should do, but are orthogonal with using container images in tests are:
Is this your understanding as well? (Note, using |
@kimwnasptd Yes this is my understanding as well! |
/assign apo-ger |
There's an issue with the
This is because the runner cannot access
A workaround for this is to trigger the workflows ONLY on push events as a merged PR always results in a |
@kimwnasptd Also I noticed that we have the following two steps in each - name: Build multi-arch docker image
run: |
cd components/tensorboard-controller
make docker-build-multi-arch
- name: Build and push multi-arch docker image
run: |
cd components/tensorboard-controller
make docker-build-push-multi-arch I propose to remove the |
We currently don't have any tests for testing that notebook server images can be built when a PR introduces changes. I've prepared a PR to introduce the required workflows which will be triggered on pull_request events. |
During #6916, we found that the integration tests do not work as expected. The issue is with our To resolve this we will make use of the |
Hello @kimwnasptd and @apo-ger, I'm new to contributing to Kubeflow and I'd like to know if there are any remaining tasks with this issue. I'm eager to take on the task and consider it as an opportunity learn about the Kubeflow. |
/kind feature
Why you need this feature:
Right now we have tests for just applying the manifests in a KinD cluster for each component, i.e. https://github.com/kubeflow/kubeflow/blob/master/.github/workflows/jwa_kind_test.yaml
But when the actions are run for a PR they don't actually test the images that would be built from the current PR, but rather the ones already committed. We should instead aim at testing manifests by using images that are built from the code changes of each PR's commits.
This will also allow us to start doing more advanced integration tests, like:
And of course we will improve our testing quality by ensuring each PR results in images that will be working.
Describe the solution you'd like:
The end result I have in mind is to have
For the first task we'll need to update the existing
*_docker_publish.yaml
workflows to only get triggered when a PR is mergedhttps://github.com/kubeflow/kubeflow/blob/master/.github/workflows/jwa_docker_publish.yaml
For the second task we'll need to extend the
*_kind_test.yaml
files to do the above behavior.Anything else you would like to add:
Regarding testing that Pods are ready, we've also done similar work on the Manifests repo https://github.com/kubeflow/manifests/blob/master/.github/workflows/jwa_kind_test.yaml#L31
The text was updated successfully, but these errors were encountered: