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
4ac8aa50
Commit
4ac8aa50
authored
May 27, 2022
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
写死holmes host
parent
61facd73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
java.sh
tke/java.sh
+2
-0
No files found.
tke/java.sh
View file @
4ac8aa50
...
...
@@ -26,6 +26,8 @@ echo 10.2.13.143 pay-service-test.tjzimu.com >> /etc/hosts
echo
10.2.13.143 talos-test.tjzimu.com
>>
/etc/hosts
echo
10.2.13.143 api-test.tjzimu.com
>>
/etc/hosts
echo
10.2.13.143 finance-feature-box-test.tjzimu.com
>>
/etc/hosts
# for holmes
echo
172.29.1.12 holmes.liangkebang.com
>>
/etc/hosts
# dubboPort=`curl -s -m 5 curl 'http://qaapi.liangkebang.com/k8s/service/details' -H 'cluster: qa' -H 'content-type: application/json;charset=UTF-8' --data-binary "{\"serviceName\":\"${SYSTEM_NAME}\",\"namespace\":\"${NAMESPACE}\",\"type\":\"java\",\"key\":\"port_20880\"}"`
dubboPort
=
`
curl
-s
-m
5
"http://holmes.liangkebang.com/k8s/dubbo/port?namespace=
$NAMESPACE
&serviceType=java&serviceName=
${
SYSTEM_NAME
}
&key=port_20880"
`
...
...
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