generated from hjess/PythonTemplateProject
Compare commits
2 Commits
8b57e2af8b
...
afd60d3d58
| Author | SHA1 | Date | |
|---|---|---|---|
| afd60d3d58 | |||
| 70df58a097 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user