Skip to content
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-48193][INFRA] Make maven-deploy-plugin retry 3 times #46471

Closed
wants to merge 1 commit into from

Conversation

panbingkun
Copy link
Contributor

What changes were proposed in this pull request?

The pr aims to make maven plugin maven-deploy-plugin retry 3 times.

Why are the changes needed?

I found that our the daily scheduled publish snapshot workflow of GA often failed.
https://github.com/apache/spark/actions/workflows/publish_snapshot.yml
image
I tried to make it as successful as possible by changing the time of retries from 1(default) to 3.
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#retryFailedDeploymentCount
https://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-network-issues.html#configuring-multiple-tries

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Keep observing the daily scheduled publish snapshot workflow of GA.
https://github.com/apache/spark/actions/workflows/publish_snapshot.yml

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label May 8, 2024
@panbingkun
Copy link
Contributor Author

cc @HyukjinKwon @dongjoon-hyun

@HyukjinKwon
Copy link
Member

Merged to master.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @panbingkun and @HyukjinKwon !

JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?
The pr aims to make maven plugin `maven-deploy-plugin` retry `3` times.

### Why are the changes needed?
I found that our `the daily scheduled publish snapshot` workflow of GA often failed.
https://github.com/apache/spark/actions/workflows/publish_snapshot.yml
<img width="1031" alt="image" src="https://github.com/apache/spark/assets/15246973/2a759bf4-85de-4bc2-aff7-a226bd475321">
I tried to make it as successful as possible by changing the time of retries from `1`(default) to `3`.
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#retryFailedDeploymentCount
https://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-network-issues.html#configuring-multiple-tries

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Keep observing `the daily scheduled publish snapshot` workflow of GA.
https://github.com/apache/spark/actions/workflows/publish_snapshot.yml

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#46471 from panbingkun/SPARK-48193.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants