A tool for managing the repos required to use TripleO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marios Andreou 7101e4cdbc Adds tripleo-get-hash module get tripleo-ci hash info from tag 4 months ago
doc Add doc/requirements 7 months ago
releasenotes/notes Default enable --stream by default 3 months ago
tripleo-get-hash Adds tripleo-get-hash module get tripleo-ci hash info from tag 3 months ago
tripleo_repos Merge "Let the flag --no-stream to work" 3 months ago
zuul.d Add py39 testing 4 months ago
.gitignore Switch to stestr 3 years ago
.gitreview OpenDev Migration Patch 2 years ago
.stestr.conf Switch to stestr 3 years ago
CONTRIBUTING.rst Add docs structure 4 years ago
LICENSE Add LICENSE 5 years ago
README.rst Add support for UBI8 as a subcase of Centos8 8 months ago
requirements.txt Switch to stestr 3 years ago
setup.cfg Add py39 testing 4 months ago
setup.py Cleanup py27 support 1 year ago
test-requirements.txt Add doc/requirements 7 months ago
tox.ini Adds tripleo-get-hash module get tripleo-ci hash info from tag 3 months ago

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 TripleO CI testing repos for UBI-8 by the distro specific path:

tripleo-repos -d ubi8 tripleo-ci-testing --output-path /etc/distro.repos.d

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.