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
50353298
Commit
50353298
authored
Mar 21, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
6bff3b49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
get_project_config_server.js
qa_shell_script/config_server/get_project_config_server.js
+11
-7
No files found.
qa_shell_script/config_server/get_project_config_server.js
View file @
50353298
...
@@ -105,9 +105,10 @@ function getProjectConfigPromise () {
...
@@ -105,9 +105,10 @@ function getProjectConfigPromise () {
hosts
[
"
xyqb-ui--xjd-ui
"
]
=
pro
[
"
host_name
"
];
hosts
[
"
xyqb-ui--xjd-ui
"
]
=
pro
[
"
host_name
"
];
}
else
if
(
pro
[
"
project_name
"
]
==
"
new-paycenter-ui
"
){
}
else
if
(
pro
[
"
project_name
"
]
==
"
new-paycenter-ui
"
){
hosts
[
"
paycenter-ui--new-paycenter-ui
"
]
=
pro
[
"
host_name
"
];
hosts
[
"
paycenter-ui--new-paycenter-ui
"
]
=
pro
[
"
host_name
"
];
}
else
if
(
pro
[
"
project_name
"
]
==
"
new-spider-center-ui
"
){
hosts
[
"
spider-center-ui--new-spider-center-ui
"
]
=
pro
[
"
host_name
"
];
}
}
// else if(pro["project_name"] == "new-spider-center-ui"){
// hosts["spider-center-ui--new-spider-center-ui"] = pro["host_name"];
// }
let
temp
=
{
let
temp
=
{
project_group
:
""
,
project_group
:
""
,
...
@@ -244,17 +245,20 @@ function getfrontendbackend(pros){
...
@@ -244,17 +245,20 @@ function getfrontendbackend(pros){
for
(
let
key
of
keys
){
for
(
let
key
of
keys
){
let
pro
=
pros
[
key
]
let
pro
=
pros
[
key
]
if
(
pro
.
type
==
"
ui
"
){
if
(
pro
.
type
==
"
ui
"
){
if
(
pro
.
name
!=
"
xyqb-ui
"
&&
pro
.
name
!=
"
paycenter-ui
"
&&
pro
.
name
!=
"
spider-center-ui
"
){
// && pro.name != "spider-center-ui"
if
(
pro
.
name
!=
"
xyqb-ui
"
&&
pro
.
name
!=
"
paycenter-ui
"
){
if
(
pro
.
name
==
"
xjd-ui
"
){
if
(
pro
.
name
==
"
xjd-ui
"
){
temp
.
frontend
.
push
(
"
xyqb-ui--xjd-ui
"
);
temp
.
frontend
.
push
(
"
xyqb-ui--xjd-ui
"
);
temp
[
pro
.
type
].
push
(
"
xyqb-ui--xjd-ui
"
)
temp
[
pro
.
type
].
push
(
"
xyqb-ui--xjd-ui
"
)
}
else
if
(
pro
.
name
==
"
new-paycenter-ui
"
){
}
else
if
(
pro
.
name
==
"
new-paycenter-ui
"
){
temp
.
frontend
.
push
(
"
paycenter-ui--new-paycenter-ui
"
);
temp
.
frontend
.
push
(
"
paycenter-ui--new-paycenter-ui
"
);
temp
[
pro
.
type
].
push
(
"
paycenter-ui--new-paycenter-ui
"
)
temp
[
pro
.
type
].
push
(
"
paycenter-ui--new-paycenter-ui
"
)
}
else
if
(
pro
.
name
==
"
new-spider-center-ui
"
){
}
temp
.
frontend
.
push
(
"
spider-center-ui--new-spider-center-ui
"
);
// else if(pro.name == "new-spider-center-ui"){
temp
[
pro
.
type
].
push
(
"
spider-center-ui--new-spider-center-ui
"
)
// temp.frontend.push("spider-center-ui--new-spider-center-ui");
}
else
{
// temp[pro.type].push("spider-center-ui--new-spider-center-ui")
// }
else
{
temp
.
frontend
.
push
(
pro
.
name
);
temp
.
frontend
.
push
(
pro
.
name
);
temp
[
pro
.
type
].
push
(
pro
.
name
)
temp
[
pro
.
type
].
push
(
pro
.
name
)
}
}
...
...
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