Commit 0aa4ef85 by tingweiwang

Update 2-replace-file.sh

1 parent cd2405ac
Showing with 1 additions and 1 deletions
......@@ -66,7 +66,7 @@ sed -i s#hub.kce.ksyun.com/kpl_k8s/ubuntu-basic:16.04#$harbor_host/k8s/ubuntu-ba
sed -i s#hub.kce.ksyun.com/kpl_k8s/image-proxy:v0.9.2#$harbor_host/k8s/image-proxy:v0.9.2#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s#hub.kce.ksyun.com/kpl_k8s/nginx:latest#$harbor_host/k8s/nginx#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s#hub.kce.ksyun.com/kpl_k8s/cuda:10.0-base-ubuntu16.04#$harbor_host/k8s/cuda:10.0-base-ubuntu16.04#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s#hub.kce.ksyun.com/kpl_k8s/core_gpu_base:cuda-10.0-base-neuware-mlu270-1.3.0-ubuntu18.04#$harbor_host/k8s/hub.kce.ksyun.com/kpl_k8s/core_gpu_base:cuda-10.0-base-neuware-mlu270-1.3.0-ubuntu18.04#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s#hub.kce.ksyun.com/kpl_k8s/core_gpu_base:cuda-10.0-base-neuware-mlu270-1.3.0-ubuntu18.04#$harbor_host/k8s/core_gpu_base:cuda-10.0-base-neuware-mlu270-1.3.0-ubuntu18.04#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
###################################修改launcher部署的harbor_host模板#######################################
sed -i s#harbor_host#$harbor_host#g $workspace/src/kpl-launcher/deploy.sh
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!