Skip to content
Snippets Groups Projects
Commit 4d0954c1 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix aws status check conditional

parent 87097361
Branches
Tags
1 merge request!81Develop
Pipeline #9725 passed with warnings with stages
in 5 minutes and 1 second
......@@ -1105,7 +1105,7 @@ aws:
until [[ "${status}" == "SUCCEEDED" || "${status}" == "FAILED" ]]; do
status=$(aws batch describe-jobs --jobs ${id} | grep -oP "status\": \K.*" | tr -d '"' | tr -d ',' | tr -d " " ) &&
echo ${status}
if [[ "${status}" != "SUCCEEDED" ] && [ "${status}" != "FAILED" ]]; then
if [ "${status}" != "SUCCEEDED" ] && [ "${status}" != "FAILED" ]; then
sleep 1m
fi
done
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment