I have a bamboo client, installed on linux, running some OpenGL test:
compilation is OK.
But when execution starts, everything crash. When trying to start the GUI, it requires access to the X11 display. Which is locked because the bamboo user does not own the display ...
So anyone have an idea how to allow display access from an application started by bamboo ?
Thanks
You need to run the X11 display server in a headless fashion, which is commonly achieved via the X virtual framebuffer (Xvfb).
Not 100% positive on this, but I think Xvfb is included on the stock Bamboo Elastic images (despite the lack of a preconfigured capability), either way none of this is properly documented. You can find resp. hints via Populating your EBS volume and BAM-16951, which should translate to custom Bamboo Elastic images and regular remote agent scenario conceptually.
Similarly, you should also be able to apply these Xvfb patterns to a custom Docker image for use with the Bamboo Docker runner or Bamboo Docker task, in case it isn't included in the default Bamboo Docker images already. You can find resp. hints via Gui tests on xvfb, initialisation and cleanup.
Sorry for not being more specific, hope it helps to get you on the way.
Does this work on local agents as well? Or does it need to be remote?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.