diff --git a/build.sh b/build.sh index 9aa8784..ad07605 100644 --- a/build.sh +++ b/build.sh @@ -93,16 +93,15 @@ done # pipeline_task has no separate module mkdir -p wwwroot/pipeline_task -# 9. Sync config from Sage (password_key + sage DB credentials) +# 9. Sync password_key from Sage (not databases — those are app-specific) if [ -f /d/apitest/sage/conf/config.json ]; then python3 -c " import json cs=json.load(open('/d/apitest/sage/conf/config.json')) c=json.load(open('$cdir/conf/config.json')) c['password_key']=cs.get('password_key','') -c['databases']['sage']=cs['databases']['sage'] json.dump(c,open('$cdir/conf/config.json','w'),ensure_ascii=False,indent=2) -print(' config: synced password_key + sage DB') +print(' config: password_key synced') " fi