-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Limit KF Pipelines postsubmit tests to the master branch #14293
Conversation
Hi @Ark-kun. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 @jlewi |
/lgtm |
LGTM label has been added. Git tree hash: 7c802bdc47830558b9ecf9ce78b90297f2ecc646
|
Post-submit tests run after submission as opposed to pre-submit. After submission where? Usually it's the master branch. Otherwise the testis just presubmit test. P.S. Our postsubmit tests rely on images build by CloudBuild which is only triggered by commits to the master branch. |
Why wouldn't you trigger postsubmits on the branch corresponding to the commit just like you do for presubmit? For other repositories the main use case for branches is to cut release branches. e.g v0.6-branch. Release branches will unavoidably get cherry-picks and other fixes. Those fixes should trigger pre/post and periodic tests which run against the code on the release branch. |
I think we should run the postsubmit tests on all the branches and when features are added to the pipeline, create a branch in a forked repo. |
Can you please help me understand the difference between presubmit and postsubmit tests? |
/cc @IronPan |
@Ark-kun: GitHub didn't allow me to request PR reviews from the following users: IronPan. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
@Ark-kun presubmits are run on PRs. So in a presubmit you are running the tests on code before it is merged. In a postsubmit you are trigger the tests on the commit resulting from a PR. There are a couple reasons for doing this
If you look at kubeflow/kubeflow You can see that we trigger a more comprehensive suite of test on post submit. |
Expanding this: Which implies that the commit for which the postsubmit test runs is a master branch (merge) commit. |
/cc @hongye-sun |
@Ark-kun: GitHub didn't allow me to request PR reviews from the following users: hongye-sun. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
Not if the PR is being merged into a branch. So for most kubeflow repositories we cut release branches corresponding to every major release. During the lifetime of a major release fixes will get merged into the release branch. So we want postsubmits to be triggered on the branch which is not the master branch. |
/ok-to-test @Ark-kun I don't have an oppionion on whether pipelines should be running its postsubmits on all branches or just master. So if you want to submit this as is just go ahead and remove the hold. It might be good if someone else from the pipelines toom could LGTM the decision not to run postsubmits on all branches. |
/lgtm |
@IronPan: changing LGTM is restricted to collaborators 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun, IronPan, jlewi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi, just a side note, I think we discussed about using branches for releases instead for KFP. If we move to that structure, pushing fixes to release branches would need further postsubmit tests too. We can further configure this when that structure is ready. |
/hold cancel |
@Ark-kun: Updated the
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. |
No description provided.