提交 38265098 编写于 作者: C changsh726 提交者: Chang Songhong

Docker: added smoke model volume

上级 a9155e4a
......@@ -229,6 +229,14 @@ function mount_other_volumes() {
reuse_or_start_volume "${faster_rcnn_volume}" "${faster_rcnn_image}"
volume_conf="${volume_conf} --volumes-from ${faster_rcnn_volume}"
# SMOKE
if [[ "${TARGET_ARCH}" == "x86_64" ]]; then
local smoke_volume="apollo_smoke_volume_${USER}"
local smoke_image="${DOCKER_REPO}:smoke_volume-yolo_obstacle_detection_model-${TARGET_ARCH}-latest"
reuse_or_start_volume "${smoke_volume}" "${smoke_image}"
volume_conf="${volume_conf} --volumes-from ${smoke_volume}"
fi
OTHER_VOLUME_CONF="${volume_conf}"
}
......
......@@ -454,6 +454,14 @@ function mount_other_volumes() {
docker_restart_volume "${faster_rcnn_volume}" "${faster_rcnn_image}"
volume_conf="${volume_conf} --volumes-from ${faster_rcnn_volume}"
# SMOKE
if [[ "${TARGET_ARCH}" == "x86_64" ]]; then
local smoke_volume="apollo_smoke_volume_${USER}"
local smoke_image="${DOCKER_REPO}:smoke_volume-yolo_obstacle_detection_model-${TARGET_ARCH}-latest"
docker_restart_volume "${smoke_volume}" "${smoke_image}"
volume_conf="${volume_conf} --volumes-from ${smoke_volume}"
fi
OTHER_VOLUMES_CONF="${volume_conf}"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册