Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build-scripts/compile-options
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ hub)
ROLE=hub
;;
*)
log_debug "Bad or unset EXPLICIT_ROLE '$EXPLICIT_ROLE': attempting autodetection"
if [ -z "$EXPLICIT_ROLE" ]; then
log_debug "EXPLICIT_ROLE is unset; attempting to autodetect role"
else
log_error "Bad EXPLICIT_ROLE '$EXPLICIT_ROLE'; attempting to autodetect role"
fi
case x"$label" in
x)
log_debug "label is not set, assuming that this is not the main build job; Setting ROLE=agent."
Expand Down
2 changes: 1 addition & 1 deletion ci/initialize-build-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ do
done

echo '========================================= PRINTING CLOUD-INIT LOG ==================================================='
sed 's/^.*/>>> &/' /var/log/cloud-init-output.log || true
sudo sed 's/^.*/>>> &/' /var/log/cloud-init-output.log || true
echo '======================================= DONE PRINTING CLOUD-INIT LOG ================================================'

if [ $attempts -le 0 ]
Expand Down
Loading