From 26e537234c6737c47d1e55b00240477111b182f3 Mon Sep 17 00:00:00 2001 From: "Ruben L. Mendoza" Date: Tue, 12 Nov 2024 07:26:18 -0500 Subject: [PATCH] Upload state files for minute replication (#349) * 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 --- images/replication-job/start.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/replication-job/start.sh b/images/replication-job/start.sh index 30453c14..e0f0ae92 100755 --- a/images/replication-job/start.sh +++ b/images/replication-job/start.sh @@ -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"