run-koji-container: be more verbose
Show logs and running containers, should help track down issues.
This commit is contained in:
parent
10e691d8c3
commit
1db41a067f
1 changed files with 6 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue