resultsdb: Use upstream image for stage instance
Related to: https://pagure.io/fedora-infrastructure/issue/11321
This commit is contained in:
parent
71bdcd837f
commit
b33a9cc47d
2 changed files with 6 additions and 2 deletions
|
@ -25,9 +25,13 @@ spec:
|
|||
# try for 10 minutes (600 seconds)
|
||||
e=$(( $(date +%s) + 600 ))
|
||||
i=0
|
||||
entrypoint=""
|
||||
if [ -f /app/entrypoint.sh ]; then
|
||||
entrypoint=/app/entrypoint.sh
|
||||
fi
|
||||
while [ $(date +%s) -lt $e ]; do
|
||||
echo 'TRY #'$((++i))
|
||||
if resultsdb init_db ; then
|
||||
if $entrypoint resultsdb init_db ; then
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# backend vars
|
||||
prod_resultsdb_image: quay.io/fedora-kube-sig/resultsdb-backend:latest-f35
|
||||
stg_resultsdb_image: quay.io/fedora-kube-sig/resultsdb-backend:latest-f35
|
||||
stg_resultsdb_image: quay.io/factory2/resultsdb:latest
|
||||
|
||||
resultsdb_publish: true
|
||||
resultsdb_mod_wsgi_dir: '${MOD_WSGI_MODULES_DIRECTORY}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue