0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/evergreen/jepsen_docker/setup.sh
Juan Gu a54cfc3cd1 SERVER-96161 Pin to v0.2.2 jepsen-io-mongodb (#28451)
GitOrigin-RevId: cff55fa27d70b4ba44b059a1134e1e34e103d7d6
2024-10-24 16:45:02 +00:00

16 lines
643 B
Bash

set -euo pipefail
# Clone our internal fork of jepsen-io/jepsen to get the core
# functionality with a few tweaks meant for evergreen integration.
git clone --branch=v0.2.0-evergreen-master git@github.com:10gen/jepsen.git jepsen
# Copy our mongodb source for jepsen to run into the docker area to be
# copied into the image during the build process.
cp -rf src/dist-test jepsen/docker/node
# Clone our internal tests to run
git clone --branch=v0.2.2 https://x-access-token:${github_token}@github.com/10gen/jepsen-io-mongodb.git jepsen/docker/control/mongodb
# Kill any running containers
sudo docker container kill $(docker ps -q) || true