Taddes 408a23fee8
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
Build, Tag and Push Container Images to GAR Repository / build-and-push-syncstorage-rs (push) Has been cancelled
Build, Tag and Push Container Images to GAR Repository / build-and-push-syncserver-postgres (push) Has been cancelled
Build, Tag and Push Container Images to GAR Repository / build-and-push-syncstorage-rs-spanner-python-utils (push) Has been cancelled
Build, Tag and Push Container Images to GAR Repository / build-and-push-syncserver-postgres-python-utils (push) Has been cancelled
Build, Tag and Push Container Images to GAR Repository / build-and-push-syncserver-mysql (push) Has been cancelled
MySQL Build and Test / build-and-test-mysql (push) Has been cancelled
MySQL Build and Test / build-mysql-image (push) Has been cancelled
MySQL Build and Test / mysql-e2e-tests (push) Has been cancelled
Postgres Build and Test / build-and-test-postgres (push) Has been cancelled
Postgres Build and Test / build-postgres-image (push) Has been cancelled
Postgres Build and Test / postgres-e2e-tests (push) Has been cancelled
Publish Sync docs to pages / build-mdbook (push) Has been cancelled
Publish Sync docs to pages / build-openapi (push) Has been cancelled
Publish Sync docs to pages / combine-and-prepare (push) Has been cancelled
Publish Sync docs to pages / deploy (push) Has been cancelled
Spanner Build, Test, and Push / build-and-test-spanner (push) Has been cancelled
Spanner Build, Test, and Push / build-spanner-image (push) Has been cancelled
Spanner Build, Test, and Push / spanner-e2e-tests (push) Has been cancelled
test: molotov sync loadtests (#2052)
test: molotov sync loadtests
2026-02-18 15:05:12 -05:00

37 lines
984 B
Docker

# SyncStorage-LoadTest
FROM python:3.10-slim
RUN mkdir -p /app
ADD . /app
WORKDIR /app
# Building:
# you can build a local docker image using
# `docker build . --tag syncstorage-loadtest:local`
# system setup
RUN \
BUILD_DEPS="git build-essential" && \
# wget not required but nice to have
RUN_DEPS="wget libssl-dev" && \
apt-get update && \
apt-get install -yq --no-install-recommends ${BUILD_DEPS} ${RUN_DEPS} && \
pip install --no-cache-dir poetry && \
apt-get purge -yq --auto-remove ${BUILD_DEPS} && \
apt-get autoremove -yqq && \
apt-get clean -y
# app install
RUN poetry config virtualenvs.create false && \
poetry install --no-dev --no-interaction --no-ansi
# Using:
# Start an interactive terminal using
# `docker run --net=host -it syncstorage-loadtest:local`
# This will start a bash shell as root.
# You can fire off a load test by calling:
# `SERVER_URL=http://${HOST}:${PORT}#${SECRET} molotov -v`
ENTRYPOINT ["/bin/bash"]