-
Notifications
You must be signed in to change notification settings - Fork 28.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
[SPARK-31860][BUILD] only push release tags on succes #28700
[SPARK-31860][BUILD] only push release tags on succes #28700
Conversation
cc @dongjoon-hyun here's the master PR |
Thank you, @holdenk . |
cc @dbtsai |
LGTM. |
Test build #123402 has finished for PR 28700 at commit
|
Test FAILed. |
### What changes were proposed in this pull request? Only push the release tag after the build has finished. ### Why are the changes needed? If the build fails we don't need a release tag. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Running locally with a fake user in #28667 Closes #28700 from holdenk/SPARK-31860-build-master-only-push-tags-on-success. Authored-by: Holden Karau <hkarau@apple.com> Signed-off-by: Holden Karau <hkarau@apple.com> (cherry picked from commit 69ba9b6) Signed-off-by: Holden Karau <hkarau@apple.com>
with this patch, does it mean we have to re-do all the release steps if one step failed? |
Yes, although that seems like the right thing to do anyways.
On Fri, Jun 5, 2020 at 7:22 PM Wenchen Fan ***@***.***> wrote:
with this patch, does it mean we have to re-do all the release steps if
one step failed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28700 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOT5ODK5MV4INUP3ARVZLRVGR4RANCNFSM4NQHA4CQ>
.
--
Cell : 425-233-8271
|
We only need to re-do all the release steps if the commit of the RC is problematic (e.g. fails the tests). Otherwise, it's OK to push the RC git tag first. When running the release script, it's possible that one step fails with some transient error like a network issue, and it's really a waste of time to re-run all the steps. The script provides the I had to revert this commit when I was helping @rxin to cut the RC, as I hit transient errors quite a bit. I think it's very uncommon that we cut the RC tag with a wrong commit, but if it happens, I think it's OK to start the next RC immediately. Shall we revert it? |
@cloud-fan . Yes, it does. BTW, this was merged to branch-2.4 first when @holdenk did If this patch doesn't fit |
If this makes it harder for rolling a release yes lets revert. During the 2.4.6 RC process I ran into non-transient issues with the release process locally that hadn't shown up in Jenkins so we had some "junk" tags pushed and I was trying to avoid that case. |
I've reverted it from master/3.0, thanks for the understanding! |
What changes were proposed in this pull request?
Only push the release tag after the build has finished.
Why are the changes needed?
If the build fails we don't need a release tag.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Running locally with a fake user in #28667