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))