Add Prometheus metrics to Buildbot
Some checks failed
/ checks (pull_request) Failing after 12s

This commit is contained in:
Bart van der Braak 2024-11-26 17:16:21 +01:00
parent 2eb472cc20
commit 043a1b6ffa
5 changed files with 111 additions and 26 deletions

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
# Use the published buildbot/buildbot-master image as the base
FROM buildbot/buildbot-master:master
# Install buildbot-prometheus in the existing virtual environment
RUN /buildbot_venv/bin/pip3 install buildbot-prometheus
# Set the working directory to where the buildbot files are expected
WORKDIR /buildbot
# Keep the existing command to start buildbot
CMD ["dumb-init", "/usr/src/buildbot/start_buildbot.sh"]