Skip to content

Commit 56870c3

Browse files
committed
toolset: Fix the --force-rm option
Signed-off-by: Anton Kirilov <[email protected]>
1 parent fe1810b commit 56870c3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
# run-ci.py runs the diffing to see if github actions needs to test this framework. Ideally/eventually,
156156
# we'd like to try and do the diffing before github_actions_clean & setup.
157157
# This will run the tests exactly as you would in your own vm:
158-
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;
158+
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;
159159
dependabot:
160160
needs: verify
161161
runs-on: ubuntu-latest

toolset/continuous/tfb-startup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ docker run \
4747
--results-environment "$TFB_ENVIRONMENT" \
4848
--results-upload-uri "$TFB_UPLOAD_URI" \
4949
$(if [ "$TFB_RUN_ORDER" = "reverse" ]; then echo "--reverse-order"; fi) \
50+
--force-rm \
5051
--quiet
5152

5253
echo "zipping the results"

toolset/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def main(argv=None):
210210
help='Extra docker arguments to be passed to the test container')
211211
parser.add_argument(
212212
'--force-rm',
213-
default=False,
213+
action='store_true',
214214
help='Remove intermediate docker containers after running.')
215215

216216
# Network options

0 commit comments

Comments
 (0)