Skip to content

Building packages from source and injecting them to OpenStack deployments

Notifications You must be signed in to change notification settings

rhos-infra/build-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <user-name> --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 <user-name> --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 :)

About

Building packages from source and injecting them to OpenStack deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published