Difference between revisions of "Buildroot:IT Infrastructure"

From eLinux.org
Jump to: navigation, search
(Patchwork)
(extend with various services I have set up / maintain)
Line 2: Line 2:
  
 
* buildroot.org
 
* buildroot.org
** Owner??
+
** Owner: Earl Levine
 
* buildroot.net
 
* buildroot.net
** Owner??
+
** Owner: Peter Korsgaard
 +
 
 +
* DNS for both handled through http://gratisdns.dk
  
 
= Web site =
 
= Web site =
Line 10: Line 12:
 
* Source in the main Buildroot Git repository, in docs/website/
 
* Source in the main Buildroot Git repository, in docs/website/
 
* Automatically pulled on the server by ???
 
* Automatically pulled on the server by ???
* Hosted by ???
+
* Hosted by osuosl.org, VM shared with busybox/uclibc
  
 
= Autobuilder =
 
= Autobuilder =
Line 16: Line 18:
 
* http://autobuild.buildroot.org points to a machine hosted by [[User:ThomasPetazzoni]], a dedicated server he is renting
 
* http://autobuild.buildroot.org points to a machine hosted by [[User:ThomasPetazzoni]], a dedicated server he is renting
 
* This infrastructure tests random configurations
 
* This infrastructure tests random configurations
* The site runs the code at https://git.busybox.net/buildroot-test, in the <code>web/</code> subdirectory. It is made of very ugly PHP code, backed by a MySQL database.
+
* The site runs the code at https://git.buildroot.net/buildroot-test, in the <code>web/</code> subdirectory. It is made of very ugly PHP code, backed by a MySQL database.
 
* The autobuild.buildroot.org machine doesn't do any builds itself, it only collects build results that are HTTP POSTed by other machines, called build slaves
 
* The autobuild.buildroot.org machine doesn't do any builds itself, it only collects build results that are HTTP POSTed by other machines, called build slaves
* The build slaves run the Python script at https://git.busybox.net/buildroot-test/tree/scripts/autobuild-run
+
* The build slaves run the Python script at https://git.buildroot.net/buildroot-test/tree/scripts/autobuild-run
 
* Currently used build slaves:
 
* Currently used build slaves:
 
** Free Electrons build server, managed by ThomasPetazzoni
 
** Free Electrons build server, managed by ThomasPetazzoni
 +
** gcc10, gcc20 from the GCC compile farm, managed by Peter Korsgaard
 
** ...
 
** ...
 
* People having account to HTTP POST build results:
 
* People having account to HTTP POST build results:
Line 51: Line 54:
 
= Git repository =
 
= Git repository =
  
* The main Git repository is at https://git.busybox.net/buildroot, hosted by ???
+
* The main Git repository is at https://git.buildroot.net/buildroot, hosted by osuosl.org
** E-mail notification messages are sent to the mailing list using ??? hosted by ???
+
** E-mail notification messages are sent to the mailing list using /git/hooks/send-email hosted by osuosl.org
** IRC notification messages are posted using ??? hosted by ???
+
** IRC notification messages are posted using irkerbot (/git/hooks/post-receive) hosted by osuosl.org
 
* A secondary Git repository is on Github at https://github.com/buildroot/buildroot
 
* A secondary Git repository is on Github at https://github.com/buildroot/buildroot
 
** Mainly to have an official Github mirror, rather than only unofficial forks of Buildroot
 
** Mainly to have an official Github mirror, rather than only unofficial forks of Buildroot
Line 61: Line 64:
  
 
* Mirror of (nearly?) all Buildroot tarballs/patches.
 
* Mirror of (nearly?) all Buildroot tarballs/patches.
* To be completed by Peter.
+
* Runs on a dedicated server owned by Peter
 +
* Cronjob updating mirror every 2 hours doing make randconfig +
 +
  make -k BR2_BACKUP_SITE='' $(find -name \*.mk|sed 's|.*/\([^/]*\)\.mk|\1-source host-\1-source|')
 +
* Also generates nightly documentation for nightly.buildroot.net every 6 hours:
 +
  make manual-html manual-pdf manual-text
  
 
= Patchwork =
 
= Patchwork =
* Available at http://patchwork.ozlabs.org/project/buildroot/
+
* Available at http://patchwork.ozlabs.org/project/buildroot/ or the alias http://patchwork.buildroot.net (HTTP redirect running on sources.buildroot.net)
 
* Hosted by Jeremy Kerr, from Ozlabs. He is the point of contact in case of patchwork issues.
 
* Hosted by Jeremy Kerr, from Ozlabs. He is the point of contact in case of patchwork issues.

Revision as of 13:24, 8 February 2016

Domain names

  • buildroot.org
    • Owner: Earl Levine
  • buildroot.net
    • Owner: Peter Korsgaard

Web site

  • Source in the main Buildroot Git repository, in docs/website/
  • Automatically pulled on the server by ???
  • Hosted by osuosl.org, VM shared with busybox/uclibc

Autobuilder

  • http://autobuild.buildroot.org points to a machine hosted by User:ThomasPetazzoni, a dedicated server he is renting
  • This infrastructure tests random configurations
  • The site runs the code at https://git.buildroot.net/buildroot-test, in the web/ subdirectory. It is made of very ugly PHP code, backed by a MySQL database.
  • The autobuild.buildroot.org machine doesn't do any builds itself, it only collects build results that are HTTP POSTed by other machines, called build slaves
  • The build slaves run the Python script at https://git.buildroot.net/buildroot-test/tree/scripts/autobuild-run
  • Currently used build slaves:
    • Free Electrons build server, managed by ThomasPetazzoni
    • gcc10, gcc20 from the GCC compile farm, managed by Peter Korsgaard
    • ...
  • People having account to HTTP POST build results:
    • tpetazzoni
    • pkorsgaard
    • rbraun
    • nroach
    • mweber
    • mhadjinlian
    • jboibessot
    • vriera
    • gustavo
    • ymorin
    • ahentschel

Defconfig testing

  • A Github project at https://github.com/buildroot/buildroot-defconfig-testing has a .travis.yml file which describes how to build all the defconfigs.
  • This Github project is registered on Travis-CI.org at https://travis-ci.org/buildroot/buildroot-defconfig-testing.
  • Every two days, a cronjob that runs on User:ThomasPetazzoni dedicated server runs the update.sh shell script from the buildroot-defconfig-testing project, which:
    • Updates .travis.yml to use the latest commit of the Buildroot Git repository
    • Updates .travis.yml with the latest list of defconfigs
    • Push the result, which has the effect of triggering the build on Travis-CI.org
  • Notification of the build results is made on IRC, both on failure and success

Mailing list

Bug tracker

Git repository

  • The main Git repository is at https://git.buildroot.net/buildroot, hosted by osuosl.org
    • E-mail notification messages are sent to the mailing list using /git/hooks/send-email hosted by osuosl.org
    • IRC notification messages are posted using irkerbot (/git/hooks/post-receive) hosted by osuosl.org
  • A secondary Git repository is on Github at https://github.com/buildroot/buildroot
    • Mainly to have an official Github mirror, rather than only unofficial forks of Buildroot
    • Kept in sync with the main Git repository by a cronjob run every 10 minutes on ThomasPetazzoni dedicated server.

Sources.buildroot.net

  • Mirror of (nearly?) all Buildroot tarballs/patches.
  • Runs on a dedicated server owned by Peter
  • Cronjob updating mirror every 2 hours doing make randconfig +
 make -k BR2_BACKUP_SITE= $(find -name \*.mk|sed 's|.*/\([^/]*\)\.mk|\1-source host-\1-source|')
  • Also generates nightly documentation for nightly.buildroot.net every 6 hours:
 make manual-html manual-pdf manual-text

Patchwork