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
759d806f
Commit
759d806f
authored
Aug 06, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试ui日志
parent
53346d76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
ui.sh
tke/ui.sh
+7
-14
No files found.
tke/ui.sh
View file @
759d806f
...
@@ -4,8 +4,6 @@ echo "start run ui"
...
@@ -4,8 +4,6 @@ echo "start run ui"
current
=
"/home/quant_group"
current
=
"/home/quant_group"
echo
"current:
${
current
}
"
echo
"current:
${
current
}
"
export
NAMESPACE
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
echo
"NAMESPACE is
$NAMESPACE
"
echo
"NAMESPACE is
$NAMESPACE
"
# 运行qa工具
# 运行qa工具
...
@@ -28,25 +26,20 @@ do
...
@@ -28,25 +26,20 @@ do
echo
"tar zxf
${
current
}
/
$with_ext
-C
${
current
}
/
$fname
"
echo
"tar zxf
${
current
}
/
$with_ext
-C
${
current
}
/
$fname
"
tar
zxf
${
current
}
/
$with_ext
-C
${
current
}
/
$fname
tar
zxf
${
current
}
/
$with_ext
-C
${
current
}
/
$fname
# echo "rm -rf ${package_path}/$with_ext"
# rm -rf ${package_path}/$with_ext
done
done
curl
-sSL
http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace.py
-o
replace.py
curl
-sSL
http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace.py
-o
replace.py
curl
-sSL
http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace_config_tke.yaml
-o
replace_config.yaml
curl
-sSL
http://git.quantgroup.cn/QA/config_repository/raw/master/yaml/replace_config_tke.yaml
-o
replace_config.yaml
python replace.py
$host
;
python replace.py
$host
;
if
[[
$NAMESPACE
==
'cube'
||
$NAMESPACE
==
'fe'
]]
;
then
logdir
=
"/home/logs/
${
HOSTNAME
}
"
logdir
=
"/home/logs/
${
HOSTNAME
}
"
nginxLogDir
=
"/usr/local/openresty/nginx/logs"
nginxLogDir
=
"/usr/local/openresty/nginx/logs"
mkdir
-p
"
${
logdir
}
"
mkdir
-p
"
${
logdir
}
"
echo
"创建日志目录:
$logdir
"
echo
"创建日志目录:
$logdir
"
rm
-rf
"
${
nginxLogDir
}
"
ln
-s
"
${
logdir
}
"
"
${
nginxLogDir
}
"
fi
rm
-rf
"
${
nginxLogDir
}
"
ln
-s
"
${
logdir
}
"
"
${
nginxLogDir
}
"
echo
"/usr/bin/openresty -g 'daemon off;'"
echo
"/usr/bin/openresty -g 'daemon off;'"
...
...
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