No description
Find a file
Christian Kellner 7bd3f197a7 run-kojid: also add builder to createrepo channel
At least one builder needs to be able to create repos.
2020-09-05 18:14:44 +02:00
container run-kojid: also add builder to createrepo channel 2020-09-05 18:14:44 +02:00
plugins plugin/builder: ability to use as executable 2020-09-05 17:28:44 +02:00
.editorconfig .editorconfig: added 2020-09-05 16:34:41 +02:00
.gitignore initial import 2020-09-02 19:15:25 +02:00
client.py initial import 2020-09-02 19:15:25 +02:00
osbuild-local.conf kerberos: add osbuild-local.conf 2020-09-05 16:32:50 +02:00
README.md README.md: update with latest instructions 2020-09-05 16:35:23 +02:00
run-builder.sh run-builder.sh: start script for the builder 2020-09-05 16:31:53 +02:00
run-koji-container.sh run-koji-container: use our koji hub container 2020-09-05 16:33:22 +02:00

Building the containers

# container for the hub
sudo podman build -t koji.hub -f container/hub/Dockerfile .

# container for the builder
sudo podman build -t koji.builder -f container/builder/Dockerfile .

Running

Run the database server, the kerberos kdc, and koji hub:

sudo ./run-koji-container.sh start

Run the koji builder:

sudo ./run-builder.sh

Verify installation

Try connecting to koji hub locally via the koji command line client:

koji --server=http://localhost:80/kojihub --user=osbuild --password=osbuildpass --authtype=password hello
grüezi, osbuild!

You are using the hub at http://localhost:80/kojihub
Authenticated via password

Check logs

sudo podman logs org.osbuild.koji.koji  # koji hub
sudo podman logs org.osbuild.koji.kdc   # kerberos kdc

Execute into the container:

sudo podman exec -it org.osbuild.koji.koji /bin/bash
sudo podman exec -it org.osbuild.koji.kdc /bin/bash
sudo podman exec -it org.osbuild.koji.kojid /bin/bash

koji --server=http://localhost:8080/kojihub --user=osbuild --password=osbuildpass --authtype=password hello