Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
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 cd2405ac
authored
Aug 05, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 2-replace-file.sh
1 parent
c79ad402
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
script/seetaas/2-replace-file.sh
script/seetaas/2-replace-file.sh
View file @
cd2405a
...
...
@@ -66,6 +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
`
###################################修改launcher部署的harbor_host模板#######################################
sed -i s#harbor_host#
$harbor_host
#g $workspace/src/kpl-launcher/deploy.sh
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