Steven Zou
e5f8beb35f
Support status hook mechanism to report job status changes
...
refactor scheduler to extarct separate sub/pub system
fix bug in getJob
return all the stats data of running pools in the health check API
2018-03-22 13:41:00 +08:00
Steven Zou
ac544b3ead
Support job related operational actions
...
support stop job
support cancel running generic job
support retry failed job
support checkin details progress of job
2018-03-20 18:03:04 +08:00
Steven Zou
fbc24d85db
Support job operation actions like stop/cancel
2018-03-16 19:38:51 +08:00
Steven Zou
2f97970484
Support update job status for both generic and periodic job
...
refactor scheduler
refactor period.enqueuer
add stats manager component
2018-03-15 20:23:42 +08:00
Steven Zou
be75145858
Implement API service of getting job stats
2018-03-15 14:33:57 +08:00
Steven Zou
ea912729ec
fix golint issues in code
2018-03-15 12:31:54 +08:00
Steven Zou
4b4e0ddfff
Refactor job programming model
...
refine job context
remove setXXX injection methods in job.Interface
use parameters of Run to pass context and parameters
2018-03-15 12:26:01 +08:00
Steven Zou
28d02931d2
Support saving job stats to the baclend for the redis workerpool
2018-03-15 09:56:07 +08:00
Steven Zou
b61dc39278
Refactor the job execution context interface
2018-03-14 19:17:38 +08:00
Steven Zou
5f5fb5b6ec
Refine the context related things
...
change job context to interface
move job conetxt to the env package
move the concrete job implementation to separate folder
2018-03-14 18:24:53 +08:00
Steven Zou
414c36205c
Support API service of checking stats of the worker pool
2018-03-14 16:59:00 +08:00
Steven Zou
6b46844565
Add sweeper to clear the outdated data before the workerpool is starting
2018-03-14 15:52:00 +08:00
Steven Zou
7b8971e930
Implement periodically enqueue job feature
...
add scheduler based on redis
add job wrapper for redis driver
other necessary modules
2018-03-13 23:58:07 +08:00
Steven Zou
7a3c35d178
Implement the base framework of job service V2
...
add API server
add redis worker pool
add configuration loader
add bootstrap process
add vendor via dep
2018-03-08 13:16:57 +08:00
stone
dda4289aaf
Merge pull request #4339 from wy65701436/fix-nightly-ldap
...
Add replication support for LDAP in nightly
2018-03-05 18:35:05 +08:00
wangyan
29bdcfe454
Add replication support for LDAP in nightly
2018-03-04 19:38:26 -08:00
Qian Deng
c2d9f8cc56
Bump ui builder version ( #4298 )
2018-03-05 10:30:11 +08:00
Daniel Jiang
e2efe80de5
Merge pull request #4338 from wy65701436/debut-new-drone
...
Update drone to 0.8
2018-03-05 10:22:45 +08:00
wangyan
5982c23162
Update drone to 0.8
2018-03-03 11:08:35 -08:00
Daniel Jiang
c67e6e2758
Merge pull request #4323 from reasonerjt/authenticator-error-refine
...
WIP: Refine error returned by Authenticator
2018-03-01 19:30:47 +08:00
Tan Jiang
2f2bc7f3ef
add ut
2018-03-01 18:52:09 +08:00
Tan Jiang
3a5bff1615
Refine error returned by Authenticator
...
There has been inconsistency in terms of the error returned by
authenticator.
This commit introduces an error ErrAuth to explicitly flag an
authentication failure, which should be treated as user error such
as "invalid credentials", and other errors will be treated as system error.
2018-03-01 18:19:46 +08:00
Daniel Jiang
4752de1584
Merge pull request #4315 from wy65701436/add-e2e-dockerfile
...
Add docker file for e2e infrastructure
2018-03-01 13:54:46 +08:00
wangyan
546c4fa3ac
Add docker file for e2e infrastructure
2018-02-28 07:56:04 -08:00
Yan
c37b3748b9
Support replication test in nightly infrastructure ( #4302 )
2018-02-28 19:37:25 +08:00
sigsbee
15f4315b74
Modify test step to avoid an autotest bug ( #4301 )
2018-02-28 19:36:58 +08:00
Daniel Jiang
78492a9d64
Merge pull request #4307 from reasonerjt/vol-empty-path
...
Return zero instead of error if the volume directory is not found at …
2018-02-28 14:48:43 +08:00
Tan Jiang
fc4e427c41
Return zero instead of error if the volume directory is not found at admin server
2018-02-28 13:52:33 +08:00
Daniel Jiang
ae2f2dfc6d
Merge pull request #4297 from reasonerjt/less-verbose-go-build
...
Update Makefile and scripts to make go build less verbose.
2018-02-28 10:09:08 +08:00
Tan Jiang
f83c65bcc5
Reduce the output of build.
...
The following are done to avoid travis-ci failing due to too much log
size.
1) Update Makefile and scripts to make go build less verbose.
2) Make tdnf less verbose
2018-02-27 20:54:52 +08:00
Daniel Jiang
ef54647749
Merge pull request #4230 from stonezdj/project_member_refactor2
...
Refactor project member
2018-02-27 14:33:26 +08:00
Daniel Jiang
b2eff8b7a3
Merge pull request #4234 from wy65701436/check-ldap-out
...
Upgrade docker to latest and check for docker login fail
2018-02-27 11:28:11 +08:00
Daniel Jiang
b4c1307c96
Merge pull request #4294 from patfrat/translation/french
...
Add French ui_ng translation
2018-02-27 11:25:15 +08:00
patfrat
3159e2c514
Add French ui_ng translation
2018-02-26 14:53:59 +01:00
Paul Czarkowski
be397eb157
Initial helm chart for Harbor ( #4271 )
2018-02-17 11:29:52 +08:00
stonezdj
4c6d1488bd
Add UT
2018-02-09 15:29:08 +08:00
stonezdj
f138067242
Refactor project member
2018-02-09 10:38:51 +08:00
Daniel Jiang
bd12a3f958
Merge pull request #4235 from ywk253100/180206_godep
...
Specify the versions of packages used in golang dep
2018-02-08 12:38:02 +08:00
Qian Deng
83ec190dbf
Merge pull request #4229 from ninjadq/fix_ui_test_case
...
Fix UI that break test case
2018-02-06 19:19:50 +08:00
Wenkai Yin
4e6800745b
Specify the versions of packages used in golang dep
2018-02-06 18:49:40 +08:00
wangyan
d12ad7fa94
Upgrade docker to latest and check for docker login fail
2018-02-05 20:42:41 -08:00
Deng, Qian
207ce035e1
Fix UI that break test case
2018-02-06 10:52:53 +08:00
stone
a813edbe2c
Merge pull request #4225 from reasonerjt/master
...
Return UAA error to Security Context layer
2018-02-06 10:02:08 +08:00
Tan Jiang
40b6cb0d43
Return UAA error to Security Context layer
2018-02-05 21:00:19 +08:00
Daniel Jiang
87ca267b0f
Merge pull request #4221 from ywk253100/180131_beego_1.9.2
...
Upgrade beego 1.6.1 to 1.9.0
2018-02-05 19:17:44 +08:00
Wenkai Yin
10f56d26fe
Change codes to make everything OK after upgrading to beego 1.9.0
2018-02-05 13:07:52 +08:00
Wenkai Yin
e7b431899e
Upgrade beego from 1.6.1 to 1.9.0
2018-02-05 13:07:52 +08:00
Daniel Jiang
d4f49fee95
Merge pull request #4218 from reasonerjt/remove-extra-host
...
Remove extra-hosts from docker-compose template
2018-02-05 12:36:14 +08:00
Tan Jiang
07251181b9
Remove extra-hosts from docker-compose template
2018-02-05 00:02:37 +08:00
yixingjia
dcf16a84a6
Merge pull request #4212 from yixingjia/reorderconfig
...
Refactor DB configuration in harbor.cfg
2018-02-02 17:59:09 +08:00