Skip to content

Commit

Permalink
Add BASH tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Jul 16, 2024
1 parent a164bd8 commit d940a59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildbot/start_script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -x

# Script to configure GCE instance to run sanitizer build bots.

# NOTE: If there were changes in this directory, GCE instance will try to reboot after completing the current build.
Expand Down Expand Up @@ -113,9 +115,11 @@ EOF
while pkill buildbot-worker; do sleep 5; done;
rm -f ${BOT_DIR}/twistd.log ${BOT_DIR}/buildbot.tac

set +x
buildbot-worker create-worker -f --allow-shutdown=signal ${BOT_DIR} lab.llvm.org:$SERVER_PORT \
"$WORKER_NAME" \
"$(gsutil cat gs://sanitizer-buildbot/buildbot_password)"
set -x

mkdir -p /var/lib/buildbot/workers/b
ln -fs $BOT_DIR/buildbot.tac /var/lib/buildbot/workers/b/
Expand Down

0 comments on commit d940a59

Please sign in to comment.