Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
# run-ci.py runs the diffing to see if github actions needs to test this framework. Ideally/eventually,
# we'd like to try and do the diffing before github_actions_clean & setup.
# This will run the tests exactly as you would in your own vm:
docker network create tfb > /dev/null 2>&1 && docker run --network=tfb -e USER_ID=$(id -u) -e CI=true -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=`pwd`,target=/FrameworkBenchmarks techempower/tfb --mode verify --test-dir $RUN_TESTS --results-environment Github-Actions;
docker network create tfb > /dev/null 2>&1 && docker run --network=tfb -e USER_ID=$(id -u) -e CI=true -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=`pwd`,target=/FrameworkBenchmarks techempower/tfb --mode verify --force-rm --test-dir $RUN_TESTS --results-environment Github-Actions;
dependabot:
needs: verify
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions toolset/continuous/tfb-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ docker run \
--results-environment "$TFB_ENVIRONMENT" \
--results-upload-uri "$TFB_UPLOAD_URI" \
$(if [ "$TFB_RUN_ORDER" = "reverse" ]; then echo "--reverse-order"; fi) \
--force-rm \
--quiet

echo "zipping the results"
Expand Down
2 changes: 1 addition & 1 deletion toolset/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def main(argv=None):
help='Extra docker arguments to be passed to the test container')
parser.add_argument(
'--force-rm',
default=False,
action='store_true',
help='Remove intermediate docker containers after running.')

# Network options
Expand Down
14 changes: 2 additions & 12 deletions toolset/wrk/wrk.dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
FROM ubuntu:24.04

# Required scripts for benchmarking
COPY concurrency.sh pipeline.lua pipeline.sh query.sh ./

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get install --no-install-recommends -qqUy curl wrk > /dev/null

# Environment vars required by the wrk scripts with nonsense defaults
ENV accept=accept \
duration=duration \
levels=levels \
max_concurrency=max_concurrency \
max_threads=max_threads \
name=name \
pipeline=pipeline \
server_host=server_host
# Required scripts for benchmarking
COPY concurrency.sh pipeline.lua pipeline.sh query.sh ./
Loading