Fix project ID and duration formatting

- 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
This commit is contained in:
Graham McIntire 2026-01-15 09:10:24 -06:00
parent de3c282825
commit a98e1823f3
No known key found for this signature in database

View file

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