diff options
Diffstat (limited to 'jstests/watchdog/charybdefs_setup.sh')
-rw-r--r-- | jstests/watchdog/charybdefs_setup.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/jstests/watchdog/charybdefs_setup.sh b/jstests/watchdog/charybdefs_setup.sh new file mode 100644 index 00000000000..31cd1f0be05 --- /dev/null +++ b/jstests/watchdog/charybdefs_setup.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# Script to setup charybdefs +set -euo pipefail +IFS=$'\n\t' + +if [ "$#" -ne 0 ]; then + echo "This script does not take any arguments" + exit 1 +fi + +echo Start - charybdefs_setup.sh + +cd /data + +rm -rf /data/charybdefs +rm -rf /data/thrift + +# Use the mongo branch and fork from here +git clone -b mongo_42 https://github.com/markbenvenuto/charybdefs.git + +# Run the build script in the mongo branch +cd charybdefs/mongo + +# Build and setup thrift and charybdefs +PATH=/opt/mongodbtoolchain/v3/bin:$PATH bash ./build.sh + +echo Done - charybdefs_setup.sh |