Giter Site home page Giter Site logo

armenzg / releng_buildbot_docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11 KB

This repository helps me have the files to generate a docker image that allows you to generate allthethings.json which requires setting up Releng's specific Buildbot set up.

License: Mozilla Public License 2.0

releng_buildbot_docker's Introduction

This docker image is meant to be used to generate an allthethings.json file from Mozilla's Release Engineering Buildbot set up. Visit https://wiki.mozilla.org/ReleaseEngineering/How_To/allthethings.json to know more about the file.

Generate allthethings.json

If you just want to generate allthethings.json locally run the following:

docker pull armenzg/releng_buildbot_docker
docker run --name allthethings --rm -i -t releng_buildbot_docker bash
# This will generate an allthethings.json file; it will take few minutes
/braindump/community/generate_allthethings_json.sh
# On another tab (once the script is done)
docker cp allthethings:/root/.mozilla/releng/repos/buildbot-configs/allthethings.json .

Hack allthethings.json

If you want to modify how allthethings.json is generated you can do so like this:

# Generate the image like this
cd image
docker build -t releng_buildbot_docker .
# Start a container and connect to it
docker run --name allthethings --rm -i -t releng_buildbot_docker bash
# Running this will check out all related repositories and set up the virtualenv
/braindump/community/generate_allthethings_json.sh
#
# WARNING: There's a known bug where generate_allthethings_json.sh can only work when
#          there's no virtualenv already set up. The script will fail and move the venv
#          out of the way, thus, working on a following run. Below you will read that you
#          can call the internal script (dump_allthethings.sh) we call and that one
#          does not hit the issue.
#
# All the repositories involved are checked out under ~/.mozilla/releng/repos
# Get to the configs repository
cd ~/.mozilla/releng/repos/buildbot-configs
# Activate the virtualenv
source ../../venv/bin/activate
# Install your favourite editor. I recommend vim
apt-get install -y vim
# Make changes to the repositories you want and run the script
~/.mozilla/releng/repos/braindump/buildbot-related/dump_allthethings.sh
# You will find the newly generated file under /root/.mozilla/releng/repos/buildbot-configs/allthethings.json

releng_buildbot_docker's People

Contributors

armenzg avatar

Watchers

James Cloos avatar  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.