buildbot-docker-example-config | example configuration for running buildbot | Continuous Deployment library
kandi X-RAY | buildbot-docker-example-config Summary
kandi X-RAY | buildbot-docker-example-config Summary
example configuration for running buildbot in docker.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of buildbot-docker-example-config
buildbot-docker-example-config Key Features
buildbot-docker-example-config Examples and Code Snippets
Community Discussions
Trending Discussions on buildbot-docker-example-config
QUESTION
The documentation of the official docker container for buildbot expects the BUILDBOT_CONFIG_URL
environment variable to point to a .tar.gz
file accessible via HTTP containing the master.cfg
file.
- How is this supposed to work if the
master.cfg
file is not a single file but rather imports other files like theprivate.py
file? - Is it also possible configure the docker container with physical configuration files?
ANSWER
Answered 2019-Sep-18 at 06:11The docker example uses this file as the basis of the docker image: https://github.com/buildbot/buildbot/blob/master/master/Dockerfile
Which defines as its entrypoint this script: https://github.com/buildbot/buildbot/blob/master/master/docker/start_buildbot.sh
In that script the configuration is explicitly handled by downloading and extracting:
until curl -sL $BUILDBOT_CONFIG_URL | tar -xz --strip-components=1 --directory=$B/$BUILDBOT_CONFIG_DIR
and further linked as the master.cfg file. So all in all the magic depends on the additional script setting up the configuration file so it matches the typical setting.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install buildbot-docker-example-config
You can use buildbot-docker-example-config like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page