Skip to content

Commit

Permalink
Log message in right place
Browse files Browse the repository at this point in the history
  • Loading branch information
Neves-P committed Mar 4, 2024
1 parent 674794e commit d2859af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ build_outerr=$(mktemp build.outerr.XXXX)
# use PR patch file to determine in which easystack files stuff was added
pr_diff=$(ls [0-9]*.diff | head -1)
changed_easystacks=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^easystacks/.*yml$' | egrep -v 'known-issues|missing')
echo "bot/build.sh: changed_easystacks='${changed_easystacks}'"
if [ -z ${changed_easystacks} ]; then
echo "No missing installations, party time!" # Ensure the bot report success, as there was nothing to be build here
else
Expand All @@ -221,7 +222,7 @@ else
done
fi

echo "bot/build.sh: changed_easystacks='${changed_easystacks}'"


echo "Executing command to build software:"
echo "${HOME}/easybuild/cit-hpc-easybuild/jobscripts/habrok/build_container_bot.sh -o='/scratch/public/software-tarballs' -- eb ${BUILD_STEP_ARGS[@]} 2>&1 | tee -a ${build_outerr}"
Expand Down

0 comments on commit d2859af

Please sign in to comment.