Commit 2dd824ca by tingweiwang

Update deploy.sh

1 parent 367f9b00
Showing with 4 additions and 4 deletions
......@@ -22,10 +22,10 @@ sed -i s@$IMAGE_NAME@IMAGE_NAME@g k8s_yaml/kpl-launcher/deployment.yaml
}
####################################################################
private_sed_image_name() {
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@$harbor_host/k8s/vc-scheduler:latest@g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@$harbor_host/k8s/vc-webhook-manager:latest@g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-controller-manager:latest@$harbor_host/k8s/vc-controller-manager:latest@g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s@IMAGE_NAME@$harbor_host/k8s/PRI_IMAGE_NAME@g `find $workspace -maxdepth 5 -name Dockerfile -type f`
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@harbor_host/k8s/vc-scheduler:latest@g $workspace/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@harbor_host/k8s/vc-webhook-manager:latest@g $workspace/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-controller-manager:latest@harbor_host/k8s/vc-controller-manager:latest@g $workspace/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@IMAGE_NAME@harbor_host/k8s/PRI_IMAGE_NAME@g $workspace/src/kpl-launcher/k8s_yaml/kpl-launcher/deployment.yaml
}
######################################################################
delete_server () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!