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

Add a comment trigger for rerunning failed Buildkite jobs #42655

Merged

Conversation

DilumAluthge
Copy link
Member

@DilumAluthge DilumAluthge commented Oct 15, 2021

Summary

This pull request implements two different triggers that users can use for rerunning failed Buildkite jobs:

  1. Reopen trigger: Close and reopen the pull request.
  2. Comment trigger: Post a comment on the pull request that consists only of the following text: /buildkite rerun failed

Both of these triggers have exactly the same effect. When they are triggered, all of the failed Buildkite jobs will be rerun. The Buildkite jobs that passed will not be rerun.

Authorization

In order to use the reopen trigger, the user must be in one of the following three categories:

  • Author of the pull request
  • Commit permissions on the JuliaLang/julia repository
  • Triage permissions on the JuliaLang/julia repository

In order to use the comment trigger, the user must be in the following category:

  • Member of the JuliaLang GitHub organization (the membership must be publicized)

Notes

  • With the comment trigger, the user can delete their comment after they post it.
  • With this new implementation, we will no longer create "Retry" commit statuses every time someone adds or removes a label from a pull request.

@DilumAluthge DilumAluthge added ci Continuous integration backport 1.6 Change should be backported to release-1.6 backport 1.7 labels Oct 15, 2021
@DilumAluthge DilumAluthge requested a review from a team as a code owner October 15, 2021 01:49
@DilumAluthge DilumAluthge removed the request for review from a team October 15, 2021 01:49
@DilumAluthge DilumAluthge merged commit c13d5fe into master Oct 15, 2021
@DilumAluthge DilumAluthge deleted the dpa/comment-trigger-retry-failed-buildkite-jobs branch October 15, 2021 01:57
KristofferC pushed a commit that referenced this pull request Oct 18, 2021
KristofferC pushed a commit that referenced this pull request Oct 19, 2021
KristofferC pushed a commit that referenced this pull request Nov 11, 2021
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Nov 13, 2021
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants