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

Refactor master cfg #686

Draft
wants to merge 16 commits into
base: dev
Choose a base branch
from
Draft

Conversation

cvicentiu
Copy link
Member

@cvicentiu cvicentiu commented Jan 19, 2025

This is a cleanup PR that should not impact the builders / workers actually running tests.

cvicentiu and others added 16 commits January 12, 2025 08:35
* Remove star imports
* master-private.cfg always loaded from base directory for all masters.
buildbot.tac as the entrypoint for a buildbot master should use relative
paths based on the deployment directory structure. Furthermore, the
basedir should be set to <srcdir> so that all imports will work relative
to <srcdir>, not the location of buildbot.tac or master.cfg.
Simplify and ensure it returns a 3-value tuple.
This will remove code duplication across master.cfg files.
* Also fixup unescaped backslashes in strings
* Also simplify branch matching functions
* os_info.yaml now provides tags / os
* os_info.yaml specifies directly the image tag. This removes the need
  to do transformations within buildbot configuration code.
* define_masters no longer generates a custom buildbot.tac by replacing
  the log file for the master with a custom name. buildbot.tac now
  uses a log file based on the master directory.
* master-config.yaml now groups builders by architecture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant