Skip to content

Commit

Permalink
Upload state files for minute replication (#349)
Browse files Browse the repository at this point in the history
* Update livenessProbe for replication job

* Update script for minute replication file process

* Update replication script to send message to slack

* Reset gitsha for web api

* Upload state files for minute replication
  • Loading branch information
Rub21 authored Nov 12, 2024
1 parent 467294b commit 26e5372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/replication-job/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ function monitor_minute_replication() {
if gzip -t "$local_minute_file" 2>/dev/null; then
# Upload the file sequentially
upload_file_cloud $local_minute_file
local_state_file="${local_minute_file%.osc.gz}.state.txt"
upload_file_cloud $local_state_file
echo "$local_minute_file: SUCCESS" >>"$processed_files_log"
# Upload and update state.txt after successful upload
upload_file_cloud "$workingDirectory/state.txt"
Expand Down

0 comments on commit 26e5372

Please sign in to comment.