Git Product home page Git Product logo

samkenxpython-buildmaster-config's Introduction

buildmaster-config

Buildbot master configuration for buildbot.python.org.

Build Status

Private settings

The production server uses /etc/buildbot/settings.yaml configuration file which contains secrets like the IRC nickname password.

Update requirements

Run locally:

make regen-requirements

Create a PR. Merge the PR. Then recreate the venv on the server:

make stop-master
mv venv old-venv
make venv
make start-master

Upgrading buildbot sometimes requires to run the command:

./venv/bin/buildbot upgrade-master /data/buildbot/master

Make sure that the server is running, and then remove the old virtual environment:

rm -rf old-venv

Hosting

The buildbot master is hosted on the PSF Infrastructure and is managed via salt.

psycopg2 also requires libpq-dev:

sudo apt-get install libpq-dev
  • Backend host address is buildbot.nyc1.psf.io.
  • The host is behind the PSF HaProxy cluster which is CNAMEd by buildbot.python.org.
  • Database is hosted on a managed Postgres cluster, including backups.
  • Remote backups of /etc/buildbot/settings.yaml are taken hourly and retained for 90 days.
  • No other state for the buildbot host is backed up!

Configurations from this repository are applied from the master branch on a */15 cron interval using the update-master target in Makefile.

Python 3.9 is installed manually using pyenv (which was also installed manually). Commands to install Python 3.9:

pyenv update
pyenv install 3.9.1
pyenv global 3.8.1 3.9.1

Add a worker

The list of workers is stored in /etc/buildbot/settings.yaml on the server. A worker password should be made of 14 characters (a-z, A-Z, 0-9 and special characters), for example using KeePassX.

  • Generate a password
  • Add the password in /etc/buildbot/settings.yaml
  • Restart the buildbot server: make restart-master

Documentation: http://docs.buildbot.net/current/manual/configuration/workers.html#defining-workers

samkenxpython-buildmaster-config's People

Contributors

vstinner avatar zware avatar pablogsal avatar stratakis avatar gpshead avatar rodrigc avatar ewdurbin avatar aixtools avatar dependabot[bot] avatar tiran avatar samkenxstream avatar ambv avatar edelsohn avatar isidentical avatar serhiy-storchaka avatar pbo-linaro avatar paulmon avatar niyas-sait avatar mattbillenstein avatar koobs avatar jkloth avatar kulikjak avatar ethanhs avatar benjaminp avatar brettcannon avatar methane avatar ned-deily avatar arhadthedev avatar orsenthil avatar zooba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.