Closed JordanGoasdoue closed 9 months ago
Hi @JordanGoasdoue. Thanks for your PR.
I'm waiting for a jenkins-x member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
/ok-to-test /lgtm
Thanks for the PR!
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
Failed to merge this PR due to:
failed merging [1593]: [Method Not Allowed]
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: tomhobson
The full list of commands accepted by this bot can be found here.
The pull request process is described here
related to https://github.com/jenkins-x/lighthouse/pull/1476 && https://github.com/jenkins-x/lighthouse/issues/886
:warning: Once this PR merged we will need to
Context:
/ok-to-test
from a trusted memberHow to enable this feature ? Add
skip_draft_pr
feature on the Trigger Plug-in from you scheduler:skip_draft_pr
in scheduler trigger likeonly_org_members
to allow easy migration of multiple team-app repositories in one time (Would be automatically applied to all repositories using the scheduler with this trigger.skip_draft_pr set to true)How it works ?
trigger pipelines in a Draft PR if
skip_draft_pr
isfalse
depending if trusted or not (by default)trigger pipelines in a Draft PR if
skip_draft_pr
istrue
withok-to-test
labeldoesn't trigger pipelines in a Draft PR if
skip_draft_pr
istrue
but withoutok-to-test
labeltrigger pipelines when you click on
ready for review
if trusted and you don't have the ok-to-test label to avoid triggering the same pipelines than in previous draft mode before clicking the ready for review buttondoesn't trigger pipelines when you click on
convert to draft
even if you have the ok-to-test label to avoid triggering the same pipelines than in previous non draft mode before clicking the convert to draft buttonWhy this feature ?
:point_down: :point_down: :point_down: :point_down: I have commented each testing scenarios in
pkg/plugins/trigger/pull-request_test.go
with the following PR Actions:prAction: scm.ActionReadyForReview
prAction: scm.ActionConvertedToDraft
to explain the logic behind when we click the "Ready for Review" or "Convert to Draft" button. I wanted here to avoid useless rerun of pipelines between both these modes.
:point_up: :point_up: :point_up: :point_up: