Merge "Fix dlrn build role"
This commit is contained in:
commit
c231a1c823
@ -35,10 +35,10 @@
|
||||
|
||||
- name: Run DLRN
|
||||
shell: >
|
||||
set +e
|
||||
set +e;
|
||||
source {{ ansible_user_dir }}/dlrn-venv/bin/activate;
|
||||
while true; do
|
||||
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev
|
||||
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev;
|
||||
if [ $? -eq 0 ]; then
|
||||
# SUCCESS
|
||||
break;
|
||||
@ -48,7 +48,7 @@
|
||||
elif [ $? -eq 2 ]; then
|
||||
# RETRY
|
||||
continue;
|
||||
fi
|
||||
fi;
|
||||
# Unexpected DLRN return code
|
||||
exit $?;
|
||||
done;
|
||||
|
Loading…
Reference in New Issue
Block a user