Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhos-infra/build-packages

Building packages from source and injecting them to OpenStack deployments
https://github.com/rhos-infra/build-packages

Last synced: 12 days ago
JSON representation

Building packages from source and injecting them to OpenStack deployments

Awesome Lists containing this project

README

        

## Build Packages

Building RPMs out of a source of a certain project

Note: you can also use the project to: 1. Download packages and let InfraRed install them
2. Install packages located on remote host

### How to use this project as an ansible playbook

Create virtual environment:

virtualenv venv && source venv/bin/activate
pip install ansible

Run:

ansible-playbook -i hosts main.yml

### How to use this as an InfraRed plugin

Install InfraRed

git clone https://github.com/redhat-openstack/infrared.git
cd infrared && virtualenv venv && source venv/bin/activate && pip install -e .

Add build-packages as a plugin:

infrared plugin add https://github.com/rhos-infra/build-packages.git

Run:
infrared build-packages --host-ip 1.1.1.1 --host-username --host-key_file ~/.ssh/id_rsa

To download packages (they will be installed by InfraRed):

infrared build-packages --host-ip 1.1.1.1 --host-username --host-key_file ~/.ssh/id_rsa --download-packages http://my_server/zlib-1.2.el7.noarch.rpm --build-ovs False

To install packages:

infrared build-packages --host-ip 1.1.1.1 --host-username --host-key_file ~/.ssh/id_rsa --packages openvswitch-selinux-policy --build-ovs False

### How to contribute

Contributions are done via GerritHub. Do not use pull requests or direct push :)