# Setting up yum repos in CI
###### tags: `Design`
## quick notes
* there should be only one authoritive tool to setup openstack yum repos.
* atm, there are two.. tripleo-repos and tq/repo-setup
## requirements
* one tool , is it going to be a new tool? or tripleo-repos is going to be adapted?
* unit test cases required
* Features
* should setup dlrn repos, deps
* get the hash
* get md5sum
* get full baseurl if a single repo
* get delorean.repo file if aggregated repo
* install
* pip install
* rpm install
* ansible module, callable via ansible
### notes
[12:00:40] <mwhahaha> should move tripleo-repos to independent (if not already)
<ykarel> For using tripleo-repos in quickstart need to add support to configure repos based on aggregate hash along
with repo tags like current-tripleo, tripleo-ci-testing etc, quickstart equivalent vars:- dlrn_hash_tag, dlrn_hash_tag_newest.
Also quickstart setup some additional repos like component specific repos in component pipeline, gating repos for packages being build in CI, c8-stream repos, cr repos or RDO repos built as part of updating tags or buildsys-tags, etc. These also need to be checked on how to handled that, may be it can be done by quickstart extensions i.e add_repos and base repos to be setup with tripleo-repos.