No description
Find a file
Christian Kellner 53de9b32c1 run-container: support connecting to koji via FQDN
Support connecting to koji via its fully qualified domain name, i.e.
org.osbuild.koji.koji. For this an extra SSL certificate is needed,
that has the FQDN as the subject, as well as a kerberos principal.

NB: This needs to have a apache VirtualHost section for the FQDN
that uses the new certificate as well.
2020-09-05 15:32:02 +02:00
container initial import 2020-09-02 19:15:25 +02:00
plugins initial import 2020-09-02 19:15:25 +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
env initial import 2020-09-02 19:15:25 +02:00
README.md initial import 2020-09-02 19:15:25 +02:00
run-koji-container.sh run-container: support connecting to koji via FQDN 2020-09-05 15:32:02 +02:00
run.sh initial import 2020-09-02 19:15:25 +02:00

podman pull docker.io/library/postgres:12-alpine

podman pod create --name koji -p 5432 -p 8080:80 podman run --rm -p 5432:5432 --env-file env postgres:12-alpine

podman build -t koji-server . podman run --env-file env --pod koji -p 80:8080 koji-server

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

podman build -t koji.builder -f container/builder/Dockerfile . podman run -it --rm --env-file container/env --pod koji -v (pwd)/container/ssl/:/share/ssl:Z -v (pwd)/mnt:/mnt:Z --name koji.builder koji.builder

koji add-host-to-channel b1 image

podman run -it --rm --env-file container/env --pod koji -v (pwd)/container/ssl/:/share/ssl:Z -v (pwd)/mnt:/mnt:Z --name koji.builder koji.builder