Trying something ...

This commit is contained in:
2024-12-13 22:14:44 +01:00
parent 87b10611e7
commit 70df58a097

View File

@@ -47,7 +47,7 @@ jobs:
echo "Waiting for the new job to become healthy..." echo "Waiting for the new job to become healthy..."
# Fetch the latest allocation ID for the job # Fetch the latest allocation ID for the job
NEW_ALLOC=$(nomad job status lifefaq | awk '/ID/ {getline; print $1}' | head -n 1) NEW_ALLOC=$(nomad job status lifefaq | awk '/ID/ {getline; print $1}' | tail -n 1)
echo "Latest allocation ID: $NEW_ALLOC" echo "Latest allocation ID: $NEW_ALLOC"
# Wait for the new allocation to become healthy # Wait for the new allocation to become healthy