Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
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
qa-deploy-utils
Commits
e5117d70
Commit
e5117d70
authored
Mar 09, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a0d94373
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
docker_env_name.sh
qa_shell_script/ngrok/docker_env_name.sh
+0
-1
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+6
-6
No files found.
qa_shell_script/ngrok/docker_env_name.sh
View file @
e5117d70
dongmeifeng|192.168.4.78|32093|32093 tower|192.168.4.78|30886|30084 zhangbo|192.168.4.77|31091|32056 wangfei|192.168.4.77|32389|31374 renmingxing|192.168.4.78|30169|32509 songruili|192.168.4.18|32355|30265 yiwei|192.168.4.77|30352|30286 lishuang|192.168.4.77|30011|31185 chenyadong|192.168.4.77|30384|32523 chenxingchun|192.168.4.33|30445|30583 yanxiaoyu|192.168.4.18|32116|30133 cloner|192.168.6.9|32566|32560 c2|192.168.6.8|30492|31481 withdb|192.168.6.9|30321|30896 base|192.168.6.9|31440|32685 dbtest|192.168.6.9|31669|31647 ggggg|192.168.6.9|30451|32069 |192.168.6.9|| kube-system|192.168.6.9|32747|31034 yangchunlian|192.168.4.32|31460|31452
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
e5117d70
...
@@ -6,7 +6,7 @@ config_server="$pwd_path/config_server"
...
@@ -6,7 +6,7 @@ config_server="$pwd_path/config_server"
nginxname
=
"/usr/local/openresty/nginx/conf/conf.d"
nginxname
=
"/usr/local/openresty/nginx/conf/conf.d"
pwd_path_0
=
"/home/qa-deploy-utils"
pwd_path_0
=
"/home/qa-deploy-utils"
dockernamespace
=
`
cat
$pwd_path
/ngrok/docker_env_name.sh
`
# dockernamespace=`cat $pwd_path/ngrok/docker_env_name.sh`
ips
=
`
cat
$config_server
/get_env_ip.sh
`
ips
=
`
cat
$config_server
/get_env_ip.sh
`
rm
-rf
$filename
rm
-rf
$filename
...
@@ -168,11 +168,11 @@ do
...
@@ -168,11 +168,11 @@ do
done
done
_str
=
""
_str
=
""
for
host_name
in
${
dockernamespace
[@]
}
#
for host_name in ${dockernamespace[@]}
do
# do
namespace
=(
${
host_name
//|/
}
)
#
namespace=(${host_name//|/ })
getK8sConditionStr
${
namespace
[0]
}
${
namespace
[1]
}
:
${
namespace
[2]
}
#
getK8sConditionStr ${namespace[0]} ${namespace[1]}:${namespace[2]}
done
#
done
createK8sNginxConf
$nginxname
/k8s.conf
createK8sNginxConf
$nginxname
/k8s.conf
nginx
-s
reload
nginx
-s
reload
...
...
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