Compare commits

...

2 Commits

Author SHA1 Message Date
afd60d3d58 Merge pull request 'Trying something ...' (#10) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Has been cancelled
Reviewed-on: #10
2024-12-13 22:16:16 +01:00
70df58a097 Trying something ... 2024-12-13 22:14:44 +01:00

View File

@@ -47,7 +47,7 @@ jobs:
echo "Waiting for the new job to become healthy..."
# 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"
# Wait for the new allocation to become healthy