Add options to use local DLRN and CentOS mirrors

Add the dlrn_baseurl option that allows overriding the DLRN server,
making possible to use a proxy upstream. Also add
dlrn_use_local_mirrors option. When true, the package building will
use the already defined CentOS and DLRN repos from the machine where
the packages are built.

Also move the rdoinfo repo fetching in the main part of the role to
save time and bandwidth.

Change-Id: I0b440895267fcd8027394504649372bd923128d6
Closes-bug: #1710678
This commit is contained in:
Attila Darazs
2017-08-16 18:22:55 +02:00
committed by Emilien Macchi
parent 92e924a875
commit 92a1bf7f05
4 changed files with 37 additions and 7 deletions

View File

@@ -32,6 +32,10 @@ Role Variables
to skip projects that DLRN cannot build.
* `artg_repos_dir` -- Root directory which contains project directories with
sources for build.
* `dlrn_baseurl` -- URL used by DLRN to get the repo definitions when building
packages
* `dlrn_use_local_mirrors` -- use the local repo definitions from
/etc/yum.repos.d/ for CentOS and DLRN while building packages; used upstream
```yaml
artg_change_list: