317 questions
Best practices
0
votes
0
replies
16
views
How to configure buildbot master to keep no more than a certain number of builds?
Is there a way to configure buildbot version 3.X to keep only a certain number of builds for a builder config? For example, we build every pull request but there is no point in keeping builds of pull ...
Best practices
0
votes
0
replies
31
views
How to configure buildbot master to provide web access to files and directories on the server where master is running?
I have buildbot version 3.X configured the standard way: a master and multiple workers. A worker can build artifacts and then copy them to a directory on the server where the master is running using ...
1
vote
1
answer
80
views
How to retrieve a single property from a NestedParameter?
In my buildbot config, I am setting up some util.NestedParameter to improve the UI. The problem is to access the properties. With the config
from buildbot.plugins import util
util.NestedParameter(
...
0
votes
1
answer
99
views
How to run steps in parallel in Buildbot
In Buildbot, is there a way run steps within a builder in parallel? I couldn't find any documentation on that.
For example, I want these 2 steps to be executed in parallel.
factory.addStep(Parallel(
...
0
votes
1
answer
93
views
How to use a default value when using util.Interpolate
I'm using something like util.Interpolate('%(src::branch)s') to get the name of the branch from my Subversion repository. This works as expected when polling the repository but not when forcing a ...
1
vote
1
answer
740
views
Using github merge queues with self-hosted buildbot CI
We've been using bors-ng for our merge queues for some years and now we'd like to migrate to Github Merge Queues.
I find GitHub's documentation difficult to follow, but as far as I can see, I need to ...
0
votes
0
answers
159
views
Unable to run buildbot on python 2.7
buildbot upgrade-master master is throwing below error
Traceback (most recent call last):
File "/usr/local/bin/buildbot", line 4, in <module>
runner.run()
File "/usr/local/...
1
vote
0
answers
111
views
[Buildbot]:Filter builders at schedulers level
I am new to buildbot. We know that Schedulers would trigger all associated builds by default. I want to filter the builders at schedulers level.
What i am doing is, I am trying to override build() ...
1
vote
1
answer
355
views
How do you reset the Buildbot build number
I'm setting up a new automated build. Of course, I'm not getting it right on the first try. I'm already at my 9th attempt and so the build number is already up to 9 build using "%(prop:...
1
vote
1
answer
247
views
Buildbot: trigger virtual builders problem
I wish to trigger builders dynamically (depending of list of supported platforms of incoming project).
There are virtual builders for this purposes.
It's really works but there is a critical problem:
...
3
votes
0
answers
135
views
Can a buildbot-step run python code on the worker?
I am using buildbot. Is it possible to write my own build-step class that executes Python code on the worker?
The build-step will consist of
find all files of a certain type in the source
start a 3rd-...
2
votes
1
answer
88
views
Detect whether script is running in the context of Buildbot
Can a script that may be run by Buildbot's ShellCommand detect whether it is indeed running inside the context of Buildbot (e.g. as opposed to having been started manually in a shell)?
For instance, ...
2
votes
1
answer
148
views
Buildbot Docker BUILDBOT_CONFIG_URL how to setup with SSH keys?
In the Buildbot Docker tutorial documentation it says:
"You will need to change docker-compose.yml the variable BUILDBOT_CONFIG_URL in order to point to your github fork"
But how would I do ...
2
votes
1
answer
123
views
Can buildbot be forced to run a build on multiple nodes?
I have a project that I want to build on multiple nodes (several different architectures and operating systems). I then want to create packages on each node (debs and RPMs). Because of the different ...
2
votes
1
answer
133
views
Is it possible to let a triggered builder return a value to the parent builder in Buildbot?
I have a setup where a top-level builder triggers one Mac builder and one Windows builder to do the actual building. However, if both succeed I want to aggregate and promote the binaries they produced ...