Commit Graph

8227 Commits

Author SHA1 Message Date
danfengliu
aa61f66d0b
Add docker login with credential before building harbor package (#13520)
Due to docker hub access limitation, add docker login with credential
before building harbor package

Signed-off-by: wang yan <wangyan@vmware.com>

Co-authored-by: wang yan <wangyan@vmware.com>
2020-11-16 22:20:26 +08:00
Wang Yan
c2512c0075
bump up base version to v1.10.6 (#13516)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2020-11-16 15:36:27 +08:00
He Weiwei
ae8d82e5be
Merge pull request #13407 from heww/cherry-pick-fix-max-open-conns
[Cherry pick]fix(db): set max open conns of sql.DB manually
2020-11-03 07:41:06 +08:00
Ziming Zhang
a01a0c1b94 feature(tag) add a thread pool for tag list
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-11-02 14:59:50 +08:00
He Weiwei
aee98ac0a0 fix(db): set max open conns of sql.DB manually
Due to the issues of beego v1.12.1 and v1.12.2, we set the max open conns
ourselves.

Closes #12403

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-02 14:39:40 +08:00
He Weiwei
b5a4ebacd6
Merge pull request #13411 from heww/cherry-pick-remove-helmhub-testcase
Remove UT for helm hub adapter (#13255)
2020-11-02 14:38:40 +08:00
Daniel Jiang
172b8e84e0 Remove UT for helm hub adapter (#13255)
The helm hub adapter will not work due to the shift to artifact hub and
the API has changed. more details see #13244
Remove the UT for helm hub adapter to unblock CI.
Later we need to rework the adapter to replicate from artifact hub.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-11-02 10:48:08 +08:00
danfengliu
a55c3ae3e7
Merge pull request #12686 from danfengliu/upgrade-python-for-1.10
Upgrade python and robot framework
2020-09-10 17:38:52 +08:00
danfengliu
10be591f14 Merge branch 'upgrade-python-for-1.10' of https://github.com/danfengliu/harbor into upgrade-python-for-1.10 2020-09-07 16:42:31 +08:00
danfengliu
5dca7fb867 Upgrade python and robot framework
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-09-07 06:26:21 +00:00
danfengliu
ed7029d0cc Upgrade python and robot framework
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-09-06 20:06:17 +08:00
Steven Zou
c35ef7d924
Merge pull request #12955 from ywk253100/200823_jobservice
[cherry-pick-1.10]retry several times when failed to copy blob during the replication
2020-09-02 17:45:24 +08:00
Wenkai Yin
be8cbf8944 retry several times when failed to copy blob during the replication
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-09-02 17:19:03 +08:00
Will Sun
2dd5b19629
Merge pull request #12887 from AllForNothing/release-1.10.0
Fix repos refresh bug
2020-08-28 10:50:37 +08:00
AllForNothing
a2051ee57b Fix repos refresh bug
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-08-28 00:22:41 +08:00
He Weiwei
b2a7b81cd0
Merge pull request #12829 from reasonerjt/refresh-ca-1.10
Refresh CA cert - cherrypick to 1.10
2020-08-20 19:04:12 +08:00
Daniel Jiang
798b6469d8 Refresh CA cert
This commit refresh the harbor_ca.crt

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-08-20 15:41:40 +08:00
Qian Deng
b29faa4e8a
Merge pull request #12588 from ninjadq/extending_chart_client_timeout_1_10
Enhance: Prolong the timeout of chartclient
2020-08-04 16:28:36 +08:00
Wenkai Yin(尹文开)
e046d87f6b
Merge pull request #10754 from chlins/cherry-pick/huawei-adapter-authorization
[CHERRY-PICK]fix(replication): huawei adapter multi authorization
2020-08-04 16:08:48 +08:00
DQ
79b73f094c Enhance: Prolong the timeout of chartclient
In some perspectives to reduce the too many charts performence issue

Signed-off-by: DQ <dengq@vmware.com>
2020-08-04 15:50:27 +08:00
chlins
bc16a5aefc fix(replication): huawei adapter multi authorization
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-08-04 15:20:11 +08:00
Daniel Jiang
7cca4315fa
Merge pull request #12655 from bitsf/update_version_1.10.5
update version 1.10.5
2020-08-04 14:01:25 +08:00
Ziming Zhang
2b1c01b2ed update version 1.10.5
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-08-04 12:52:42 +08:00
Wang Yan
417e12ecaf
bump up version to v1.10.4 (#12447)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-07-10 10:41:43 +08:00
He Weiwei
fc34a99de3
Merge pull request #12424 from heww/fix-issue-12292
fix(quota): fix internal server error when delete project
2020-07-08 19:50:03 +08:00
He Weiwei
d9a15be95b fix(quota): fix internal server error when delete project
1. Clear cache for projects loader in quota driver of project which will
ensure that load project will raise error after project deleted.
2. Delete quota of the project before the deletion of the project.

Closes #12292

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-07-08 08:26:42 +00:00
danfengliu
8363b9d25b
Merge pull request #12242 from danfengliu/add-version-verification-case
Add harbor version verification case
2020-06-16 14:47:13 +08:00
danfengliu
3f17cd5615 Add harbor version verification case
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-06-16 10:18:13 +08:00
danfengliu
afab4169f6
Merge pull request #12113 from danfengliu/remove-close-scanner-prompt-header-step
remove close scanner prompt header step
2020-06-04 11:27:29 +08:00
danfengliu
4d31de1d5e remove close scanner prompt header step
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-06-01 19:52:36 +08:00
Daniel Jiang
6990ccaa31
Merge pull request #12104 from reasonerjt/fix-pgsql-healthcheck-1.10
Update health check script for harbor-db (#12103) - Cherrypick to 1.10
2020-06-01 18:52:57 +08:00
Daniel Jiang
4f5f8a3961 Update health check script for harbor-db (#12103)
This patch remove the trailing space of the hostname introduced by
`hostname -i`.

The trailing space will cause resolution error after this patch is
applied to glibc in photon:
https://github.com/vmware/photon/blob/2.0/SPECS/glibc/glibc-fix-CVE-2019-10739.patch

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-06-01 11:10:45 +08:00
Will Sun
52edc28690
Merge pull request #12098 from AllForNothing/release-1.10.0
Fix permission control for webhook
2020-05-29 14:50:49 +08:00
AllForNothing
abf4321762 Fix permission control for webhook
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-05-29 12:23:50 +08:00
He Weiwei
15bd5acc7e
Merge pull request #12081 from heww/fix-issue-11951-in-1.10.x
[Cherry pick]fix(cve-whitelist): fix panic in `Get` method of whitelist manager
2020-05-27 19:15:43 +08:00
He Weiwei
006f9d321a fix(cve-whitelist): fix panic in Get method of whitelist manager
Closes #11951

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-27 10:20:09 +00:00
Steven Zou
7bf9888b34 Merge pull request #12070 from ninjadq/chartrepo_enumeration
Fix: chart repo response code inconsistent
2020-05-27 17:00:07 +08:00
stonezdj(Daojun Zhang)
aae70811f0
Merge pull request #12068 from ninjadq/add_timeout_in_nginx_config_1_10_0
Add timount on nginx configs
2020-05-27 16:57:39 +08:00
Daniel Jiang
8dfc5ef185
Merge pull request #12069 from ninjadq/upgrade_chartversion_1_10
Enhance: Upgrade chartmuseum version
2020-05-27 16:41:15 +08:00
Wang Yan
0e163e8c58
bump up version to v1.10.3 (#12059)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-27 13:00:22 +08:00
DQ
712ac4fb5b Add timount on nginx configs
set timeout to 900

Signed-off-by: DQ <dengq@vmware.com>
2020-05-26 16:25:31 +08:00
Wang Yan
3e39914951
cherry-pick udpate clair version to v2.1.3 (#12042)
Signed-off-by: wang yan <wangyan@vmware.com>

Co-authored-by: Leo Le Bouter <leo.lebouter-ext@aphp.fr>
2020-05-26 15:56:17 +08:00
DQ
f42a43e495 Enhance: Upgrade chartmuseum version
Upgrade chartmuseum version 0.12.0

Signed-off-by: DQ <dengq@vmware.com>
2020-05-26 15:24:53 +08:00
DQ
b9a5f19b13 Fix: chart repo response code inconsistent
Response code should consistent whether namespace is existed or not

Signed-off-by: DQ <dengq@vmware.com>
2020-05-26 15:16:27 +08:00
Daniel Jiang
83bbdca166
Merge pull request #12016 from reasonerjt/project-name-401-1.10
Change to repositories api
2020-05-26 12:13:54 +08:00
Ziming Zhang
f16a816a47 fix build_base_docker
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-05-26 12:12:45 +08:00
Daniel Jiang
d8336c4549 Change to repositories api
Update to repositories API so it will not differentiate if a project
does not exist or the user doesn't have permission to access it.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-05-26 01:11:16 +08:00
Daniel Jiang
d6cab4fb8e
fix: set root password never expire (#11851)
Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io>

Co-authored-by: Yiyang Huang <huangyiyang@caicloud.io>
2020-05-08 11:35:35 +08:00
Qian Deng
23fdb7fa81
Merge pull request #11804 from ninjadq/add_gcs_key_to_regctl_1_10
Fix: GCS storage gc issue
2020-04-29 16:16:18 +08:00
DQ
ac04806336 Fix: GCS storage gc issue
Mount gcs key to registryctl

Signed-off-by: DQ <dengq@vmware.com>
2020-04-29 15:21:50 +08:00