Commit Graph

6083 Commits

Author SHA1 Message Date
Wenkai Yin
c65d5e6669 Update listing/getting replication adapter API
This commit updates the listing/getting replication adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-20 05:30:15 +08:00
Wenkai Yin
bb76a4d97d
Merge pull request #7178 from ywk253100/190315_chart
Replicate helm charts
2019-03-20 14:29:35 +08:00
Wenkai Yin
761004f98d
Merge pull request #7177 from zhoumeina/replication_ng
Merge create replication policy code
2019-03-20 14:29:12 +08:00
Meina Zhou
242406ce47 modify create replication rule
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-03-20 13:51:47 +08:00
Wenkai Yin
9bff73a36e
Merge pull request #7172 from pureshine/registry-management
List replication rules and executions page
2019-03-20 12:09:33 +08:00
Wenkai Yin
f78fd54d96
Merge branch 'replication_ng' into registry-management 2019-03-20 11:50:04 +08:00
FangyuanCheng
839f68f5fc replication-ng
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-03-20 10:53:27 +08:00
Wenkai Yin
fb394c2c7a Replicate helm charts
This commit provides the capability for Harbor to replicate helm charts

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-20 00:35:15 +08:00
Wenkai Yin
af692dd579
Merge pull request #7154 from mmpei/replication_ng_execution_upgrade
Execution updateStatus logic upgrade
2019-03-19 17:14:40 +08:00
Wenkai Yin
79217e2485
Merge branch 'replication_ng' into replication_ng_execution_upgrade 2019-03-18 18:12:22 +08:00
peimingming
3f64a3b337 Execution updateStatus logic upgrade
Signed-off-by: peimingming <peimingming@corp.netease.com>
2019-03-15 16:21:39 +08:00
Wenkai Yin
86832969c7
Merge pull request #7152 from ywk253100/190314_framework
Fix bug in replication
2019-03-15 14:28:07 +08:00
Wenkai Yin
2d1bf58a88
Merge pull request #7137 from ywk253100/190313_harbor_adapter
Add Harbor adapter for replication
2019-03-13 22:03:27 +08:00
Wenkai Yin
cabef73980 Add Harbor adapter for replication
Implement the replication adapter for Harbor registry

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-13 21:39:39 +08:00
Wenkai Yin
689412b4d0
Merge pull request #7132 from mmpei/replication_ng_execution_hook
Add execution and hooks
2019-03-13 10:59:23 +08:00
peimingming
4efad287ce Add execution and hooks
Signed-off-by: peimingming <peimingming@corp.netease.com>
2019-03-13 09:35:01 +08:00
Wenkai Yin
1c9b7e07bf
Merge pull request #7130 from ywk253100/190312_registry_client
Implement a default image registry client
2019-03-12 21:35:26 +08:00
Wenkai Yin
185525e9c8 Implement a default image registry client
Provide a default implemmentation for image registry interface, other adapters can use it directly

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-12 20:21:58 +08:00
Wenkai Yin
5f8c19e5ed
Merge pull request #7125 from ywk253100/190312_update_job_id
Update the job ID in flow controller
2019-03-12 17:26:43 +08:00
Wenkai Yin
7ab21db26a Update the job ID in flow controller
Update the job ID for the task if it is scheduled successfully

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-12 15:42:16 +08:00
Wenkai Yin
27b65f4739
Merge pull request #7114 from ywk253100/190311_sync
Sync with branch master
2019-03-11 21:26:02 +08:00
Wenkai Yin
53529b4b1b Merge the sql script into one file
Keep all the sql script for v1.8 in only one file

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-11 20:38:45 +08:00
Wenkai Yin
772367498f Merge remote-tracking branch 'upstream/master' into 190311_sync 2019-03-11 20:34:49 +08:00
Wenkai Yin
d76e8b16eb
Merge pull request #7096 from ywk253100/190308_policy_api_bak
Implement replication policy management API
2019-03-11 20:33:27 +08:00
Wenkai Yin
52eb89c6f2
Merge pull request #7113 from ywk253100/190311_harbor_adapter
Provide a null implementation for Harbor adapter
2019-03-11 19:30:48 +08:00
Wenkai Yin
2911ac7a34
Merge pull request #7108 from kofj/policy_manager_ng_ut
Policy manager ng UT
2019-03-11 16:35:50 +08:00
慕薇疯魔
1039800fa9 1. Migration for policy manager.
2. Clear test database after run test.
3. UT for policy manager and dao.

Signed-off-by: 慕薇疯魔 <kfanjian@gmail.com>
2019-03-11 16:01:31 +08:00
Wenkai Yin
c632c1e297
Merge pull request #6947 from kofj/policy_manager_ng
Ng policy manager
2019-03-11 14:45:21 +08:00
Steven Zou
9235cd6d34
Add new two maintainer Fanjian Kong & Mingming Pei
Announcement blog: https://goharbor.io/blogs/welcome-new-maintainers-march-2019/
2019-03-11 14:40:46 +08:00
Frank Kung
5bd5d59a4f 1. Define ng persist replication policy model.
2. Add ng replication policy CURD methods.
3. Implement ng policy manger.

Signed-off-by: Frank Kung <kfanjian@gmail.com>
Signed-off-by: 慕薇疯魔 <kfanjian@gmail.com>
2019-03-11 11:13:10 +08:00
danfengliu
a618a2c2ac
Button was not clicked successfully in keyword < Delete Repo>, but the click action returned pass, so I add a checkpoint after clicking the delete button, make sure the pop info had disappeared, it means delete button was clicked successfully. (#7071)
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-11 10:34:53 +08:00
Wenkai Yin
258b22a9a5 Fix bug in replication
This commit fixes bugs found in the implement of replciation NG

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-10 20:57:59 +08:00
stonezdj(Daojun Zhang)
0b4c589133
Merge pull request #7106 from wy65701436/fix-notary-migrate
add script to fix migration issue on notary
2019-03-09 13:37:18 +08:00
wang yan
f49b5910d2 disable non zern check on wait for db ready
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-09 12:52:38 +08:00
Wenkai Yin
d1f4c20e64 Implement replication policy management API
This commit implements the replication policy management API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-09 01:32:51 +08:00
Wenkai Yin
272508e509 Provide a null implementation for Harbor adapter
This commit provides a null implementation for Harbor adapter to fill data for the listing adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-09 01:10:25 +08:00
wang yan
7d6cdefae6 add script to fix migration issue on notary
The script is to fix the issue #7091, notary upgrade failure from mysql to pqsl.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-08 20:29:23 +08:00
Steven Zou
83aca2885e
Merge pull request #7037 from ywk253100/190227_adapter_interface
Refactor the adapter interface
2019-03-08 16:09:56 +08:00
Wenkai Yin
0b08291a2f
Merge branch 'replication_ng' into 190227_adapter_interface 2019-03-08 13:01:39 +08:00
Steven Zou
b5b377bcae
Merge pull request #7046 from ywk253100/190228_operation_api
Implement replication operation API
2019-03-08 12:41:26 +08:00
Steven Zou
511a6dc9de
Merge pull request #7092 from idvoretskyi/patch-1
Harbor project contact information updated
2019-03-08 12:30:43 +08:00
Daniel Jiang
7ae071bdb0
Merge pull request #7094 from goharbor/jonasrosland-patch-2
Update OWNERS based on clouderati's request
2019-03-08 12:28:54 +08:00
Wenkai Yin
6742e0ceda Refactor the adapter interface
This commit refactors the Adapter interface and adjust the code in the flow controller and repository handler

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-08 12:26:17 +08:00
Wenkai Yin
ec2a7f9239 Implement replication operation API
This commit implements the replication operation related APIs

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-08 10:06:33 +08:00
Jonas Rosland
e1f9242d28 Update OWNERS based on clouderati's request
Removal of James Zabala as core maintainer for Harbor based on his request to step down, found here:
https://github.com/goharbor/community/pull/61

Signed-off-by: jonasrosland <jrosland@vmware.com>
2019-03-07 12:44:47 -05:00
Ihor Dvoretskyi
b0fbbd5fab Harbor project contact information updated
Mailing lists updated + minor tweaks to the Slack links.

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
2019-03-07 12:30:11 -05:00
Steven Zou
2cce835784
Merge pull request #7079 from ywk253100/190304_adapter_api
Implement replication adapter API
2019-03-07 19:23:20 +08:00
jwangyangls
fc0654f028
Merge pull request #7088 from jwangyangls/proxyAuthenticator
add http auth proxy selection in system configuration
2019-03-07 17:26:59 +08:00
Fangyuan Cheng
41f443d3e3
Merge pull request #7083 from pureshine/support-cron
Refactoring gc ui support cron
2019-03-07 16:52:44 +08:00
Yogi_Wang
e281b6523e add http auth proxy selection in system configuration
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-03-07 16:52:17 +08:00