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
Reverting #2261 #2265
Reverting #2261 #2265
Conversation
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
/run-e2e |
until we merge this PR, the workload it's blocking to itself 😆 . |
Yeah let's merge it |
I think it cancels all the pending requests running the latest one that matches the concurrency tag. I think it's still better than clobbering 2 runs, but the downside is that an e2e run might get skipped and needs to be rescheduled vs having the person requesting a run know whether another workflow is in progress. |
Actually now that I think more about it, we can just have a different cluster for main vs PRs, then maintain the concurrency for each separately. How does that sound? we'll still have to be careful not to queue 2 PR E2Es at the same time as one will get cancelled. |
are you sure about it? During the development, I saw that if you trigger another, the second will wait till the first one ending. |
/run-e2e cron* |
2 similar comments
/run-e2e cron* |
/run-e2e cron* |
You are right @ahmelsayed , GitHub only keep 1 pending job and cancel the others Basically they keep the current executing job and another waiting |
The behavior I believe I see is:
then github will wait for
then it'll evaluate to
|
The only other knob is |
I'll setup another cluster for PR e2e vs main e2e |
Interesting, I didn't know about the limitation on number of pending jobs. Good catch @ahmelsayed ! |
Having another cluster for pr e2e tests would be great 👍 |
Signed-off-by: Zbynek Roubalik zroubali@redhat.com
Reverting #2261 because
concurrency
has been already set on the second job in the worklflow:keda/.github/workflows/pr-e2e.yml
Line 43 in 5d03540
Setting it once again on the workflow level causes problems like: https://github.com/kedacore/keda/actions/runs/1439326562
Checklist