MariaDB uses branch protection to ensure that pushes to the MariaDB Server git repository cannot be made without first passing a series of tests. This page aims to describe what a developer should do in order to ensure that their changes get pushed to the main repository.
The current protected branches are the main branches 10.X and release branches bb-10.X-release*
git rebase 10.2 The following are the only required builders at this point:
The protected branches builders run a subset of tests in order to avoid sporadic failures. The list is defined by:
--suite=main --skip-test="^stack_crash$|^float$|^derived_split_innodb$|^mysql_client_test$|^kill$|^processlist_not_embedded$|^sp-big$"
All other checks are not required in order to make the push. However, please take a look at all the builders and look for failures.
The build status can be seen directly from GitHub near the commit message. Below, you can find an example (please note the yellow dot near the commit message):
If you click on the yellow dot, you can find the list of checks performed and their status, as shown below:
By clicking on Details you will be redirected to the buildbot page showing all the build details.
Alternatively, you can look for the builds on the buildbot Grid View. This allows filtering by branch, so to only see changes for one particular branch you can use https://buildbot.mariadb.org/#/grid?branch=10.5.
Note: Only buildbot and not external CI tests (Travis, AppVeyor, etc) are currently in the protected branches criteria. Please take note of other failures, and if they are acceptable and explainable, then merge.
In some cases it might be useful to re-trigger one or more checks. This can easily be done from the https://buildbot.mariadb.org interface. The steps are:
Note: If you want to re-trigger all checks, the easiest approach is to make a new push. Alternatively, you can follow the above steps for all the checks
© 2023 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/branch-protection-using-buildbot/