Tan Jiang
c8265a8d53
Provide migration scripts for harbor.cfg
...
Default target version is 1.5.0
This is mainly for VIC-appliance upgrade, and should be considered
experimental for oss due to limited test.
Tested with 1.2 and 1.3 harbor.cfg from VIC appliance.
2018-03-16 14:38:50 +08:00
Manjunath Dharamadas
38d6306f3b
Move drone clone step out of pipeline ( #4420 )
2018-03-16 10:48:38 +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
stone
139a0c59ba
Merge pull request #4412 from stonezdj/add_ldap_group_param
...
Add LDAP Group Search Configure Param
2018-03-15 17:02:28 +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
yixingj
4255ed167a
Add monitor API for Harbor components.
...
1>AdminServer.
2>UI.
2018-03-15 10:39:55 +08:00
Steven Zou
28d02931d2
Support saving job stats to the baclend for the redis workerpool
2018-03-15 09:56:07 +08:00
stonezdj
44fc373c6d
Add LDAP Group Search Configure Param
2018-03-15 06:16:47 +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
Daniel Jiang
0efd8e3c54
Merge pull request #4396 from ywk253100/180309_label_resource
...
Implement adding/removing labels to/from repositories and images API
2018-03-14 14:15:31 +08:00
Wenkai Yin
bcf81224ad
Update according to the comments
2018-03-14 13:42:19 +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
Yan
3215d328aa
fix run replication bug in nightly ( #4402 )
2018-03-13 19:21:35 +08:00
Paul Czarkowski
9332084824
improve doc for postgres user/pass etc
2018-03-12 11:22:36 -05:00
Wenkai Yin
36b9c4e458
Implement adding/removing labels to/from repositories and images API
2018-03-12 19:30:05 +08:00
Daniel Jiang
230bb89d1e
Merge pull request #4395 from reasonerjt/fix-project-length-limit
...
Extend the length of project name in request validation
2018-03-12 19:20:21 +08:00
Tan Jiang
b81b55b0c1
Extend the length of project name in request validation
2018-03-12 16:07:06 +08:00
yixingjia
ac05806dec
Reload the attributes of Harbor db and Clair db when restart Harbor. ( #4349 )
2018-03-12 15:40:45 +08:00
Manjunath Dharamadas
11254a024d
Add ability to skip check membership on CI ( #4386 )
2018-03-12 14:53:16 +08:00
Jesse Hu
7ec809b31e
Refine harbor helm chart README.md ( #4390 )
2018-03-12 14:29:50 +08:00
sigsbee
4ccd7e7cdf
Add vulneraibility case and add a testcase doc. ( #4378 )
...
Add disable schedule
vulnerability data not ready
can as an unprivileged user
scan image with empty vul
manual scan all
project level image serverity policy
scan on push
2018-03-12 14:20:37 +08:00
Paul Czarkowski
187b0dcdbb
update helm chart to use external postgresql dependency
2018-03-09 17:14:44 -06:00
Jesse Hu
dab5dd9879
Update Harbor helm chart to deploy Harbor 1.4.0 release ( #4373 )
...
* Update Harbor helm chart to deploy Harbor 1.4.0 release
* Change version to 0.1.0 and fix a doc error
* Fix auth_mode default value
* Refine doc and fix a typo
2018-03-09 18:47:13 +08:00
Wenkai Yin
03bf000770
Merge pull request #4372 from ywk253100/180302_label
...
Implement label management API
2018-03-09 13:20:00 +08:00
Wenkai Yin
379f113452
Implement label management API
2018-03-09 12:17:27 +08:00
Wenkai Yin
685140cda8
Merge pull request #4375 from ywk253100/180308_smtp_tls
...
Do the authentication with CRAM-MD5 when the connection is insecure
2018-03-08 17:42:18 +08:00
pengpengshui
c24e0a5959
Merge pull request #4376 from pengpengshui/reptolib
...
Modify pagenation in Use, project name exist issue #4350 #4205 #4177
2018-03-08 17:34:10 +08:00
pfh
e017f63103
Modify pagenation in Use, project name exist issue #4350 #4205 #4177
2018-03-08 16:25:24 +08:00
Wenkai Yin
0a8929b85e
Do the authentication with CRAM-MD5 when the connection is insecure
2018-03-08 14:21:44 +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
pengpengshui
7bf277df6e
Merge pull request #4354 from pengpengshui/reptolib
...
Modify replication rule from page to dialog #4296
2018-03-07 17:34:13 +08:00
pfh
805e4aa4db
Modify fileter problem and input length #4185 #4264
2018-03-07 17:01:00 +08:00
Yan
8bf4f1314e
fix nightly bug for notary case in replication env ( #4355 )
2018-03-07 15:19:09 +08:00
pfh
b2fb33ba0d
Modify replication rule from page to dialog #4296
2018-03-07 10:03:08 +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