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
8a9fda5d
Commit
8a9fda5d
authored
Jan 08, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qa-deploy-utils
parents
c7c876b7
a7b1b134
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
32 deletions
+48
-32
dfas::q
dfas::q
+0
-0
:x
qa_shell_script/base_script/:x
+0
-31
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+1
-1
change_db_config_index_too_large.sh
...ll_script/migrate_ENV/change_db_config_index_too_large.sh
+11
-0
db_index_too_large_notify.sql
qa_shell_script/migrate_ENV/db_index_too_large_notify.sql
+35
-0
update_tables_use_DYNAMIC.sh
qa_shell_script/migrate_ENV/update_tables_use_DYNAMIC.sh
+1
-0
No files found.
dfas::q
deleted
100644 → 0
View file @
c7c876b7
This diff is collapsed.
Click to expand it.
qa_shell_script/base_script/:x
deleted
100644 → 0
View file @
c7c876b7
#!/bin/bash
project_name
=
$1
is_public_ip
=
$2
ip
=
$3
pwd_path
=
"/home/qa-deploy-utils/qa_shell_script"
config_shell_path
=
"
$pwd_path
"
config_server
=
"
$pwd_path
/config_server"
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
if
[
-z
"
$project_name
"
]
;
then
echo
"清输入项目名称"
exit
-1
fi
cd
$project_path
/
$project_name
echo
`
pwd
`
if
[
"
$project_type
"
=
"java"
]
;
then
sh
$pwd_path
/base_script/restartJava.sh
$project_name
$config_server
$project_path
$ip
# restartJavaProject $project_name $3
elif
[
"
$project_type
"
=
"node"
]
;
then
sh
$pwd_path
/base_script/restartNode.sh
$project_name
$config_server
$project_path
$ip
# restartNodeProject $project_name $3
elif
[
"
$project_type
"
=
"python"
]
;
then
sh
$pwd_path
/base_script/restartPython.sh
$project_name
$config_server
$project_path
$ip
# restartPythonProject $project_name $3
elif
[
"
$project_type
"
=
"ui"
]
;
then
sh
$pwd_path
/base_script/restartUi.sh
$project_name
$config_server
$project_path
$ip
# restartUiProject $project_name $3
fi
qa_shell_script/config_server/get_project_config.js
View file @
8a9fda5d
...
...
@@ -225,7 +225,7 @@ new pClass().init(1,true, "ui", "7084", "gdxd-op-ui", "ui", null, "src/config/en
new
pClass
().
init
(
1
,
true
,
"
ui
"
,
"
7080
"
,
"
new-mall-ui
"
,
"
ui
"
,
null
,
"
src/app/config/env.config.js
"
,
"
npm run qa
"
,
"
node7
"
,
"
微信商城-ui
"
,
"
郑少文,周珊
"
,
""
,
""
);
new
pClass
().
init
(
2
,
true
,
"
ui
"
,
"
7094
"
,
"
cuishou_external
"
,
"
data
"
,
null
,
"
app/config/production.config.js
"
,
"
npm run build
"
,
"
node7
"
,
"
催收对外平台-ui
"
,
"
李斌
"
,
""
,
""
);
new
pClass
().
init
(
1
,
true
,
"
ui
"
,
"
7095
"
,
"
fund-operate-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run qa
"
,
"
node7
"
,
"
资金运营系统-ui
"
,
"
徐胜男
"
,
""
,
""
);
new
pClass
().
init
(
1
,
true
,
"
ui
"
,
"
9050
"
,
"
pinjamancepat-credit-review-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run
build
"
,
""
,
"
mimi
"
,
""
,
""
,
""
);
new
pClass
().
init
(
1
,
true
,
"
ui
"
,
"
9050
"
,
"
pinjamancepat-credit-review-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run
qa
"
,
""
,
"
mimi
"
,
""
,
""
,
""
);
new
pClass
().
init
(
1
,
true
,
"
ui
"
,
"
9051
"
,
"
pinjamancepat-collection-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
grunt build
"
,
""
,
"
mimi
"
,
""
,
""
,
""
);
// node
...
...
qa_shell_script/migrate_ENV/change_db_config_index_too_large.sh
0 → 100644
View file @
8a9fda5d
mysql
-uqa
-pqatest
-e
"set global innodb_large_prefix = ON;"
mysql
-uqa
-pqatest
-e
"set global innodb_file_format = BARRACUDA;"
sed
-i
"/innodb_file_format/d"
/home/quant_group/mysql-5.6.31/my.cnf
sed
-i
"/innodb_file_per_table/d"
/home/quant_group/mysql-5.6.31/my.cnf
sed
-i
"/innodb_large_prefix/d"
/home/quant_group/mysql-5.6.31/my.cnf
echo
"innodb_file_format=barracuda"
>>
/home/quant_group/mysql-5.6.31/my.cnf
echo
"innodb_file_per_table=true"
>>
/home/quant_group/mysql-5.6.31/my.cnf
echo
"innodb_large_prefix=true"
>>
/home/quant_group/mysql-5.6.31/my.cnf
qa_shell_script/migrate_ENV/db_index_too_large_notify.sql
0 → 100644
View file @
8a9fda5d
use
notify
;
/*drop table if exists JOB_STATUS_TRACE_LOG;
CREATE TABLE `JOB_STATUS_TRACE_LOG` (
`id` varchar(40) NOT NULL,
`job_name` varchar(100) NOT NULL,
`original_task_id` varchar(255) NOT NULL,
`task_id` varchar(255) NOT NULL,
`slave_id` varchar(50) NOT NULL,
`source` varchar(50) NOT NULL,
`execution_type` varchar(20) NOT NULL,
`sharding_item` varchar(100) NOT NULL,
`state` varchar(20) NOT NULL,
`message` varchar(4000) DEFAULT NULL,
`creation_time` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `TASK_ID_STATE_INDEX` (`task_id`,`state`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
*/
drop
table
if
exists
notify_msg_log
;
CREATE
TABLE
IF
NOT
EXISTS
`notify_msg_log`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`notify_msg_id`
bigint
(
20
)
NOT
NULL
,
`merchant_id`
varchar
(
20
)
NOT
NULL
,
`notify_order_no`
varchar
(
256
)
NOT
NULL
,
`response`
text
,
`http_status`
int
(
10
)
DEFAULT
'0'
,
`created_at`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
,
`updated_at`
timestamp
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_notify_order_no`
(
`notify_order_no`
),
KEY
`idx_notify_msg_id`
(
`notify_msg_id`
),
KEY
`idx_created_at`
(
`created_at`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4605455
DEFAULT
CHARSET
=
utf8mb4
ROW_FORMAT
=
DYNAMIC
;
qa_shell_script/migrate_ENV/update_tables_use_DYNAMIC.sh
0 → 100644
View file @
8a9fda5d
mysql
-uqa
-pqatest
< /home/qa-deploy-utils/qa_shell_script/migrate_ENV/db_index_too_large_notify.sql
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