Commit e7169dad by tingweiwang

添加custom_source变量

1 parent 27919c29
Showing with 2 additions and 2 deletions
...@@ -10,6 +10,7 @@ autodl_file=http://PUBLIC_IP:30093 #30093 ...@@ -10,6 +10,7 @@ autodl_file=http://PUBLIC_IP:30093 #30093
autodl_admin_backend=http://PUBLIC_IP:30092 # 30092 autodl_admin_backend=http://PUBLIC_IP:30092 # 30092
deploy_is_private=true # true代表私有部署 deploy_is_private=true # true代表私有部署
autodl_admin_back_socket=ws://PUBLIC_IP:30092 # 30092 autodl_admin_back_socket=ws://PUBLIC_IP:30092 # 30092
custom_source= #智源项目改成zhiyuan,其他为空。
###############其他依赖服务变量信息######################################### ###############其他依赖服务变量信息#########################################
autodl_es=http://INTRANET_IP:9200 autodl_es=http://INTRANET_IP:9200
mysql_host=INTRANET_IP:3306 mysql_host=INTRANET_IP:3306
...@@ -45,8 +46,7 @@ sudo sed -i s#autodl_back_socket#$autodl_back_socket#g `find $workspace -type f ...@@ -45,8 +46,7 @@ sudo sed -i s#autodl_back_socket#$autodl_back_socket#g `find $workspace -type f
sudo sed -i s#autodl_file#$autodl_file#g `find $workspace -type f -name production-base.js` sudo sed -i s#autodl_file#$autodl_file#g `find $workspace -type f -name production-base.js`
sudo sed -i s#autodl_admin_backend#$autodl_admin_backend#g `find $workspace -type f -name production-base.js` sudo sed -i s#autodl_admin_backend#$autodl_admin_backend#g `find $workspace -type f -name production-base.js`
sudo sed -i s#autodl_admin_back_socket#$autodl_admin_back_socket#g `find $workspace -type f -name production-base.js` sudo sed -i s#autodl_admin_back_socket#$autodl_admin_back_socket#g `find $workspace -type f -name production-base.js`
sudo sed -i s#custom_source#$custom_source#g `find $workspace -type f -name production-base.js`
##################################修改Dockerfile####################################################### ##################################修改Dockerfile#######################################################
sed -i s#hb.seetatech.com/k8s/ubuntu-basic:16.04#$harbor_host/k8s/ubuntu-basic:16.04#g `find $workspace -maxdepth 5 -name Dockerfile -type f` sed -i s#hb.seetatech.com/k8s/ubuntu-basic:16.04#$harbor_host/k8s/ubuntu-basic:16.04#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s#hb.seetatech.com/k8s/image-proxy:v0.9.0#$harbor_host/k8s/image-proxy:v0.9.0#g `find $workspace -maxdepth 5 -name Dockerfile -type f` sed -i s#hb.seetatech.com/k8s/image-proxy:v0.9.0#$harbor_host/k8s/image-proxy:v0.9.0#g `find $workspace -maxdepth 5 -name Dockerfile -type f`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!