Commit Graph

305 Commits

Author SHA1 Message Date
barnettZQG
c221724bc6 Merge branch 'V3.7' 2018-10-24 10:20:33 +08:00
zhoujunhao
ba02dfff28 [FIX] Fix bug with reset timer 2018-10-18 22:29:25 +08:00
zhoujunhao
9b6db78868 [REV] fix panic: sync: negative WaitGroup counter bug 2018-10-18 18:39:21 +08:00
barnettZQG
364dc510bf [FIX] fix code server type read failure bug 2018-10-18 12:19:06 +08:00
barnettZQG
24285078b7 [REV] fix import slug app 2018-10-16 14:57:10 +08:00
barnettZQG
c45e4be34e [REV] update code for import app 2018-10-10 22:34:08 +08:00
barnettZQG
1dc22cc25c [REV] merge branch 3.7 to master 2018-10-08 12:25:05 +08:00
barnettZQG
8469e31562 [REV] update export and import app and plugin code 2018-09-25 19:22:28 +08:00
barnettZQG
8e28a8c31f [FIX] change rainbond app file with suffix zip. (#122) 2018-09-20 13:22:33 +08:00
barnettZQG
e20d509a25 Merge branch 'V3.7' 2018-09-19 18:52:10 +08:00
barnettZQG
823d63a736 [FIX] fix share image name failure bug. 2018-09-19 18:51:16 +08:00
Zhang Jiajun
21449abd7c [REV] Optimize application import process. 2018-09-14 15:36:56 +08:00
barnettZQG
4a98e94d78 [REV] optimize docker save image pagecache memory use 2018-09-14 14:35:30 +08:00
barnettZQG
d56a7dea31 [REV] change copy file code 2018-09-14 14:01:34 +08:00
Zhang Jiajun
ec5113e284 [REV] Optimize plugin import process. 2018-09-14 13:48:24 +08:00
Zhang Jiajun
8201152fea [REV] Add export and import logic for plugins. 2018-09-13 16:29:38 +08:00
zhoujunhao
413bd88b0e [REV] If the application has been exported, determine if the tar package exists. 2018-09-11 11:59:01 +08:00
barnettZQG
cfa7e6c3d3 [REV] update app load code 2018-09-10 19:30:00 +08:00
barnettZQG
4d384fd906 [REV] update handle image load code 2018-09-10 18:42:03 +08:00
Zhang Jiajun
d80da1ae63 [REV] Add slug file name process logic. 2018-09-10 18:16:13 +08:00
barnettZQG
eb0ea49e1d [REV] update import app code 2018-09-10 18:12:08 +08:00
barnettZQG
35fd7780f3 [REV] update import app code 2018-09-10 17:37:48 +08:00
barnettZQG
acf9e25aa4 [REV] update export app code 2018-09-10 17:33:16 +08:00
Zhang Jiajun
4d10c27053 [REV] Add change tag logic for import application. 2018-09-10 17:04:21 +08:00
Zhang Jiajun
7ad035ffe8 [REV] Usage username and password for export application. 2018-09-10 15:36:20 +08:00
Zhang Jiajun
e33366bec9 [REV] Print command execute result for export application. 2018-09-10 12:25:02 +08:00
barnettZQG
57fe44460b [REV] merge branch V3.7 to master 2018-09-02 23:17:56 +08:00
barnettZQG
2ab41d4bb7 [REV] Support to set internal repostory info, builder、runner image name 2018-09-02 22:44:38 +08:00
barnettZQG
0881e68e0d [REV] add check slug file is dir bug 2018-09-01 21:18:52 +08:00
barnettZQG
18f7882368 [REV] update check method bug 2018-09-01 20:03:34 +08:00
barnettZQG
e40530c585 [REV] registry server address default start with https 2018-09-01 19:54:13 +08:00
barnettZQG
d5fea8e8fb [ADD] add registry client code and add backup app version file check. 2018-09-01 19:32:35 +08:00
barnettZQG
12fce7269f [REV] update code for debug 2018-08-31 16:55:10 +08:00
barnettZQG
6de06ab0dd [REV] update log to english 2018-08-27 18:44:29 +08:00
barnettZQG
9ead7e6c79 [REV] update build app from code 2018-08-27 18:37:41 +08:00
barnettZQG
990f4c29da [REV] update tgz dir create 2018-08-27 17:32:56 +08:00
zhoujunhao
9acde33a92 Merge branch 'V3.7' of https://github.com/goodrain/rainbond
# Conflicts:
#	node/core/service/node_service.go
2018-08-27 12:51:54 +08:00
barnettZQG
74db753471 [FIX] fix env value have " bug. 2018-08-24 11:51:15 +08:00
barnettZQG
449ed4d88f [REV] update code builder pipeline 2018-08-24 10:02:34 +08:00
barnettZQG
44a09e7661 [FIX] fix the branch empty bug 2018-08-23 14:36:29 +08:00
barnettZQG
1d7a22fe89 [REV] update code build chain 2018-08-23 14:06:21 +08:00
barnettZQG
8661fd2e75 [REV] merge branch v3.7 2018-08-15 10:15:31 +08:00
barnettZQG
951ad3fd5b [REV] update code 2018-08-10 18:23:16 +08:00
barnettZQG
43d1015180 [REV] check support image hub user and pass 2018-08-10 18:22:23 +08:00
barnettZQG
84f6c5be21 [ADD] merge branch v3.7 2018-08-07 09:40:41 +08:00
Zhang Jiajun
35f266a2c5 [Add] Support instruction ARG for build application by source code. 2018-08-01 10:45:28 +08:00
Zhang Jiajun
a771d7b0fc [Add] Support instruction ARG for build application by source code. 2018-08-01 10:45:05 +08:00
Zhang Jiajun
c331658cae [Add] Support instruction ARG for build application by source code. 2018-08-01 10:29:28 +08:00
Zhang Jiajun
d3e09b04f5 [Add] Support instruction ARG for build application by source code. 2018-08-01 10:23:42 +08:00
Zhang Jiajun
5a38976f60 [ADD] Support Arg option for build application from source code. 2018-07-31 16:21:26 +08:00
barnettZQG
a0250c21ae [REV] svn support test success (fixed#85) 2018-07-27 14:55:34 +08:00
barnettZQG
cee5f3e1a6 [FIX] fix svn code hash too short bug 2018-07-27 12:53:38 +08:00
barnettZQG
9fa5d4dc98 [REV] optimize makefile 2018-07-24 23:20:27 +08:00
barnettZQG
41a955dd16 [REV] auto Identify the SVN protocol (#85) 2018-07-23 21:45:13 +08:00
barnettZQG
6fb246f6e3 [ADD] add svn support (#85) 2018-07-23 17:39:01 +08:00
barnettZQG
d5e994552c [REV] log image name where backup error 2018-07-16 10:25:30 +08:00
barnettZQG
dfee3abf01 [REV] merge master branch 2018-07-13 10:35:03 +08:00
zhoujunhao
63db34866d Merge branch 'V3.7-dev' of https://github.com/goodrain/rainbond into V3.7 2018-07-13 10:16:24 +08:00
barnettZQG
c95fe3286b [FIX] fix restore volume data bug when volume is empty 2018-07-12 16:40:39 +08:00
zhoujunhao
cf621c74c0 [FIX] fix bug 2018-07-11 16:16:35 +08:00
zhoujunhao
47a8174284 [ADD] add builder and worker task exporter 2018-07-11 15:44:29 +08:00
zhoujunhao
018bb5bbcb [ADD] add entrance health check 2018-07-11 14:51:51 +08:00
barnettZQG
28aa820e75 [FIX] fix restore volume path exist bug 2018-07-11 14:13:47 +08:00
barnettZQG
341a82ea24 [ADD] add support .netcore 2.1 code in linux (beta #89) 2018-07-11 11:49:55 +08:00
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
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
e1bfac2912 [FIX] fix plugin image name overlength bug 2018-06-25 19:32:00 +08:00
barnettZQG
2ff0813819 [FIX] fix build plugin by market bug 2018-06-21 18:04:02 +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
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
Zhang Jiajun
cee7b80554 [REV] Change image resource for save image for export app. 2018-06-08 17:37:57 +08:00
barnettZQG
6f31c04351 [REV] default change tanant id in restore 2018-06-08 12:59:30 +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
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
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
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
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
287f8bdc9e [REV] update package api design,remove pkg dir (fixed #57) 2018-04-24 16:44:59 +08:00