|
@@ -219,9 +219,6 @@ def stop(benchmarker_config=None,
|
|
container.image.tags
|
|
container.image.tags
|
|
) > 0 and 'techempower' in container.image.tags[0] and 'tfb:latest' not in container.image.tags[0]:
|
|
) > 0 and 'techempower' in container.image.tags[0] and 'tfb:latest' not in container.image.tags[0]:
|
|
container.stop()
|
|
container.stop()
|
|
- # 'techempower/tfb.test.gemini:0.1' -> 'techempower/tfb.test.gemini'
|
|
|
|
- client.images.remove(
|
|
|
|
- container.image.tags[0].split(':')[0], force=True)
|
|
|
|
else:
|
|
else:
|
|
# Stop all our running containers
|
|
# Stop all our running containers
|
|
for container in containers:
|
|
for container in containers:
|
|
@@ -236,12 +233,14 @@ def stop(benchmarker_config=None,
|
|
container.image.tags
|
|
container.image.tags
|
|
) > 0 and 'techempower' in container.image.tags[0] and 'tfb:latest' not in container.image.tags[0]:
|
|
) > 0 and 'techempower' in container.image.tags[0] and 'tfb:latest' not in container.image.tags[0]:
|
|
container.stop()
|
|
container.stop()
|
|
- # 'techempower/tfb.test.gemini:0.1' -> 'techempower/tfb.test.gemini'
|
|
|
|
- client.images.remove(
|
|
|
|
- container.image.tags[0].split(':')[0], force=True)
|
|
|
|
else:
|
|
else:
|
|
database_container.stop()
|
|
database_container.stop()
|
|
|
|
|
|
|
|
+ client.containers.prune()
|
|
|
|
+
|
|
|
|
+ if benchmarker_config.server_docker_host != benchmarker_config.database_docker_host:
|
|
|
|
+ database_client.containers.prune()
|
|
|
|
+
|
|
|
|
|
|
def find(path, pattern):
|
|
def find(path, pattern):
|
|
'''
|
|
'''
|