From a3d5520f78db3b2f2d22fed99dd03f5dfb18e5c2 Mon Sep 17 00:00:00 2001 From: Kamoltat Sirivadhna Date: Thu, 7 Mar 2024 13:52:00 -0500 Subject: [PATCH] docs/docker-compose: -x earlier do it for /teuthology/teuthlogy.sh && /start.sh Signed-off-by: Kamoltat Sirivadhna --- docs/docker-compose/start.sh | 2 +- docs/docker-compose/teuthology/teuthology.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docker-compose/start.sh b/docs/docker-compose/start.sh index 871258c5be..954a332600 100755 --- a/docs/docker-compose/start.sh +++ b/docs/docker-compose/start.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -e -x export TEUTHOLOGY_BRANCH=${TEUTHOLOGY_BRANCH:-$(git branch --show-current)} export TEUTH_BRANCH=${TEUTHOLOGY_BRANCH} if [ -n "$ANSIBLE_INVENTORY_REPO" ]; then diff --git a/docs/docker-compose/teuthology/teuthology.sh b/docs/docker-compose/teuthology/teuthology.sh index 0378f93d44..f5e7cd1607 100755 --- a/docs/docker-compose/teuthology/teuthology.sh +++ b/docs/docker-compose/teuthology/teuthology.sh @@ -4,8 +4,8 @@ set -e if [ -n "$SSH_PRIVKEY_FILE" ]; then echo "$SSH_PRIVKEY" > $HOME/.ssh/$SSH_PRIVKEY_FILE fi -source /teuthology/virtualenv/bin/activate set -x +source /teuthology/virtualenv/bin/activate if [ -n "$TESTNODES" ]; then for node in $(echo $TESTNODES | tr , ' '); do teuthology-update-inventory -m $MACHINE_TYPE $node @@ -40,6 +40,7 @@ if [ -z "$TEUTHOLOGY_WAIT" ]; then teuthology-queue -m $MACHINE_TYPE -s | \ python3 -c "import sys, json; assert json.loads(sys.stdin.read())['count'] > 0, 'queue is empty!'" fi +echo "$(pwd)" teuthology-dispatcher -v \ --log-dir /teuthology/log \ --tube $MACHINE_TYPE \