-
Notifications
You must be signed in to change notification settings - Fork 115
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
Last failed release pipeline on trunk branch(stag/qa whatever) block subsequent PR pipeline on same branch from getting merged #1118
Comments
as I said on the call - you should not configure I really don't understand whats going on - but its worth remembering the branches are patterns; are you creating a PR on a branch called |
No, release pipeline is not called for any PR. Let me explain it in a diff way... When I(admin on repo) directly push a commit on Now, if a next person( Now, when Note -: No new release pipeline is called for PR 124, the release pipeline which you see in screenshot is one that ran for the last release made on In total the main issue is why the last release pipeline is showing on current active PR 124's checks...! |
It might now happen for your repos coz your pr/github process doesn't require to run pr and release pipeline both for same branch... |
Issues go stale after 90d of inactivity. |
Stale issues rot after 30d of inactivity. |
We have a use case where we have a
qa
branch(consider it as a main branch) and run CI steps for every PR made from diff feature branches(cut from qa and introduce additional changes) toqa
and once thosefeature => qa
PR are merged we use to run release pipeline forqa
which does the CD stuff such that code is deployed on qa cluster.Problem arise when a release pipeline got failed(for any reason) and causing lighthouse not to auto merge all subsequent PR's made on qa branch.
The steps that leads to reproducing issue are as follows -:
feature/x
branch from qa.feature/x
branch and raise PR 101 toqa
branch fromfeature/x
(source branch).pr
pullrequest pipeline(i.e a presubmits ) for PR 101, which basically does the CI(lint/test/sq etc) checks and if passes, mergesfeature/x
toqa
branch.qa
branch is having the new changes, so release pipeline runs, which builds the image and deploy it to qa cluster.Now let suppose the release pipeline got failed(step 4) for some reason.
Now if next developer wants to make a PR to
qa
for his own feature branch i.efeature/y
, than this new PR fromfeature/y => qa
will not be automatically merged because of the last release pipeline failed onqa
branch and last release pipeline status getting pulled on the PR checks of this latest PR(can be seen in screenshot).As a result subsequent PR's are not getting auto merged by lighthouse on
qa
branch once a release pipeline is failed onqa
branch..lighthouse/jenkins-x/triggers.yaml
looks like thislighthouse version -:
Using latest jenkins x 3 with tekton catalog.
Please refer screenshot
The text was updated successfully, but these errors were encountered: