nphilipp / koji-vagrant

Forked from koji-vagrant 4 years ago
Clone
README.rst

koji-vagrant

This project hosts a Vagrantfile meant to make it easy to deploy koji in a local VM for development purposes.

It relies on Ken Dreyer's Ansible playbooks for Koji provided at: https://github.com/ktdreyer/koji-playbooks

To run the project:

git clone ssh://git@pagure.io/koji-vagrant.git
cd koji-vagrant
git submodule init
git submodule update

Create the SSL certs needed by koji:

python3 koji-ssl-admin new-ca
python3 koji-ssl-admin server-csr kojidev.example.com
python3 koji-ssl-admin sign --ca-key koji-ca.key --ca-cert koji-ca.crt kojidev.example.com.csr
cat koji-ca.crt kojidev.example.com.crt > kojidev.example.com.chain.crt

Move the SSL certs into there expected location:

cp koji-ca.* kojidev.example.com.* koji-playbooks/roles/koji-hub/files

Start the VM:

vagrant up

You will need to have vagrant and vagrant-ssh installed before.

Code hosted here is licensed under the CC0 license.