tripleo-ci/roles/tripleo-repos
Marios Andreou d427ed641d Add override_repos into tripleo-ci tripleo-repos role
The tripleo-repos role in tripleo-ci defaults to current-tripleo
for master and current for everything else. There is no support
for the tripleo-ci-testing repo.

This adds 2 params: i) override_repos as a param
to tripleo-ci tripleo-repos and ii) buildcontainers_override_repos
as a param in the tripleo-buildcontainers job. ii) is passed from
periodic version of buildcontainers in [1] and is then used to
set the value of override_repos, passed into ci tripleo-repos.

The depends-on adds tripleo-ci-testing as an option for
tripleo-repos itself as it is currently unsupported.
Tracked by tripleo ci squad with [2]. See test review at [3] which
runs the periodic container build in check with this code.

Also adds /etc/yum.repos.d/ into collected buildcontainer logs.

[1] https://review.rdoproject.org/r/18975
[2] https://tree.taiga.io/project/tripleo-ci-board/task/773
[3] https://review.rdoproject.org/r/19000
Depends-On: https://review.openstack.org/638651 # tripleo-repos
Change-Id: I37bc90881ef19ae4aeace65750da4dd93da5f4e2
2019-02-28 10:28:42 +00:00
..
defaults Add override_repos into tripleo-ci tripleo-repos role 2019-02-28 10:28:42 +00:00
handlers Role to install setup repos using tripleo-repos 2018-11-05 10:01:10 -07:00
meta Role to install setup repos using tripleo-repos 2018-11-05 10:01:10 -07:00
tasks Add override_repos into tripleo-ci tripleo-repos role 2019-02-28 10:28:42 +00:00
tests Role to install setup repos using tripleo-repos 2018-11-05 10:01:10 -07:00
vars Role to install setup repos using tripleo-repos 2018-11-05 10:01:10 -07:00
README.rst Role to install setup repos using tripleo-repos 2018-11-05 10:01:10 -07:00

README.rst

tripleo-repos

A role to install and run tripleo-repos to setup the CentOS and RDO yum repositories.

Role Variables

Variables used for chrony
Name Default Value Description
tripleo_repos_repository git+https://git.openstack.org/openstack/tripleo-repos Git repository to pip install tripleo-repos from
workspace ansible_user_dir Workspace directory to put the venv into
centos_mirror_host http://mirror.centos.org Mirror host for CentOS repositories
rdo_mirror_host https://trunk.rdoproject.org Mirror host for RDO repositories

Requirements

  • ansible >= 2.4
  • python >= 2.6

Dependencies

None

Example Playbooks

- hosts: localhost
  become: true
  roles:
    - tripleo-repos

License

Apache 2.0