Commit Graph

337 Commits

Author SHA1 Message Date
zhoujunhao
9e12157285 [ADD] add worker health check 2018-07-10 17:27:50 +08:00
zhoujunhao
97639eacc9 [FIX] fix bug 2018-07-10 16:10:13 +08:00
zhoujunhao
b833e816b3 [ADD] add healthcheck 2018-07-10 14:36:36 +08:00
Zhang Jiajun
fb6ea37eee [REV] Make worker and chaos support graceful exit. 2018-07-06 16:55:10 +08:00
Zhang Jiajun
2cb826f804 [FIX] Fix nil point panic when build app from source code. 2018-07-05 20:35:13 +08:00
zhoujunhao
257c98e782 [FIX] fix pull code bug 2018-07-05 15:33:58 +08:00
zhoujunhao
bab133f263 [FMT] normalize code and remove useless prints 2018-07-05 13:04:08 +08:00
zhoujunhao
9227f8faed [REV] optimization implementation 2018-07-05 12:47:23 +08:00
zhoujunhao
c30483a085 [FIX] fix bug 2018-07-05 11:57:21 +08:00
zhoujunhao
e869e84a65 [REV] optimization function 2018-07-05 11:09:18 +08:00
zhoujunhao
63c818b722 [FMT] remove the extra code 2018-07-04 17:27:30 +08:00
zhoujunhao
ff77d14640 [ADD] add generate different keys for each user 2018-07-04 16:43:55 +08:00
zhoujunhao
68404bd836 [FIX] fix bug 2018-07-04 16:08:55 +08:00
zhoujunhao
25ce31a109 [ADD] add Clean up pods resource 2018-07-04 15:49:32 +08:00
Zhang Jiajun
57947dffb4 [FIX] Fix first install application filed from resource code. 2018-07-02 18:38:27 +08:00
barnettZQG
2c07be92a7 [FIX] fix volume restore bug if volume is empty. 2018-07-02 13:50:15 +08:00
barnettZQG
c2ebf41614 [FIX] fix down slug file bug if grou ip change 2018-06-29 18:29:37 +08:00
barnettZQG
7dd038b3ea [REV] print slug down error log 2018-06-29 17:48:44 +08:00
barnettZQG
c9380f2740 [FIX] fix restore app data bug, if have same volume parent dir 2018-06-29 17:40:19 +08:00
barnettZQG
08ebb30f64 [FIX] fix rbdfileConfig nil bug 2018-06-26 15:18:52 +08:00
barnettZQG
f0513ce745 Merge branch 'master' into V3.6 2018-06-26 13:33:29 +08:00
barnettZQG
e1bfac2912 [FIX] fix plugin image name overlength bug 2018-06-25 19:32:00 +08:00
barnettZQG
c102a45cb9 [ADD] rainbondfile support env and port define 2018-06-23 21:08:39 +08:00
barnettZQG
9dc11a7476 Merge branch 'master' into V3.6 2018-06-21 22:31:37 +08:00
barnettZQG
2ff0813819 [FIX] fix build plugin by market bug 2018-06-21 18:04:02 +08:00
Zhang Jiajun
ef4648baba [REV] Fix can not multi line env for parse dockerfile. 2018-06-21 14:42:13 +08:00
barnettZQG
f11e960686 [FIX] fix share plugin bug 2018-06-14 14:37:53 +08:00
Zhang Jiajun
8551db6ed9 [REV] Fix trim space for export app source dir name. 2018-06-13 19:19:07 +08:00
zhoujunhao
cd16997ea5 [DEL] delete test print 2018-06-11 13:28:15 +08:00
zhoujunhao
af816d611a [REV] optimization code 2018-06-11 12:14:23 +08:00
zhoujunhao
f5aa0ac7ae [ADD] add test code 2018-06-11 11:22:52 +08:00
zhoujunhao
3dd710ae49 [ADD] add record print information 2018-06-11 11:16:43 +08:00
barnettZQG
1a7c85761c [ADD] merge 3.6-dev code 2018-06-11 10:00:55 +08:00
barnettZQG
18377bc287 [FIX] update code 2018-06-11 09:59:52 +08:00
Zhang Jiajun
80bb9dd115 [REV] Copy slug file to local directory if the ftp server is not exist. 2018-06-10 20:29:44 +08:00
Zhang Jiajun
f2fd4fdc7e [REV] Change image and slug file recognition methods for export app. 2018-06-10 19:36:30 +08:00
Zhang Jiajun
ff04e56174 [REV] Change image and slug file recognition methods for export app. 2018-06-10 19:23:58 +08:00
Zhang Jiajun
5a48eb4151 [REV] Change image and slug file recognition methods for export app. 2018-06-10 19:08:01 +08:00
Zhang Jiajun
9262e88850 [REV] Change image resource for push image for import app. 2018-06-10 18:23:24 +08:00
barnettZQG
8910272694 [FIX] remove restore plugin relation. plugin backup is todo. 2018-06-09 19:07:10 +08:00
zhoujunhao
73c1b45fdb Merge branch 'V3.6' of https://github.com/goodrain/rainbond into 3.6-dev 2018-06-08 23:26:00 +08:00
zhoujunhao
915daaaab3 [ADD] add test code 2018-06-08 23:25:21 +08:00
zhoujunhao
1ff7cba0bd [ADD] add test code 2018-06-08 22:59:18 +08:00
zhoujunhao
ab92750774 [ADD] add clean data 2018-06-08 22:43:37 +08:00
Zhang Jiajun
cee7b80554 [REV] Change image resource for save image for export app. 2018-06-08 17:37:57 +08:00
zhoujunhao
a7ded8f39c [ADD] add test code 2018-06-08 17:36:33 +08:00
zhoujunhao
17d13ae889 [ADD] add test code 2018-06-08 17:25:08 +08:00
zhoujunhao
eccd07f9eb [ADD] add test code 2018-06-08 16:49:49 +08:00
zhoujunhao
f8db60f81a [ADD] add test code 2018-06-08 16:24:04 +08:00
zhoujunhao
e71a979928 [ADD] add test code 2018-06-08 16:17:10 +08:00
zhoujunhao
de4858a933 [ADD] add test code 2018-06-08 16:10:28 +08:00
zhoujunhao
692e494d4e test 2018-06-08 14:49:37 +08:00
zhoujunhao
f348c60a8e test 2018-06-08 14:44:27 +08:00
zhoujunhao
164231215d Merge branch 'V3.6' of https://github.com/goodrain/rainbond into 3.6-dev 2018-06-08 14:20:37 +08:00
zhoujunhao
63894d6d8f test 2018-06-08 14:14:17 +08:00
zhoujunhao
855e0b4b9b test 2018-06-08 14:01:50 +08:00
zhoujunhao
80724436b7 test 2018-06-08 13:51:56 +08:00
barnettZQG
6f31c04351 [REV] default change tanant id in restore 2018-06-08 12:59:30 +08:00
zhoujunhao
bb1fee8956 test 2018-06-08 12:02:07 +08:00
zhoujunhao
1cfe19749a test 2018-06-08 11:51:50 +08:00
zhoujunhao
a8484f6365 test 2018-06-07 16:43:10 +08:00
Zhang Jiajun
b3751eb8a0 [REV] Add check logic for create etcd client in cahos project. 2018-06-07 14:27:03 +08:00
barnettZQG
f8f28eec51 [FIX] fix restore bug 2018-06-04 15:42:05 +08:00
barnettZQG
78b363eb06 [FIX] fix restore bug. 2018-06-04 15:18:33 +08:00
barnettZQG
30454ded8b [REV] update share plugin code impl 2018-05-31 18:23:27 +08:00
barnettZQG
3611c1c991 [REV] update code for restore volume 2018-05-30 15:59:34 +08:00
barnettZQG
64f46bf9a5 [REV] change find next level dir method 2018-05-30 15:21:55 +08:00
barnettZQG
60f782dcac [FIX] fix same plugin version not save deploy version bug 2018-05-30 14:41:27 +08:00
barnettZQG
71225c7cdb [FIX] fix build plugin deploy version error bug. 2018-05-30 14:13:22 +08:00
barnettZQG
8bdf6d9e1f [REV] handle statefulset app volume when restore.(#72) 2018-05-30 10:49:17 +08:00
barnettZQG
7a1a496c6e [REV] Merge branch 2018-05-29 12:52:22 +08:00
barnettZQG
6d810cd810 [ADD] add plugin share code (#74) 2018-05-29 12:51:10 +08:00
Zhang Jiajun
99f503d9ea [REV] Save apps metadata to file when import app complete. 2018-05-28 21:55:58 +08:00
barnettZQG
1e5f063f98 [REV] update code 2018-05-28 19:37:04 +08:00
barnettZQG
593ef32227 [REV] update json code 2018-05-28 18:21:38 +08:00
barnettZQG
dd7df0ed3c [REV] handle docker push&pull&build json message (#73) 2018-05-28 18:19:30 +08:00
barnett
a6f1d298f3 [REV] update move dir code 2018-05-28 13:44:50 +08:00
barnett
781f9a5b52 [REV] modify volume host path when restore backup 2018-05-28 12:36:41 +08:00
barnett
1f70fe5f30 [ADD] add clear impl when restore failure 2018-05-28 12:18:29 +08:00
barnett
3cef364204 [ADD] add restore backup api impl (#72) 2018-05-28 11:14:56 +08:00
barnett
43bd88546c [ADD] add restore backup feature code (#72) 2018-05-25 18:24:17 +08:00
barnett
2d453cba42 [REV] fix backup file size 0 bug 2018-05-24 14:11:17 +08:00
barnett
8385c05842 [REV] change ftp namespace name 2018-05-24 12:00:34 +08:00
barnett
ed6b0cffbd [FIX] fix md5 check bug when push file to sftp 2018-05-24 11:42:17 +08:00
barnett
370ba2d745 [FIX] fix push backup file to sftp error 2018-05-24 11:25:04 +08:00
Zhang Jiajun
6121a07a32 [REV] reanme file for import application file if successed. 2018-05-24 10:34:14 +08:00
Zhang Jiajun
38898ebe38 [REV] Unzip to new tmp directory for import app. 2018-05-24 09:51:09 +08:00
barnett
19687cd99f [REV] merge code 2018-05-23 16:55:23 +08:00
barnett
31ec69bf3b [ADD] add restore backup api 2018-05-23 16:43:16 +08:00
Zhang Jiajun
c79cafe3d1 [REV] Support compression file export and import applications. 2018-05-23 16:11:34 +08:00
Zhang Jiajun
840893add9 [REV] Optimize for import multiple applications. 2018-05-23 15:53:12 +08:00
Zhang Jiajun
9fd61b7c60 [REV] Support status for each app for import multiple apps. 2018-05-23 14:26:27 +08:00
barnett
b040b35436 [REV] if recover panic call ErrorCallBack method 2018-05-23 12:52:37 +08:00
barnett
74b7448e64 [REV] remove backup cache file when backup success 2018-05-23 12:38:23 +08:00
barnett
d15da40683 [REV] update some code for backup app feature 2018-05-23 12:17:34 +08:00
barnett
5e80a0c71e [REV] merge code 2018-05-23 11:13:19 +08:00
barnett
8cd2dc9697 [ADD] add group app backup feature (#72) 2018-05-23 11:08:44 +08:00
Zhang Jiajun
cd0bfe7e7c [ADD] Add restful api to import ids for import multiple applications. 2018-05-22 12:33:26 +08:00
Zhang Jiajun
4f2e774db1 [REV] return multiple json object for import multiple applications. 2018-05-21 22:10:49 +08:00
Zhang Jiajun
ea3bca6906 [REV] Modify db api return type for get app status by id. 2018-05-21 18:37:35 +08:00
Zhang Jiajun
ccf8df9f1d [REV] Support batch import applications. 2018-05-21 18:21:42 +08:00
barnett
00e195d124 [REV] update websocket proxy impl 2018-05-19 23:26:44 +08:00
barnett
9f884a6cc3 [REV] identify default redis port protocol 2018-05-18 11:06:25 +08:00
barnett
31a743cbc1 [REV] merge branch master 2018-05-18 11:02:43 +08:00
Zhang Jiajun
163c33360a [REV] Implement interfalce for import application struct. 2018-05-17 19:04:48 +08:00
Zhang Jiajun
bb4fa6eedd [REV] Add new struct for import application, and modify database fields type to text for export/import application. 2018-05-17 16:10:44 +08:00
Zhang Jiajun
8b7489c447 [ADD] Increase import application feature rainbond-app format. 2018-05-17 11:27:04 +08:00
barnett
a148d9a026 [REV] change code builder log level to info 2018-05-16 13:23:33 +08:00
Zhang Jiajun
f1f0e3b189 [REV] Adjust code logic for insert app status record to database; 2018-05-15 15:12:42 +08:00
Zhang Jiajun
f83a10cd89 [REV] Remove replace slug tar file name in metadata.json in builder project. 2018-05-15 14:06:57 +08:00
Zhang Jiajun
021691b751 [REV] Change update condition to event id for app status record in database. 2018-05-15 12:43:39 +08:00
Zhang Jiajun
e246dea179 [REV] Fix the judgment condition of file is exists. 2018-05-15 12:26:17 +08:00
Zhang Jiajun
77e1a96c13 [REV] Fix get request parameters is nil for download export app api, fix export qualifications for runner image. 2018-05-15 11:30:31 +08:00
Zhang Jiajun
b1409e44b8 [REV] Add rest api to download file for export app in api project. 2018-05-15 11:03:03 +08:00
Zhang Jiajun
ab6b71b8fa [REV] Support export rainbond-app and docker-compose format app. 2018-05-11 23:49:02 +08:00
barnett
25e2196a17 [REV] update node monitor code 2018-05-11 16:54:23 +08:00
Zhang Jiajun
d2d8df1d2a [REV] Add debug log for generate start script for export app 2018-05-11 13:55:20 +08:00
Zhang Jiajun
e1085e0c02 [REV] Merge export app api for rainbond-app and docker-compose, output detail log by log.debug. 2018-05-11 13:45:07 +08:00
Zhang Jiajun
50287281b0 [REV] Add create docker client for init to export app task. 2018-05-11 11:15:17 +08:00
Zhang Jiajun
1939f5c548 [REV] Fix method parameter for download slug file from ftp server. 2018-05-11 10:41:48 +08:00
Zhang Jiajun
447381f639 [REV] correct a mistake to json field for export app struct in MQ project. 2018-05-10 22:10:38 +08:00
Zhang Jiajun
869eac8def [REV] Optimize for log output. 2018-05-10 20:18:14 +08:00
Zhang Jiajun
8784652337 [REV] Optimize to execute multiple commands. 2018-05-10 19:44:33 +08:00
Zhang Jiajun
95753c9dc4 [REV] Optimize to execute multiple commands, update status when chaos task failed. 2018-05-10 19:39:51 +08:00
Zhang Jiajun
75c0fe0e03 [REV] Optimize to execute multiple commands. 2018-05-10 19:19:11 +08:00
Zhang Jiajun
bda62f34c5 [REV] Support create table automatic if not exist for export app component. 2018-05-10 18:54:32 +08:00
Zhang Jiajun
c3d107953c [REV] Fix parameters error in get json method. 2018-05-10 18:32:14 +08:00
Zhang Jiajun
b857175b05 [ADD] Add new feature to export app with docker-compose format. 2018-05-10 17:45:23 +08:00
barnett
f23060048e [FIX] merge V3.6 branch 2018-05-10 16:33:58 +08:00
Zhang Jiajun
597957d4fc [ADD] Add new feature to export rainbond-app. 2018-05-10 11:08:49 +08:00
barnett
8d38cc23a5 [ADD] add image import code 2018-05-08 15:38:29 +08:00
barnett
53043641f4 [ADD] add save image code 2018-05-08 15:12:48 +08:00
barnett
f8031b727d [REV] update code fixd redeclared in this block 2018-05-07 15:27:44 +08:00
barnett
80ab35c6e0 [ADD] Add the application export code structure. 2018-05-07 15:10:12 +08:00
barnett
830a1235ff [REV] add check code dependencies 2018-04-24 18:18:34 +08:00
barnett
682edb59df [REV] check code runtime and profile 2018-04-24 18:02:00 +08:00
barnett
287f8bdc9e [REV] update package api design,remove pkg dir (fixed #57) 2018-04-24 16:44:59 +08:00