From a98e1823f32847768de6fd43bdd428adea264cd6 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 15 Jan 2026 09:10:24 -0600 Subject: [PATCH] Fix project ID and duration formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated main app project ID: 77257437 → 77618300 (towerops/towerops) - Fixed duration formatting to handle decimal seconds from GitLab API - Script now fetches correct current pipelines instead of old deleted project --- scripts/monitor-deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/monitor-deploy.sh b/scripts/monitor-deploy.sh index e95c12e9..daed52ac 100755 --- a/scripts/monitor-deploy.sh +++ b/scripts/monitor-deploy.sh @@ -78,7 +78,7 @@ get_project_info() { case $project in app) - PROJECT_ID="77257437" # Numeric ID for API calls + PROJECT_ID="77618300" # Numeric ID for towerops/towerops PROJECT_PATH="towerops/towerops" # Path for web URLs PROJECT_NAME="Towerops" K8S_NAMESPACE="towerops" @@ -172,6 +172,9 @@ format_duration() { return fi + # Convert to integer (GitLab returns decimals like 51.952868) + seconds=${seconds%.*} + local mins=$((seconds / 60)) local secs=$((seconds % 60))