RETIRED, A tool for managing the repos required to use TripleO
Go to file
Rafael Folco 98a91a87df Add fedora support to tripleo-repos
Deprecate --centos-mirror in favour of more generic parameter --mirror
but respects it for backwards compatibility.

Enable fedora mirrors to be configured with --mirror parameter.

Assures that default distro specific mirrors are using the distro
parameter.

Story: https://tree.taiga.io/project/tripleo-ci-board/task/733
Change-Id: I0c8852a0524b6460b4219d0e91c0f43444905a1f
Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
2019-02-21 12:01:09 +00:00
doc/source Add docs structure 2017-07-17 13:29:15 -06:00
tripleo_repos Add fedora support to tripleo-repos 2019-02-21 12:01:09 +00:00
.gitignore Switch to stestr 2018-07-16 09:32:24 +07:00
.gitreview Add .gitreview 2017-09-08 20:06:39 +00:00
.stestr.conf Switch to stestr 2018-07-16 09:32:24 +07:00
.zuul.yaml Use openstack-tox-cover template 2018-09-07 11:48:23 +02:00
CONTRIBUTING.rst Add docs structure 2017-07-17 13:29:15 -06:00
LICENSE Add LICENSE 2016-06-10 17:26:55 +00:00
README.rst Fix broken link in readme 2018-03-09 16:39:58 +00:00
requirements.txt Switch to stestr 2018-07-16 09:32:24 +07:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 12:13:01 +00:00
setup.py Add docs structure 2017-07-17 13:29:15 -06:00
test-requirements.txt Switch to stestr 2018-07-16 09:32:24 +07:00
tox.ini Don't quote {posargs} in tox.ini 2018-10-09 14:31:43 +05:30

README.rst

tripleo-repos

A tool for managing tripleo repos from places like RDO Trunk and Ceph.

See: https://blogs.rdoproject.org/2016/04/newbie-in-rdo-2-rdo-trunk-from-a-bird-s-eye-view/

Also ensures yum-plugin-priorities is installed since the RDO Trunk repos require that to work sanely.

Note

The tool will remove any delorean* repos at the target location to avoid conflicts with older repos. This means you must specify all of the repos you want to enable in one tripleo-repos call.

Examples

Install current master RDO Trunk repo and the deps repo:

tripleo-repos current

Install current-tripleo RDO Trunk repo and the deps repo:

tripleo-repos current-tripleo

Install the current-tripleo-dev repo. This will also pull current and deps, and will adjust the priorities of each repo appropriately:

tripleo-repos current-tripleo-dev

Install the mitaka RDO Trunk repo and deps:

tripleo-repos -b mitaka current

Write repos to a different path:

tripleo-repos -o ~/test-repos current

Install the current-tripleo, deps, and ceph repos. NOTE: The Ceph repo is installed from a package and thus does not respect -o:

tripleo-repos current-tripleo ceph

TripleO

To use this for TripleO development, replace the tripleo.sh --repo-setup step with the following:

git clone https://github.com/cybertron/tripleo-repos
cd tripleo-repos
sudo ./setup.py install
sudo tripleo-repos current-tripleo-dev ceph

Now you're ready to install the undercloud:

tripleo.sh --undercloud

And to build images:

export OVERCLOUD_IMAGES_DIB_YUM_REPO_CONF="$(ls /etc/yum.repos.d/delorean* /etc/yum.repos.d/CentOS-Ceph-*)"
tripleo.sh --overcloud-images

Note

This is a tool for bootstrapping the repo setup for TripleO, so it should not have any runtime OpenStack dependencies or we end up in a chicken-and-egg pickle, and let's be honest - no one wants a chicken and egg pickle.