Commit Graph

71 Commits

Author SHA1 Message Date
Wenkai Yin
c9d20a93ad update due to refactor of struct project 2016-09-05 17:51:20 +08:00
Tan Jiang
318d10186e Use AES to encrypt password for target 2016-08-04 11:35:52 +08:00
yhua
d746bfc9f2 add *_empty_test.go for actual go test coverage 2016-07-29 18:39:29 +08:00
Daniel Jiang
2eb1845ae4 Merge pull request #556 from ywk253100/bug_fixes
bug fix: job enters an endless loop when user has no role to project on destination
2016-07-15 17:29:20 +08:00
Wenkai Yin
4b6492ace9 bug fix: job enters an endless loop when user has no role to project on destination 2016-07-15 16:57:40 +08:00
Daniel Jiang
20c135d859 Merge pull request #554 from ywk253100/bug_fixes
403 means the project exists, but the user has no role to it
2016-07-15 14:26:42 +08:00
Wenkai Yin
c6f7c08206 403 means the project exists, but the user has no role to it 2016-07-15 14:14:27 +08:00
Wenkai Yin
8269e06934 replicate repository deletion by calling API of Harbor to log the operation 2016-07-15 12:01:51 +08:00
Wenkai Yin
3d558b54b4 close connection immediately when it is not used anymore 2016-07-14 18:15:24 +08:00
Wenkai Yin
5011e2de20 Merge pull request #534 from ywk253100/bug_fix
fix #520 #521 #522
2016-07-13 18:11:31 +08:00
Wenkai Yin
67a8c8631a fix #520 #521 #522 2016-07-13 15:51:57 +08:00
Tan Jiang
f93a02f532 write log to job log when it's canceled, fixes #527 2016-07-13 14:32:13 +08:00
Tan Jiang
4a1ef850d0 Introduce hierachy of directories to store job log file 2016-07-07 13:32:11 +08:00
Wenkai Yin
8d1578a555 support retry when job failed 2016-07-06 15:11:51 +08:00
Wenkai Yin
cb5fee842a remove useless codes 2016-07-06 13:40:54 +08:00
Wenkai Yin
6ce18110cd retry the job which failed because the network error 2016-07-06 13:38:53 +08:00
Daniel Jiang
e342410749 Merge pull request #476 from reasonerjt/job-service
statemachine and schduler to support retry
2016-07-05 14:01:35 +08:00
Tan Jiang
6b955cd154 statemachine and schduler to support retry 2016-07-05 11:42:30 +08:00
Wenkai Yin
e2afc3e51c update 2016-07-05 11:22:16 +08:00
Wenkai Yin
19ec6177e0 update 2016-07-05 11:06:58 +08:00
Wenkai Yin
a2ccb414bd add RetryChecker interface 2016-07-04 21:43:55 +08:00
Wenkai Yin
0a5d5d602f pass golint 2016-07-04 17:33:17 +08:00
Wenkai Yin
5950c8ab01 support retrying for failed jobs 2016-07-04 15:02:24 +08:00
Tan Jiang
72390bb494 move app.conf to Deploy folder 2016-06-30 18:42:35 +08:00
Wenkai Yin
1c8cdb8a6b 1.order jobs by create time desc 2.open job log in browser 3.update start time of policy when the policy is enabled 4.do not push manifest if it already exists 2016-06-28 11:06:56 +08:00
Wenkai Yin
6c2dc9759a pass variable insecure to base handler 2016-06-24 13:57:48 +08:00
Wenkai Yin
97150ee1f8 add insecure filed to job log 2016-06-24 13:00:56 +08:00
Wenkai Yin
d113ed22a2 add error logs to job log file when error occurs 2016-06-24 12:34:15 +08:00
Wenkai Yin
a1b3a07d39 pass govet 2016-06-23 18:35:22 +08:00
Wenkai Yin
543cb26da1 update 2016-06-23 18:23:40 +08:00
Wenkai Yin
33035378a9 insecure https support when checking and creating project 2016-06-23 18:19:39 +08:00
Wenkai Yin
5fbe2c1a72 token request posted to token service directly 2016-06-23 12:14:26 +08:00
Wenkai Yin
61a888926e Merge remote-tracking branch 'upstream/new-ui-with-sync-image' into bug_fix_for_access_log
Conflicts:
	api/target.go
2016-06-23 11:17:09 +08:00
Tan Jiang
06c12ee622 fix golint issue on comment 2016-06-23 10:50:10 +08:00
Tan Jiang
26124d366f propagate more env vars 2016-06-22 18:41:56 +08:00
Wenkai Yin
7862bd8033 insecure config 2016-06-22 12:03:50 +08:00
Wenkai Yin
c1a8846a68 1. modify registry client 2. add https support 2016-06-21 16:39:03 +08:00
Wenkai Yin
40e25da3a9 pass golint 2016-06-17 18:34:40 +08:00
Wenkai Yin
7a6308b4f9 bug fix: fix confliction when more than one job are creating the same project 2016-06-17 18:27:31 +08:00
Tan Jiang
d909405c11 add header comment 2016-06-16 14:57:45 +08:00
Wenkai Yin
f7897b53f3 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-31 15:08:59 +08:00
Wenkai Yin
f0de98d9ad add comment 2016-05-30 15:39:51 +08:00
Tan Jiang
05069eeed1 clean up code, update API url of job service 2016-05-30 14:44:03 +08:00
Tan Jiang
8817c24a27 Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-27 16:21:55 +08:00
Tan Jiang
9493b8c238 integrate jobservice into docker-compose template 2016-05-27 16:21:32 +08:00
Wenkai Yin
1e09cf899b fix 2016-05-27 15:04:20 +08:00
Wenkai Yin
cdac114955 support tag transfer and deletion 2016-05-27 10:45:21 +08:00
Wenkai Yin
61e1b03a75 add delete state handlers 2016-05-26 11:27:16 +08:00
Wenkai Yin
3f95a954dc add state handler for deleting repository 2016-05-25 16:51:40 +08:00
Tan Jiang
b80e727b7f Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-25 15:26:24 +08:00