Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
kpl-launcher
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf1cd0ba
authored
Nov 10, 2020
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化为相对路径
1 parent
991d7e52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
deploy.sh
deploy.sh
View file @
cf1cd0b
...
@@ -21,7 +21,7 @@ sed -i s@IMAGE_NAME@$IMAGE_NAME@g /tmp/deployment-$date.yaml
...
@@ -21,7 +21,7 @@ sed -i s@IMAGE_NAME@$IMAGE_NAME@g /tmp/deployment-$date.yaml
####################################################################
####################################################################
private_sed_image_name
()
{
private_sed_image_name
()
{
cp -a k8s_yaml/volcano/volcano-development.yaml /tmp/volcano-development-
$date
.yaml
#拷贝到临时目录,sed不修改模板文件。这样就避免了sed修改出错的问题,不需要在recover sed
cp -a k8s_yaml/volcano/volcano-development.yaml /tmp/volcano-development-
$date
.yaml
#拷贝到临时目录,sed不修改模板文件。这样就避免了sed修改出错的问题,不需要在recover sed
cp -a k8s_yaml/kpl-launcher/deployment.yaml /tmp/deployment-
$date
.yaml
·
cp -a k8s_yaml/kpl-launcher/deployment.yaml /tmp/deployment-
$date
.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@harbor_host/k8s/vc-scheduler:latest@g /tmp/volcano-development-
$date
.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@harbor_host/k8s/vc-scheduler:latest@g /tmp/volcano-development-
$date
.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@harbor_host/k8s/vc-webhook-manager:latest@g /tmp/volcano-development-
$date
.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@harbor_host/k8s/vc-webhook-manager:latest@g /tmp/volcano-development-
$date
.yaml
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment