Skip to content

Commit 55385f3

Browse files
authored
Merge pull request #198 from psiinon/stats-process-fix
Stats: Tweak telemetry processing
2 parents 9e3dd71 + 5ad92da commit 55385f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/postprocess-ssp-telemetry.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
cd zap-mgmt-scripts/stats
4141
4242
# The telemetry/raw directory should just contain unprocessed files so remain small
43-
aws s3 sync s3://ssp-project-zap/telemetry/raw/ telemetry/raw/
43+
# Move the current files so we don't delete any that come in while we are processing the current ones
44+
aws s3 mv s3://ssp-project-zap/telemetry/raw/ s3://ssp-project-zap/telemetry/process/ --recursive
45+
aws s3 sync s3://ssp-project-zap/telemetry/process/ telemetry/raw/
4446
python3 tel_postprocess.py
4547
aws s3 mv telemetry/ s3://ssp-project-zap/telemetry/ --recursive
46-
aws s3 sync telemetry/raw/ s3://ssp-project-zap/telemetry/raw/ --delete
48+
aws s3 sync telemetry/raw/ s3://ssp-project-zap/telemetry/process/ --delete
4749

0 commit comments

Comments
 (0)