未验证 提交 b55471a5 编写于 作者: A Anastasia Yasakova 提交者: GitHub

Remove default containers rebuild when running REST API tests (#5989)

上级 57b87664
......@@ -260,7 +260,8 @@ def get_server_image_tag():
def docker_compose(dc_files, cvat_root_dir):
return [
"docker-compose",
"docker",
"compose",
f"--project-name={PREFIX}",
# use compatibility mode to have fixed names for containers (with underscores)
# https://github.com/docker/compose#about-update-and-backward-compatibility
......@@ -277,7 +278,6 @@ def start_services(dc_files, rebuild=False, cvat_root_dir=CVAT_ROOT_DIR):
f"List of running containers: {', '.join(running_containers())}"
)
_run(docker_compose(dc_files, cvat_root_dir) + ["build"], capture_output=False)
_run(
docker_compose(dc_files, cvat_root_dir) + ["up", "-d", *["--build"] * rebuild],
capture_output=False,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册