From fb464ea6c025eeffa23efd7cead8721ec406ef65 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Sep 2017 10:46:03 +0200 Subject: bin/get-assignment: hand out blocked packages again to the same build slave --- bin/get-assignment | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bin/get-assignment') diff --git a/bin/get-assignment b/bin/get-assignment index fb35c0c..04497c4 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -86,17 +86,13 @@ while read -r package git_revision mod_git_revision repository; do generate_package_metadata "${package}.${git_revision}.${mod_git_revision}.${repository}" - if [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.blocked" ]; then - continue - fi - if [ -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.locked" ]; then if [ "${slave}" = "$(head -n1 "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.locked")" ]; then echo "${package} ${git_revision} ${mod_git_revision} ${repository}" exit fi - else + elif [ ! -f "${work_dir}/package-states/${package}.${git_revision}.${mod_git_revision}.${repository}.blocked" ]; then pending_packages=true fi -- cgit v1.2.3-70-g09d2