Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rhos-infra/build-packages
- Owner: rhos-infra
- Created: 2017-07-25T05:45:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T09:37:30.000Z (over 2 years ago)
- Last Synced: 2023-02-28T12:45:44.430Z (almost 2 years ago)
- Language: Python
- Size: 112 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 ansibleRun:
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_rsaTo 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 :)