0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-74871 Run jepsen_docker on debian10 only and clean up dead code

This commit is contained in:
Ryan Egesdahl 2023-04-05 13:40:18 +00:00 committed by Evergreen Agent
parent adc44e57c9
commit 0287f5807a
2 changed files with 0 additions and 36 deletions

View File

@ -858,9 +858,6 @@ buildvariants:
- name: audit
- name: causally_consistent_jscore_txns_passthrough
- name: .encrypt !.replica_sets !.aggregation !.sharding !.jscore
- name: .jepsen_docker
distros:
- debian11-large
- name: .jscore .common !.decimal !.sharding !.feature_flag_guarded
- name: .jstestfuzz .common
- name: .logical_session_cache .one_sec

View File

@ -1,38 +1,5 @@
set -euo pipefail
if [ ! $(which docker) ]; then
sudo apt-get update
sudo apt-get install -yq \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
if [ ! -f "/usr/share/keyrings/docker-archive-keyring.gpg" ]; then
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
fi
set +e
if ! grep "https://download.docker.com/linux/debian" "/etc/apt/sources.list.d/docker.list"; then
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
fi
set -e
sudo apt-get update
sudo apt-get install -yq docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
fi
if [ ! $(which docker-compose) ]; then
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
fi
sudo chmod 777 /var/run/docker.sock
git clone --branch=evergreen-master git@github.com:10gen/jepsen.git jepsen
cp -rf src/dist-test jepsen/docker/node
# place the mongodb jepsen test adjacent to the control node's Dockerfile.