RETIRED, A tool for managing the repos required to use TripleO
Go to file
Ben Nemec e6fec8c86b Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00
tripleo_repos Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00
.gitignore Initial commit 2016-06-09 23:54:09 +00:00
.testr.conf Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00
LICENSE Add LICENSE 2016-06-10 17:26:55 +00:00
README.rst Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00
requirements.txt Initial commit 2016-06-09 23:54:09 +00:00
setup.cfg Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00
setup.py Make pep8 pass 2016-06-10 17:31:11 +00:00
test-requirements.txt Initial commit 2016-06-09 23:54:09 +00:00
tox.ini Rename from dlrn-repo to tripleo-repos 2016-11-02 22:39:37 +00:00

README.rst

tripleo-repos

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

See: https://github.com/openstack-packages/DLRN

Also ensures yum-plugin-priorities is installed since the dlrn 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 dlrn repo and the deps repo:

tripleo-repos current deps

Install current-tripleo dlrn repo and the deps repo:

tripleo-repos current-tripleo deps

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 dlrn repo and deps:

tripleo-repos -b mitaka current deps

Write repos to a different path:

tripleo-repos -o ~/test-repos current deps

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

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*)"
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.