-
Notifications
You must be signed in to change notification settings - Fork 237
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
Conditional build: do we need to rebuild the full ATH for all Renovabot / Dependabot PRs? #1167
Comments
GitHub merge queue? |
I’m not sure it would solve the problem : « do we need to build all the time ? ». IIUC merge queues are only optimizing the merge orders but still builds pr one time at least (but avoid building multiple times) |
I don't think that this libraries needs so many automatic builds. There are several possibilities:
|
I like your 2nd point @uhafner : running only a minimal set of test (not heavy, quick) could be a great intermediate. Also, the ATH image is prebuilt and pushed in the DockerHub since #905 and is "really" used since yesterday with #1168. I believe that justifies NOT building ATH when the image is changed, and have a renovabot/dependanbot PR for updating the image tag in the
|
Some smart test selection based on paths changed would be good. ideally if ath-container is changed it should use that and run tests. If artifactory docker image is changed we only need to run artifactory tests etc |
As per jenkins-infra/helpdesk#3551 (comment), the Infra team would like to control the costs on ci.jenkins.io.
We saw a lot of builds (using a LOT of highmem VM agents) for PR changing Dockerfile dependencies such as #1164 or #1149.
At first sight, it seems a waste to execute the whole ATH for such small changes. Is there any means today to conditionnaly build?
Also, it does not look a good idea to run the ATH on ci.jenkins.io if a PR changes the file
src/main/resources/ath-container/Dockerfile
: it's built by infra.ci and pushed to the DockerHub.The text was updated successfully, but these errors were encountered: