Use $QUAYPATH and $QUAYDIR in conf and init files
This commit is contained in:
parent
334a08d90b
commit
cdb3722c17
59 changed files with 341 additions and 225 deletions
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
import json
|
||||
import logging
|
||||
|
||||
|
@ -38,6 +39,8 @@ from util.saas.useranalytics import build_error_callback
|
|||
from util.systemlogs import build_logs_archive
|
||||
from util.useremails import send_email_changed
|
||||
from util.registry.gzipinputstream import GzipInputStream
|
||||
from _init import ROOT_DIR
|
||||
|
||||
|
||||
PGP_KEY_MIMETYPE = 'application/pgp-keys'
|
||||
|
||||
|
@ -287,7 +290,7 @@ def dbrevision_health():
|
|||
db_revision = result[0]
|
||||
|
||||
# Find the local revision from the file system.
|
||||
with open('ALEMBIC_HEAD', 'r') as f:
|
||||
with open(os.path.join(ROOT_DIR, 'ALEMBIC_HEAD'), 'r') as f:
|
||||
local_revision = f.readline().split(' ')[0]
|
||||
|
||||
data = {
|
||||
|
|
Reference in a new issue