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

Build version from default branch with lower priority #21

Open
mmuetzel opened this issue Apr 11, 2023 · 0 comments
Open

Build version from default branch with lower priority #21

mmuetzel opened this issue Apr 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mmuetzel
Copy link
Member

Currently, the version from the default branch is built first. That can lead to the impression that it is the 64-bit version that testers should use (see, e.g., https://savannah.gnu.org/bugs/index.php?64024). But it is "expected" to break more often than the versions from the release branch.

It might be better to build the default-w64 version last. Imho, it would also be the smallest loss if that version wouldn't yet have finished building when the CI here starts.

It looks like the builds are done in alphabetical order of their builder names.

IIUC, it could be possible to add a nextBuild function to do that:
https://docs.buildbot.net/latest/manual/customization.html#build-priority-functions
The first example might actually work for us here (build the rules using the release branch before anything else):

def nextBuild(bldr, requests):
    for r in requests:
        if r.source.branch == 'release':
            return r
    return requests[0]

CC'ing @siko1056 and @jweaton.

@siko1056 siko1056 self-assigned this Apr 16, 2023
@siko1056 siko1056 added the enhancement New feature or request label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants