This commit is contained in:
1 parent
e8df11bc16
commit
acfb22cbea
6 files changed
+149
-116
No files matched your search
@@ -65,18 +65,6 @@ fi
|
||||
run_with_logging "python3 src/config_snapshot_downloader.py --config $SNAPSHOT_CONFIG_FILE" "Config Snapshot Downloader"
|
||||
config_result=$?
|
||||
|
||||
# Run regular snapshot downloader with environment variables
|
||||
if [ -n "$API_KEY" ]; then
|
||||
run_with_logging "python3 src/snapshot_downloader.py --api-key $API_KEY --output-dir data/snapshots" "Snapshot Downloader (API Key)"
|
||||
snapshot_result=$?
|
||||
elif [ -n "$EMAIL" ] && [ -n "$PASSWORD" ]; then
|
||||
run_with_logging "python3 src/snapshot_downloader.py --email $EMAIL --password $PASSWORD --output-dir data/snapshots" "Snapshot Downloader (Email/Password)"
|
||||
snapshot_result=$?
|
||||
else
|
||||
log_message "WARNING: No authentication method provided via environment variables, skipping direct snapshot downloader"
|
||||
snapshot_result=0
|
||||
fi
|
||||
|
||||
# Summary
|
||||
log_message "=== Daily Run Summary ==="
|
||||
if [ "$SKIP_ASSET_DOWNLOADER" = false ]; then
|
||||
|
||||
Reference in new issue
Block a user