Wang Yan
76b981faec
add cosign middleware ( #16078 )
...
The middleware is to land the cosign signature linkage with the subject artifact ID.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-12-07 15:43:10 +08:00
Yang Jiao
eff2ff03aa
modify build-package branch master to main
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 14:59:48 +08:00
Chenyu Zhang
7e67c1f495
Merge pull request #15459 from yunkunrao/master
...
Refactor ping method into util pkg
2021-12-06 09:24:15 +08:00
rao yunkun
ce6bf73884
Merge remote-tracking branch 'upstream/main'
2021-12-05 16:34:04 +08:00
stonezdj(Daojun Zhang)
0c0489cbae
Merge pull request #15913 from stonezdj/21nov1_proxy_manifest_list_contenttype
...
Cache content type for manifest list and image index in perspective
2021-12-04 09:05:20 +08:00
Wang Yan
742e7ded00
add accessory dao service ( #16045 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2021-12-03 14:34:02 +08:00
stonezdj
6b77c11696
Cache content type for manifest list and image index in perspective
...
manifest list: application/vnd.docker.distribution.manifest.list.v2+json
image index: application/vnd.oci.image.index.v1+json
fixes #15837
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-12-03 14:14:01 +08:00
Qian Deng
5fc4449450
Merge pull request #16029 from ninjadq/fix_chart_replication_issue
...
Fix: chart replication dup files issue
2021-12-03 13:47:42 +08:00
Yang Jiao
2ee4950400
Merge pull request #16077 from YangJiao0817/fix-paivate-key
...
Fix core private key
2021-12-03 12:03:48 +08:00
Yang Jiao
4a2242fe47
Fix core private key
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-03 10:55:35 +08:00
孙世军
846d690b85
Refactor config component ( #16064 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-12-01 10:07:46 +08:00
Yang Jiao
43912674b1
Add robot account do replication test case ( #16044 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-29 10:58:01 +08:00
Yang Jiao
1d8719b7a0
Merge pull request #16033 from YangJiao0817/add-replication-exclude-testcase
...
Add replication testcase for exclude and bandwidth
2021-11-29 10:25:59 +08:00
Wang Yan
7608df4b5c
add pull update control env ( #16051 )
...
These variables are temporary solution for issue: https://github.com/goharbor/harbor/issues/16039
When user disable the pull count/time/audit log, it will decrease the database access, especially in large concurrency pull scenarios.
1, PULL_TIME_UPDATE_DISABLE : The flag to indicate if pull time is disable for pull request.
2, PULL_COUNT_UPDATE_DISABLE : The flag to indicate if pull count is disable for pull request.
3, pull audit log will not create on disabling pull time.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-11-26 18:13:23 +08:00
孙世军
cad78f6af4
Audit fixing for package-lock.json ( #16043 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-23 15:56:09 +08:00
Wang Yan
91e406ba60
bump up dep versions ( #16038 )
...
1, upgrade containerd to v1.14.12
2. upgrade image-spec to v1.0.2
Signed-off-by: wy65701436 <wangyan@vmware.com>
2021-11-23 10:32:29 +08:00
孙世军
784cdabc61
Fix null point exception for chart version ( #16006 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-22 10:48:42 +08:00
孙世军
21dfba7330
Redirect to sign-in page when user session timed out ( #16005 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-22 10:47:49 +08:00
Yang Jiao
e9c5b3e759
Add replication testcase for exclude and bandwidth
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-19 09:20:07 +00:00
Qian Deng
593117a127
Fix: chart replication dup files issue
...
this patch fixed #15522
Signed-off-by: Qian Deng <dengq@vmware.com>
2021-11-17 11:24:43 +00:00
Yang Jiao
0a845d6369
Merge pull request #16008 from YangJiao0817/fix-cnab-case
...
Refactor cnab push test case
2021-11-17 11:00:05 +08:00
Yang Jiao
97ad26af6f
Refactor cnab push test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-16 15:43:23 +08:00
stonezdj(Daojun Zhang)
060341ba4e
Merge pull request #15949 from stonezdj/21nov4_cache_properties
...
Enable db config cache explicitly
2021-11-16 14:39:10 +08:00
Yang Jiao
4d9a54fc55
Merge pull request #16003 from YangJiao0817/specify-test-redis-tag-q
...
Specify test redis image tag
2021-11-15 17:17:34 +08:00
Yang Jiao
8055374520
Specify test redis image tag
...
Specify the test redis mirror tag. If not specified, the default tag is latest. If the latest tag changes, it will cause false positives in the test case.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-15 11:30:10 +08:00
Yang Jiao
65675f41e6
Merge pull request #15992 from YangJiao0817/specify-test-redis-tag
...
Specify test redis image tag
2021-11-12 18:19:17 +08:00
Chenyu Zhang
d260e632d8
Merge pull request #15985 from chlins/fix/replication-rule-enhancement
...
fix(replication): enhance the replication rule validation
2021-11-12 11:12:41 +08:00
Yang Jiao
e3fac7eb53
Specify test redis image tag
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-12 10:49:30 +08:00
chlins
f880bc3361
fix(replication): enhance the replication rule validation
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-11-12 09:53:11 +08:00
Yang Jiao
33fd4c06e1
Merge pull request #15978 from YangJiao0817/add-stop-scan-case
...
Add stop scan and stop scan all test cases
2021-11-11 18:01:14 +08:00
Yang Jiao
cfbbc82219
Merge pull request #15956 from YangJiao0817/refactor-ci-script
...
Modify ci script
2021-11-11 17:00:42 +08:00
Yang Jiao
9662c8316d
Merge pull request #15938 from YangJiao0817/include-test-case-e2e-image
...
Add e2e image include test case
2021-11-11 16:59:04 +08:00
Yang Jiao
f7b83a8e97
Merge branch 'main' into add-stop-scan-case
2021-11-11 16:50:55 +08:00
Yang Jiao
98e9ad82a1
Refactor ci script
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-11 16:04:09 +08:00
孙世军
ddd4cdb306
Not allow space in replication rule filters ( #15984 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-11 12:23:26 +08:00
Yang Jiao
6fe2a0cd1d
Merge pull request #15925 from YangJiao0817/add-imgpkg-testcase
...
Add test case to verify imgpkg in nightly
2021-11-09 17:05:10 +08:00
Yang Jiao
b0d6b242ae
Add stop scan and stop scan all test cases
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 16:58:31 +08:00
Yang Jiao
d7f53e51a9
Add test case to verify imgpkg in nightly
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 14:35:05 +08:00
孙世军
ea16f1fb5e
Change base tag to "/" for index.html ( #15965 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 17:42:07 +08:00
孙世军
d5a4f0b8bc
Add select-all and unselect-all for robot permissions ( #15962 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:38:26 +08:00
孙世军
ab037c35cc
Fix ng-change-checking error for repos component ( #15961 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:37:45 +08:00
孙世军
0413b8b6f7
Support right click to open a link in a new tab ( #15935 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-08 14:37:27 +08:00
sluetze
3760375ba9
updated german translation for 2.4
...
Signed-off-by: sluetze <13255307+sluetze@users.noreply.github.com>
2021-11-08 11:15:55 +08:00
Chenyu Zhang
3aa698c7c9
fix(replication): list projects before replicate to reduce create duplicate project and requests to target registry ( #15934 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2021-11-08 10:39:58 +08:00
He Weiwei
b2268dbf8e
fix: remove x-go-type in swagger.yaml ( #15923 )
...
Closes #15912
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-11-04 23:39:36 +08:00
stonezdj
21601f5e3c
Enable db config cache explicitly
...
previous config is not cached because it is initialized when cache is not ready
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-11-04 16:01:25 +08:00
Yang Jiao
360809bfd2
Add e2e image include test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-03 18:31:00 +08:00
孙世军
71ee8b57c2
Remove loading for auto refreshing ( #15914 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-03 14:29:54 +08:00
孙世军
264a320d38
Add pagination for user groups ( #15932 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-11-03 14:29:24 +08:00
Yang Jiao
2d6973febf
Merge pull request #15905 from YangJiao0817/add-wasm-to-harbor-case
...
Add wasm-to-oci test cases for harbor push and pull
2021-11-02 16:51:38 +08:00