d
This commit is contained in:
@@ -146,6 +146,30 @@ for item in "${WEB_ITEMS[@]}"; do
|
||||
done
|
||||
copy_optional_item "${ROOT_DIR}/domain-web/dist" "${WEB_TARGET}/"
|
||||
|
||||
DOMAINCHECK_TARGET="${STAGING_ROOT}/domainCheck"
|
||||
copy_optional_item "${ROOT_DIR}/domainCheck" "${STAGING_ROOT}/"
|
||||
if [[ -d "${DOMAINCHECK_TARGET}" ]]; then
|
||||
rm -rf \
|
||||
"${DOMAINCHECK_TARGET}/.venv" \
|
||||
"${DOMAINCHECK_TARGET}/.pytest_cache" \
|
||||
"${DOMAINCHECK_TARGET}/__pycache__" \
|
||||
"${DOMAINCHECK_TARGET}/logs" \
|
||||
"${DOMAINCHECK_TARGET}/data" \
|
||||
"${DOMAINCHECK_TARGET}/runtime"
|
||||
rm -f \
|
||||
"${DOMAINCHECK_TARGET}/.env" \
|
||||
"${DOMAINCHECK_TARGET}/credentials.json" \
|
||||
"${DOMAINCHECK_TARGET}/juming_cookies.pkl" \
|
||||
"${DOMAINCHECK_TARGET}/detect_options.json" \
|
||||
"${DOMAINCHECK_TARGET}/proxy_config.json" \
|
||||
"${DOMAINCHECK_TARGET}/thread_count.json" \
|
||||
"${DOMAINCHECK_TARGET}/node_thread_counts.json" \
|
||||
"${DOMAINCHECK_TARGET}/runtime_settings.json" \
|
||||
"${DOMAINCHECK_TARGET}/detect_worker.log"
|
||||
find "${DOMAINCHECK_TARGET}" -type d -name "__pycache__" -prune -exec rm -rf {} +
|
||||
find "${DOMAINCHECK_TARGET}" -type f \( -name "*.pyc" -o -name "detect_worker*.log" \) -delete
|
||||
fi
|
||||
|
||||
SMOKE_OK="false"
|
||||
SMOKE_MESSAGE=""
|
||||
if [[ "${SKIP_SMOKE_TEST}" == "1" ]]; then
|
||||
@@ -213,6 +237,7 @@ manifest = {
|
||||
"scripts": sorted(item.name for item in scripts_target.iterdir() if item.is_file()) if scripts_target.exists() else [],
|
||||
"domain_api": sorted(item.name for item in api_target.iterdir()) if api_target.exists() else [],
|
||||
"domain_web": sorted(item.name for item in web_target.iterdir()) if web_target.exists() else [],
|
||||
"domain_check": sorted(item.name for item in (staging_root / "domainCheck").iterdir()) if (staging_root / "domainCheck").exists() else [],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -231,6 +256,7 @@ Contents:
|
||||
- scripts
|
||||
- domain-api
|
||||
- domain-web
|
||||
- domainCheck
|
||||
- release_manifest.json
|
||||
- smoke_test_report.json (if generated)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user