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

concourse: re-runs builds each day even when there are no new commits on the git repos. #76

Open
OscarL opened this issue Oct 30, 2022 · 3 comments

Comments

@OscarL
Copy link

OscarL commented Oct 30, 2022

Not sure if this is the correct place to bring this up. I might be reading things the wrong way... and this is not actually an issue. If that's the case, I apologize in advance.

While nosing around https://ci.haiku-os.org/ and https://cgit.haiku-os.org/haiku/log/, I've noticed that... despite the last commit on the beta3 branch being from 2022-07-12, concourse seems to be creating new builds daily for that branch (both for 64 bits and 32 bits).

I admit that I might reading it wrong, but logs like for build 478 and older ones like build 445, to use any two examples... seem to be rebuilding things for the same git commit reference.

As this seems quite wasteful to my untrained eye... I thought it made sense to report it. Again, if this is just "working as expected"... please disregard my intrusion.

@OscarL OscarL changed the title concourse: seems to be running builds for beta3 even when without new changes on the git repo. concourse: seems to be running builds for beta3 even when there are no new commits on the git repo. Oct 30, 2022
@nielx
Copy link
Member

nielx commented Oct 31, 2022

Good spot, we previously reduced it to once a week after a release, I guess we skipped that this time. We are soon going to move to the beta 4 branch, and I suspect we do want daily builds from that, though it would be good if it can be made conditional on new commits in the branch.

@OscarL
Copy link
Author

OscarL commented Oct 10, 2023

For what it is worth... concourse seems to keep building beta4 once each day, even if when there are no new commits. Well... when it works at least, as the 32 bits builds have been failing for quite a few days already.

Maybe something like this can be used to stop the build if the git hash hasn't changed? (I know I'm not the one paying the bill, but just seems like a waste of electricity :-/)

Tagging @kallisti5, just in case.

@leavengood
Copy link

I started also running a builder and I certainly don't want to waste CPU cycles and energy on this so hopefully it can be fixed. Also the 32-bit builds were failing on my builder because of Ubuntu stupidity. Even getting the 64-bit builds working was very painful. I plan to replace Ubuntu with Debian soon, which should work better. I just did not have time to fix it until today. @kallisti5 also got better internet so his builder should also be working somewhat better.

@OscarL OscarL changed the title concourse: seems to be running builds for beta3 even when there are no new commits on the git repo. concourse: re-runs builds each day even when there are no new commits on the git repos. Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants