Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-docker-entrypoints
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-docker-entrypoints
Commits
69e8069f
Commit
69e8069f
authored
Jun 20, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sed xyqb.com
parent
31c4493c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
run.sh
dev/lua-ui/run.sh
+3
-0
run.sh
dev/nodejs/run.sh
+8
-1
No files found.
dev/lua-ui/run.sh
View file @
69e8069f
...
@@ -36,6 +36,9 @@ source ~/.bash_profile
...
@@ -36,6 +36,9 @@ source ~/.bash_profile
echo
"sed xyqb.com to liangkebang.com"
echo
"sed xyqb.com to liangkebang.com"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$NAMESPACE
.liangkebang.com#g"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$NAMESPACE
.liangkebang.com#g"
echo
"sed xyqb.com to xyqb.com"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.xyqb.com#-
$NAMESPACE
.liangkebang.com#g"
echo
"sed q-gp.com to liangkebang.com"
echo
"sed q-gp.com to liangkebang.com"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.q-gp.com#-
$NAMESPACE
.liangkebang.com#g"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.q-gp.com#-
$NAMESPACE
.liangkebang.com#g"
...
...
dev/nodejs/run.sh
View file @
69e8069f
...
@@ -45,9 +45,16 @@ echo "sed sed xyqb.com to liangkebang.com"
...
@@ -45,9 +45,16 @@ echo "sed sed xyqb.com to liangkebang.com"
namespace
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
namespace
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
echo
"namespace is
$namespace
"
echo
"namespace is
$namespace
"
# find ${package_path}/ -type f -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.liangkebang.com/g
"
echo
"sed domain.com to liangkebang.com
"
find
${
package_path
}
/
-type
f
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$namespace
.liangkebang.com#g"
find
${
package_path
}
/
-type
f
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$namespace
.liangkebang.com#g"
echo
"sed xyqb.com to liangkebang.com"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.xyqb.com#-
$NAMESPACE
.liangkebang.com#g"
echo
"sed q-gp.com to liangkebang.com"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.q-gp.com#-
$NAMESPACE
.liangkebang.com#g"
sed
-i
"s#xterm.js demo#
${
SYSTEM_NAME
}
@
${
namespace
}
#"
/home/qg-xterm/demo/index.html
sed
-i
"s#xterm.js demo#
${
SYSTEM_NAME
}
@
${
namespace
}
#"
/home/qg-xterm/demo/index.html
echo
"rm dist.tgz public/dist -rf"
echo
"rm dist.tgz public/dist -rf"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment