aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
Commit message (Collapse)AuthorAgeFilesLines
* buildsystem: add /etc/youri/host.confNicolas Vigier2013-05-231-0/+23
| | | | | | | | | | The host.conf config file for youri contains the hostnames of the nodes that are building packages for each architecture. The variable $build_src_node has been added to buildsystem::var::scheduler to contain the hostname of the server building the initial src.rpm. The variable $build_nodes_aliases has been added to buildsystem::var::scheduler to be used to find the real hostnames of the nodes building the packages for each architecture.
* buildsystem: Change youri submit configurationNicolas Vigier2013-05-233-697/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The youri submit configuration has been changed. The following two template files : - youri/submit-todo.conf - youri/submit-upload.conf have been replaced by a common template file for youri submit-todo and youri submit-upload : - youri/submit.conf This new template file does not contain any specific configuration. Instead the youri configuration is now created using informations from the following hash variables : - the $youri_conf_default hash from buildsystem::var::youri, containing default configuration for the repository, the checks, actions and posts. - the $youri_conf parameter from buildsystem::var::youri, overriding infos from the default configuration defined in $youri_conf_default. - the distros specific configuration is defined in the $distros parameter from buildsystem::var::distros. All those variables contain configuration for both youri submit-todo and youri submit-upload. This change allows moving all Mageia specific configuration outside the buildsystem module to the class mga_buildsystem::config, while still keeping common configuration in the buildsystem module. The following checks definitions have also been removed from youri submit-todo configuration, because they are not used in the current configuration : - history - precedence - section - svn The 'version' check options for infra_1 and infra_2 have been moved from youri submit-upload to submit-todo configuration.
* buildsystem: add $svn_root_packages_ssh parameterNicolas Vigier2013-05-232-2/+2
|
* buildsystem: add build_nodes parameterNicolas Vigier2013-05-231-2/+10
| | | | | Add build_nodes parameter in buildsystem::var::scheduler. This parameter is a hash containing the build nodes available indexed by architecture.
* buildsystem::var::scheduler: add admin_mail parameterNicolas Vigier2013-05-231-1/+1
| | | | | The admin_mail parameter is used to select the email address sending the build failure notifications.
* buildsystem: add support for medias dependenciesNicolas Vigier2013-05-231-30/+53
| | | | | In upload.conf template for ulri config use the dependencies between medias defined in buildsystem::var::distros.
* buildsystem/repoctl.conf: remove useless variablesNicolas Vigier2013-05-231-4/+2
|
* Remove buildsystem::configNicolas Vigier2013-05-231-4/+19
| | | | | Update repoctl config to use infos from buildsystem::var::distros instead of buildsystem::config.
* buildsystem: remove use of .each on hashesNicolas Vigier2013-05-234-12/+23
| | | | | | | | | | | | | | Remove use of "each" methods on hashes in template files. With ruby 1.8, the order in which the hash is enumerated is random. When using the each method to scan all hash keys and elements in template files, puppet will do unnecessary changes in files installed on the server, making it more difficult to see the real changes. In order to avoid this, we stop using the "each" method on hashes and instead use the "keys" method to get an array of all keys and sort it alphabetically. With ruby 1.9 the hashes enumerate their values in the order that the corresponding keys were inserted, but we are still using ruby 1.8 with Mageia 2.
* buildsystem: add option to base a distribution on an otherNicolas Vigier2013-05-231-0/+17
| | | | | | | | | It is now possible to add the option 'based_on' to a distribution defined in buildystem::var::distros. This is useful for distributions like infra_1 or infra_2 which provide a new repository for an existing distribution. When repositories from an other distribution are defined in 'based_on', the repositories are linked with a symbolic link, and defined in media.cfg.
* buildsystem: don't hardcode distros in vhost_repository.confNicolas Vigier2013-05-231-25/+30
| | | | | | | | | | | | | | | | Use buildsystem::var::distros settings in vhost_repository.conf template. The URLs for the infra_1 and infra_2 repositories have been changed, and will need to be updated in urpmi configuration on servers using those repositories. The old URLs were : - http://repository.mageia.org/distrib/infra_1/ - http://repository.mageia.org/distrib/infra_2/ The new URLs are now : - http://repository.mageia.org/bootstrap/infra_1/ - http://repository.mageia.org/bootstrap/infra_2/
* buildsystem: remove hardcoded repository hostnameNicolas Vigier2013-05-233-3/+3
| | | | | Use $buildsystem::var::repository::hostname to store repository hostname.
* bs/vhost_repository.conf: remove obsolete contentNicolas Vigier2013-05-231-23/+0
|
* buildsystem: generate mgarepo.conf using $distrosNicolas Vigier2013-05-231-34/+20
| | | | Use settings from buildsystem::var::distros to create mgarep.conf.
* buildsystem/mgarepo.conf: remove %mgaversion macroNicolas Vigier2013-05-231-6/+0
| | | | | | | Remove %mgaversion macro definition, as it doesn't seem to be used by packages during srpm generation. Also the value defined by mgarepo.conf is incorrect as it doesn't correspond to the value defined by rpm-mageia-setup-build package.
* buildsystem/mgarepo.conf: remove %mageia_branch macroNicolas Vigier2013-05-231-1/+0
| | | | | | The %mageia_branch macro does not seem to be used, according to a search on "site:mageia.org %mageia_branch" on google. So remove it from mgarepo.conf to simplify the configuration.
* Add buildsystem::var::mgarepo.Nicolas Vigier2013-05-232-17/+20
| | | | | The mgarepo.conf template is now using settings from buildsystem::var::mgarepo.
* buildsystem: use common media.cfg template for all distrosNicolas Vigier2013-05-231-390/+97
| | | | | | | The media.cfg file is now generated for all distributions now (it was only done for cauldron before). The media.cfg file is generated using the infos about the distributions and medias from the $distro parameter in buildsystem::var::distros.
* buildsystem::var::distros: change $distros structureNicolas Vigier2013-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $distros variable is hash containing settings about the distributions. It was something like this : $distro = { 'cauldron' => { 'arch' => [ 'i586', 'x86_64' ], 'medias' => { 'core' => [ 'release' ], }, 'base_medias' => [ 'core/release' ], }, } It is now something like this : $distro = { 'cauldron' => { 'arch' => [ 'i586', 'x86_64' ], 'medias' => { 'core' => { 'repos' => { 'release' => {}, }, }, }, 'base_medias' => [ 'core/release' ], }, } This should allow setting more infos about each medias / repos, that can be used in order to generate media.cfg config files.
* buildsystem::var::distros: Add option to select archNicolas Vigier2013-05-231-1/+1
| | | | Add an option to select supported arch of a distribution.
* buildsystem: use webstatus hostname config in iurt.confNicolas Vigier2013-05-231-1/+1
|
* buildsystem: move sudoers.iurt outside iurt directoryNicolas Vigier2013-05-231-0/+0
| | | | | | Move templates/iurt/sudoers.iurt to templates/sudoers.iurt. This file was the only file in the iurt directory, so it is not needed to keep a iurt directory.
* buildsystem: use common iurt config file for all distrosNicolas Vigier2013-05-235-74/+8
| | | | | | | | | | | All distributions now use the same template file for their iurt configuration file. The 'base_media' value has been added in the distributions configuration in buildsystem::var::distros to allow setting in iurt configuration the base_media that will be used to generate chroots. The iurt configuration now also contains all the medias in 'all_media', instead of only the 'release' medias previously.
* buildsystem::iurt: remove mandriva2010.1Nicolas Vigier2013-05-231-23/+0
| | | | | Iurt config for Mandriva 2010.1 was used when the servers were running Mandriva 2010.1, but it is no longer used.
* buildsystem/upload.conf: use webstatus configNicolas Vigier2013-05-231-1/+1
| | | | | Use the variable from webstatus configuration to set URL in upload.conf instead of hardcoding pkgsubmit.$domain.
* Add buildsystem::var::maintdbNicolas Vigier2013-05-234-6/+6
| | | | buildsystem::var::maintdb is used to store maintdb configuration.
* buildsystem: rename pkgsubmit to webstatusNicolas Vigier2013-05-231-0/+0
| | | | | | | Rename buildsystem::pkgsubmit to buildsystem::webstatus. pkgsubmit name has been used as the name of the host to submit packages, and the hostname of the web page to view the buildsystem status, but the two are different things, so they should be separated.
* buildsystem::binrepo: add option to select binrepo hostnameNicolas Vigier2013-05-221-2/+3
|
* mgarepo.conf: remove obsolete binaries-repository optionsNicolas Vigier2013-05-221-2/+0
|
* buildsystem: move groups definitions to var::groupsNicolas Vigier2013-05-225-5/+5
| | | | | | Create buildsystem::var::groups to configure packagers and packagers_committers groups, and remove buildsystem::base which is now empty.
* buildsystem: move binrepo config to buildsystem::var::binrepoNicolas Vigier2013-05-224-8/+8
|
* maintdb/sudoers.maintdb: fix schedbot variableNicolas Vigier2013-05-221-1/+1
|
* Add buildsystem::var::iurtNicolas Vigier2013-05-222-4/+4
| | | | This class is used for iurt settings.
* buildsystem: really freeze mageia 1Nicolas Vigier2013-05-211-1/+1
|
* buildsystem: set authorized_packages:Nicolas Vigier2013-05-211-0/+1
|
* lock updates_testingThomas Backlund2013-05-181-1/+1
|
* Correctly generate product_id on mirrorsNicolas Lécureuil2013-04-241-0/+10
|
* buildsystem: freeze cauldron submitsNicolas Vigier2013-04-081-2/+2
|
* free up rabbit for iso-buildersThomas Backlund2013-02-221-2/+2
|
* enable rabbit as buildnode for nowThomas Backlund2013-02-081-2/+2
|
* Add comment about an unknow ip adressDexter Morgan2013-01-201-0/+1
|
* Give acces to jonund to valstar ( buildnode is currently broken w/o as it ↵Dexter Morgan2013-01-201-2/+2
| | | | obtains a 403 error when trying to access to repository
* buildsystem: Add rpmlint config for cauldronNicolas Vigier2013-01-151-6/+32
| | | | Use different list of rpmlint errors for cauldron and Mageia 2.
* drop sucuk node too, needs cleaningThomas Backlund2013-01-141-2/+2
|
* free up rabbit for iso-buildersThomas Backlund2013-01-141-2/+2
|
* check mateThomas Backlund2013-01-131-0/+5
|
* buildsystem: add rpmlint errorsNicolas Vigier2013-01-121-0/+6
|
* buildsystem: add rabbit2 and sucuk2Nicolas Vigier2013-01-111-2/+2
|
* buildsystem: Set version freeze on cauldronNicolas Vigier2013-01-101-2/+2
|
* sort builders for better distributed workloadThomas Backlund2013-01-091-1/+1
|