mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-07-07 20:45:01 +00:00

This adds a "limbo_stress" tool for stress testing Limbo in non-deterministic way together with support code to run the tests under Antithesis (which makes them deterministic). The stress tester does not really do anything useful yet, this is just a step to make sure we can run tests under Antithesis.
19 lines
416 B
Bash
Executable file
19 lines
416 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
export DOCKER_REPO_URL=$ANTITHESIS_DOCKER_REPO
|
|
|
|
export IMAGE_NAME=limbo-config
|
|
|
|
export DOCKER_IMAGE_VERSION=antithesis-latest
|
|
|
|
export DOCKER_BUILD_ARGS="--build-arg antithesis=true"
|
|
|
|
export DOCKERFILE=stress/Dockerfile.antithesis-config
|
|
|
|
export DOCKER_DIR=stress
|
|
|
|
cat turso.key.json | docker login -u _json_key https://$ANTITHESIS_DOCKER_HOST --password-stdin
|
|
|
|
${BASH_SOURCE%/*}/publish-docker.sh
|