aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
Commit message (Collapse)AuthorAgeFilesLines
* Fix autobuild alias (used by youri-check Build test)Pascal Terjan2013-08-081-2/+2
|
* add ssl vhost for pkgsubmit.mageia.orgNicolas Vigier2013-07-251-1/+14
|
* cinnamon and mate are mga4 accepted featuresThomas Backlund2013-07-211-9/+0
|
* Rename mga-common module to mga_common.Nicolas Vigier2013-06-194-8/+8
| | | | New puppet version doesn't like modules with a - in their name.
* buildsystem::distros: remove iurt_use_bootstrap optionNicolas Vigier2013-05-312-6/+0
| | | | This option is no longer needed with the no_mirror option.
* buildsystem::distros: add 'no_mirror' optionNicolas Vigier2013-05-312-0/+8
| | | | For distributions that are not mirrored (like infra_*).
* buildsystem: Add iurt_use_bootstrap option for distrosNicolas Vigier2013-05-302-0/+6
| | | | Option to select wether iurt should use bootstrap URL for medias.
* buildsystem/templates/media.cfg: hdlists -> hdlistNicolas Vigier2013-05-301-5/+5
|
* buildsystem: Add option 'no_media_cfg_update'Nicolas Vigier2013-05-292-2/+6
| | | | Option to disable generation of media.cfg for a distro.
* Fix medias order in media.cfgNicolas Vigier2013-05-292-3/+11
|
* media.cfg: add both media_type and media_typesNicolas Vigier2013-05-291-0/+5
| | | | | | Temporary fix, while we have two versions of urpmi using different values : https://bugs.mageia.org/show_bug.cgi?id=10335#c8
* buildsystem: media_types -> media_type (bug #10335)Nicolas Vigier2013-05-292-17/+17
|
* buildsystem/media.cfg: enable i586 mediasNicolas Vigier2013-05-251-1/+1
|
* buildsystem/media.cfg: don't add non-existend mediasNicolas Vigier2013-05-231-1/+1
| | | | | Don't add i586 medias on x86_64 in media.cfg, if the distro does not have i586 medias.
* buildsystem::var::webstatus: add max_modified optionNicolas Vigier2013-05-232-1/+4
| | | | Add an option to select how much history should be displayed.
* buildsystem: add option to select age of cleaned logsNicolas Vigier2013-05-232-5/+13
|
* buildsystem: move uploads dir tidy to scheduler.ppNicolas Vigier2013-05-232-7/+6
| | | | | Move tidying of uploads directory from mgarepo.pp to scheduler.pp as it is related to scheduler and not mgarepo.
* buildsystem::distros: create media_info dir for each repoNicolas Vigier2013-05-231-0/+6
|
* buildsystem: add themes alias in webstatus vhost configNicolas Vigier2013-05-231-1/+2
| | | | Add alias for themes directory in webstatus vhost config.
* buildsystem::webstatus: include apache::mod::phpNicolas Vigier2013-05-231-0/+1
| | | | webstatus uses php, so we need to include apache mod_php.
* buildsystem: create config file for webstatusNicolas Vigier2013-05-233-1/+51
| | | | | Create /etc/bs-webstatus.conf config file using new parameters from buildsystem::var::webstatus.
* buildsystem::var::webstatus: add commentsNicolas Vigier2013-05-231-0/+6
|
* buildsystem: make media_info dir owned by schedbotNicolas Vigier2013-05-231-1/+1
| | | | | schedbot user needs write access to the media_info directory when youri runs genhdlist2, to update MD5SUM files.
* buildsystem/iurt.conf: add vendor and distributionNicolas Vigier2013-05-231-0/+2
|
* buildsystem/Mageia.pm: remove warningNicolas Vigier2013-05-231-1/+1
| | | | Remove warning about deprecated method.
* buildsystem/upload.conf: add arch and mandatory_archNicolas Vigier2013-05-231-0/+25
| | | | | | | | Add arch and mandatory_arch settings in iurt/upload.conf template. The arch setting is used by ulri to know the list of architectures for which the packages need to be built. The mandatory_arch setting is used by emi to know the list of architectures for which a package needs to be built successfully before it can be installed in the repository.
* buildsystem: fix packagers group in sudoers.youriNicolas Vigier2013-05-231-1/+1
| | | | | Remove hardcoded packagers group in templates/sudoers.youri. Use variable buildsystem::var::groups::packagers.
* buildsystem::binrepo: install nail packageNicolas Vigier2013-05-231-0/+5
| | | | | The upload-bin script for binrepo use the mailx command provided by the nail package.
* buildsystem::var::distros: add tmpl_media.cfgNicolas Vigier2013-05-232-2/+11
| | | | | | | It is now possible to specify a different template file for media.cfg for each distribution, using the 'tmpl_media.cfg' option in the distros variable from buildsystem::Var::distros. If the option is not set, the default template (buildsystem/media.cfg) is used.
* buildsystem::repository: add includeNicolas Vigier2013-05-231-0/+1
|
* buildsystem::repository: create bootstrap_reporootNicolas Vigier2013-05-231-1/+2
|
* buildsystem::mgarepo: fix path to default.chlogNicolas Vigier2013-05-231-1/+1
| | | | | Fix path to default.chlog template file in mgarepo.conf. Use the /usr/share/mgarepo directory instead of /usr/share/repsys.
* buildsystem: allow schedbot to connect to schedbotNicolas Vigier2013-05-231-0/+5
|
* Use sshkeys module instead of auth::sshNicolas Vigier2013-05-233-7/+8
| | | | | The sshkeys module is easier to understand, and will allow us to install the same ssh key on 2 different accounts.
* buildsystem: add /etc/youri/host.confNicolas Vigier2013-05-233-1/+32
| | | | | | | | | | 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::var::webstatus: fix svn urlNicolas Vigier2013-05-231-1/+1
|
* buildsystem::distros: create SRPMS directoryNicolas Vigier2013-05-231-0/+14
| | | | Create SRPMS directories for medias.
* buildsystem: Change youri submit configurationNicolas Vigier2013-05-238-704/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-233-2/+5
|
* Move group_members function to mga-commonNicolas Vigier2013-05-231-10/+0
| | | | | The group_members function currently defined in buildsystem module could be used outside of this module, so move it to mga-common.
* buildsystem::signbot: add options for gpg key infosNicolas Vigier2013-05-232-5/+9
| | | | | Add options in buildsystem::var::signbot to select GPG key email and name.
* buildsystem: add build_nodes parameterNicolas Vigier2013-05-232-3/+14
| | | | | 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-232-2/+7
| | | | | The admin_mail parameter is used to select the email address sending the build failure notifications.
* buildsystem: add support for medias dependenciesNicolas Vigier2013-05-232-30/+69
| | | | | 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
|
* 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-233-0/+45
| | | | | | | | | 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.