aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* buildsystem::repoctl: add missing includeNicolas Vigier2013-05-231-0/+1
|
* Remove buildsystem::configNicolas Vigier2013-05-233-21/+20
| | | | | Update repoctl config to use infos from buildsystem::var::distros instead of buildsystem::config.
* buildsystem::repoctl: reindentNicolas Vigier2013-05-231-11/+11
|
* 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-234-0/+55
| | | | | | | | | 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-233-26/+46
| | | | | | | | | | | | | | | | 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: move repository vhost to repository.ppNicolas Vigier2013-05-232-4/+4
|
* buildsystem::repository: reindentNicolas Vigier2013-05-231-3/+3
|
* buildsystem: remove hardcoded repository hostnameNicolas Vigier2013-05-237-4/+7
| | | | | Use $buildsystem::var::repository::hostname to store repository hostname.
* bs/vhost_repository.conf: remove obsolete contentNicolas Vigier2013-05-231-23/+0
|
* buildsystem::iurt: remove hardcoded list of distributionsNicolas Vigier2013-05-231-1/+3
| | | | | Use list of distribution from buildsystem::var::distros to generate list of configs for iurt.
* buildsystem: generate mgarepo.conf using $distrosNicolas Vigier2013-05-233-36/+48
| | | | 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-235-17/+58
| | | | | The mgarepo.conf template is now using settings from buildsystem::var::mgarepo.
* buildsystem: use common media.cfg template for all distrosNicolas Vigier2013-05-236-408/+157
| | | | | | | 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.
* Add buildsystem::distrosNicolas Vigier2013-05-232-0/+41
| | | | Create distributions trees.
* buildsystem::var::distros: change $distros structureNicolas Vigier2013-05-234-14/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-233-1/+8
| | | | Add an option to select supported arch of a distribution.
* buildsystem: use webstatus hostname config in iurt.confNicolas Vigier2013-05-232-1/+2
|
* buildsystem: move sudoers.iurt outside iurt directoryNicolas Vigier2013-05-232-1/+1
| | | | | | 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-238-75/+17
| | | | | | | | | | | 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::var::distros: add parameters descriptionNicolas Vigier2013-05-231-0/+5
|
* buildsystem::iurt: remove mandriva2010.1Nicolas Vigier2013-05-232-24/+1
| | | | | 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-232-1/+2
| | | | | Use the variable from webstatus configuration to set URL in upload.conf instead of hardcoding pkgsubmit.$domain.
* Create buildsystem::var::distrosNicolas Vigier2013-05-234-34/+47
| | | | | | | buildsystem::var::distros will be used to store the list of distributions and their configuration, medias, etc ... The list of distributions and medias has been removed from buildsystem::mgarepo and moved to mga_buildsystem::config.
* Make buildsystem::create_upload_dir a class instead of a defineNicolas Vigier2013-05-232-8/+9
| | | | | buildsystem::create_upload_dir is used only once, so it should be a class and not a define.
* buildsystem::create_upload_dir: remove parametersNicolas Vigier2013-05-232-13/+11
| | | | | Remove parameters for buildsystem::create_upload_dir. Instead access configuration variables directly.
* buildsystem::mgarepo: remove useless importNicolas Vigier2013-05-231-1/+0
|
* buildsystem::create_upload_dir.rb: fix define nameNicolas Vigier2013-05-231-1/+1
|
* mga-common: add hash_merge functionNicolas Vigier2013-05-231-0/+11
| | | | | This function takes two hashes as argument and return a new hash containing the content of the two hashes.
* mga-common: add hash_keys functionNicolas Vigier2013-05-231-0/+10
| | | | | This function takes a hash as argument and return the hash keys as a list.
* buildsystem: add option to change maintdb hostnameNicolas Vigier2013-05-232-1/+2
|
* Add buildsystem::var::maintdbNicolas Vigier2013-05-236-27/+34
| | | | buildsystem::var::maintdb is used to store maintdb configuration.
* buildsystem::maintdb: use webstatus location variableNicolas Vigier2013-05-231-4/+4
|
* buildsystem::webstatus: remove useless variableNicolas Vigier2013-05-231-2/+1
|
* buildsystem: add options to select webstatus locationNicolas Vigier2013-05-232-5/+5
|
* Add buildsystem::var::webstatusNicolas Vigier2013-05-232-2/+8
| | | | Make vhost and svn url configurable by adding buildsystem::var::webstatus.
* buildsystem: rename pkgsubmit to webstatusNicolas Vigier2013-05-233-3/+3
| | | | | | | 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::var::groups: fix syntaxNicolas Vigier2013-05-221-1/+1
|
* buildsystem::binrepo: add option to select binrepo hostnameNicolas Vigier2013-05-224-3/+6
|
* mgarepo.conf: remove obsolete binaries-repository optionsNicolas Vigier2013-05-221-2/+0
|
* buildsystem: move groups definitions to var::groupsNicolas Vigier2013-05-2213-16/+23
| | | | | | 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-227-22/+34
|
* buildsystem::mgarepo: remove repsys.confNicolas Vigier2013-05-221-3/+2
| | | | | repsys.conf was the config file used by repsys and first versions of mgarepo. It is replaced by mgarepo.conf and is not longer used.
* buildsystem::mainnode: remove useless variablesNicolas Vigier2013-05-221-4/+1
|
* buildsystem::scheduler: remove useless includeNicolas Vigier2013-05-221-1/+0
|
* maintdb/sudoers.maintdb: fix schedbot variableNicolas Vigier2013-05-221-1/+1
|
* buildsystem::mainnode: don't install schedbot key on schedbotNicolas Vigier2013-05-221-2/+0
| | | | | | | | | | | Don't install schedbot's ssh key on schedbot's authorized_keys file. Current version of ssh::auth does not allow installing a key to multiple users' authorized_keys on the same node, so we can't install schedbot's key to schedbot and iurt users at the same time. This prevent having a buildsystem scheduler and build bot on the same server. However schedbot does not really need to have its ssh key on its own authorized_keys, so we can remove it.
* buildsystem: remove iurt ssh keyNicolas Vigier2013-05-223-10/+1
| | | | The iurt ssh key does not seem to be used.