run-koji-container: be more verbose

Show logs and running containers, should help track down issues.
This commit is contained in:
Christian Kellner 2020-09-10 13:00:31 +02:00 committed by Tom Gundersen
parent 10e691d8c3
commit 1db41a067f

View file

@ -121,6 +121,9 @@ koji_start() {
break
fi
sleep 2
# in case something is stuck, print the logs
podman logs org.osbuild.koji.koji
done
# create koji users
@ -137,6 +140,9 @@ koji_start() {
psql_cmd -c "insert into content_generator (name) values ('osbuild')" >/dev/null
psql_cmd -c "insert into cg_users (cg_id, user_id, creator_id, active) values (1, 2, 1, true), (1, 3, 1, true)" >/dev/null
# print all the running containers
podman ps
echo "Containers are running, to stop them use:"
echo "$0 stop"