Commit Graph

9393 Commits

Author SHA1 Message Date
danfengliu
b4a54adfeb Add Scan schedule test in nightly
1. Add Scan schedule test in nightly;
2. Remove redundancy steps when create a new project;

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-05-20 12:16:33 +08:00
Will Sun
0de0b949ef
Merge pull request #11972 from AllForNothing/more-ut-create-project
Add more UT for create project component
2020-05-20 11:27:32 +08:00
AllForNothing
2d141a919d Add more UT for create project component
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-05-19 17:39:42 +08:00
wang yan
f0fabb9ef8 fix conformance issue on deleting manifest
fixes #11949
When to call delete manifest API with a tag as the reference, Harbor should give a unsupported error code.

Reference: Note that a manifest can only be deleted by digest. https://github.com/opencontainers/distribution-spec/blob/master/spec.md#delete-manifest

Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-19 15:58:33 +08:00
danfengliu
2fb90cf258 Modify nightly quotas error message verification
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-05-19 14:59:21 +08:00
xaleeks
23c438d5ac
Merge pull request #11959 from steven-zou/doc/update_readme
doc(readme):update readme to fix broken content
2020-05-18 19:04:33 -04:00
Steven Zou
8af243d8b2 doc(readme):update readme to fix broken content
- add architecture section
- update API section
- remove additional tools section
- update compatibility list section
- update the relevant compatibility list document
- add OCI confirmance testing report link
- update broken image paths in readme

Signed-off-by: Steven Zou <szou@vmware.com>
2020-05-18 23:30:34 +08:00
Wang Yan
b1793e795c
fix conformance test ErrorsCodes failure (#11961)
fixes #11945
When client calls PUT with an invalid digtest, Harbor has to give a 400 instead of 500.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-18 17:20:23 +08:00
Michael Michael
8a944e0181
Merge pull request #11956 from xaleeks/05172020_fix_installation_link
fixed install guide broken link in readme
2020-05-17 03:52:12 -05:00
xaleeks
c8269e05a5 fixed install guide broken link in readme
Signed-off-by:  xaleeks <xalex@vmware.com>
Signed-off-by: xaleeks <xalex@vmware.com>
2020-05-17 04:48:22 -04:00
Daniel Jiang
4895fb395a
Merge pull request #11941 from wy65701436/enable-conformance-test
enable full set of conformance test
2020-05-15 17:36:28 +08:00
wang yan
65f2abcb39 enable full set of conformance test
1, enable test of Content Discovery
2, enable test of Content Management

Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-15 14:12:34 +08:00
xaleeks
d42f8f0039
Merge pull request #11904 from grinnellian/patch-1
Correct "leveraging"
2020-05-15 00:54:46 -04:00
Ian Bone
95c7cbe49e Correct "leveraging"
Signed-off-by: Ian Bone <grinnellian@users.noreply.github.com>
2020-05-14 16:35:56 -07:00
He Weiwei
b5048d1f29
Merge pull request #11927 from heww/fix-broken-img
docs(scan): fix broken image link for limited successful status
2020-05-14 11:19:47 +08:00
He Weiwei
18c67c7226 docs(scan): fix broken image link for limited successful status
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-14 01:37:26 +00:00
Maosheng Ren
310df76bf5
Merge pull request #11850 from bitsf/doc_retention_2.0
feat(doc) update retention/replication doc for 2.0
2020-05-13 22:34:03 +08:00
Ziming Zhang
653015b86c feat(doc) update retention/replication doc
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-05-13 21:48:46 +08:00
Qian Deng
a12bc4c6cd
Merge pull request #11900 from ninjadq/add_doc_for_internal_tls
Add doc for internal tls
2020-05-13 20:01:36 +08:00
DQ
132cea7a02 Update doc for migration
migration tool changed

Signed-off-by: DQ <dengq@vmware.com>
2020-05-13 19:29:15 +08:00
DQ
01f6061e31 Add doc for internal tls
1. Add md file
2. Update index

Signed-off-by: DQ <dengq@vmware.com>
2020-05-13 19:28:33 +08:00
He Weiwei
29ee57aed8
Merge pull request #11916 from heww/trivy-configurtions-doc
docs(configurtions): add docs for configurations of trivy scanner
2020-05-13 19:25:43 +08:00
wang yan
54706f2b1b Fix conformance badge name
It needs to use the upper case when to get the badge url

Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-13 19:13:17 +08:00
guanxiatao
0aefd8f2e2 Add UT for webhook when replicating with docker registry
Signed-off-by: guanxiatao <guanxiatao@corp.netease.com>
2020-05-13 19:09:33 +08:00
He Weiwei
bcbab31fe1
Merge pull request #11897 from heww/vulns-scanning-docs
docs(scan): add docs about image index scanning
2020-05-13 19:06:58 +08:00
He Weiwei
71e59f3f08 docs(configurtions): add docs for configurations of trivy scanner
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-13 10:51:10 +00:00
xaleeks
7095a2fef5
Merge pull request #11902 from heww/helm-chart-docs
docs(helm-chart): add docs for OCI-compatible helm charts
2020-05-13 06:35:27 -04:00
Wang Yan
5b177da2f8
update document of tag immutability for v2.0.0 (#11893)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-13 18:16:58 +08:00
Will Sun
d355bac376
Merge pull request #11907 from AllForNothing/log-replication
Fix duration and log bugs for replication task UI
2020-05-13 17:20:19 +08:00
He Weiwei
b984a01269 docs(helm-chart): add docs for OCI-compatible helm charts
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-13 08:57:19 +00:00
Daniel Jiang
8e4f1b105c
Merge pull request #11912 from reasonerjt/bump-up-version-doc
Update the version and links in index of doc
2020-05-13 16:54:18 +08:00
xaleeks
205e34c9d1
Merge pull request #11886 from bitsf/doc_harbar_yml_tmpl
feat(doc) change some doc about harbor.yml.tmpl
2020-05-13 04:37:33 -04:00
Daniel Jiang
7f4c4c63b1 Update the version and links in index of doc
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-05-13 16:10:52 +08:00
He Weiwei
1c06b90575 docs(scan): add docs about image index scanning
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-05-13 07:57:59 +00:00
Maosheng Ren
d1813c1d00
Merge pull request #11909 from wy65701436/doc-robot-account
update robot account document for v2.0.0
2020-05-13 15:51:02 +08:00
xaleeks
a5f1116acb
Merge pull request #11898 from mmpei/offical-webhook-user-guide
Update webhook user guide
2020-05-13 03:41:26 -04:00
wang yan
c94ea1dbd3 update robot account document for v2.0.0
Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-13 14:55:32 +08:00
peimingming
c51bed7a63 Update webhook user guide
Signed-off-by: peimingming <peimingming@corp.netease.com>
2020-05-13 14:27:38 +08:00
Wang Yan
36fa498319
update document of garbage collection for v2.0.0 (#11890)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-13 13:51:55 +08:00
AllForNothing
1c670329dc Fix duration and log bugs for replication task UI
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-05-13 12:38:23 +08:00
Steven Zou
d055a28a51
Merge pull request #11877 from steven-zou/doc/trivy_scanner
doc(default scanners):how to determine the system default scanner
2020-05-13 12:08:19 +08:00
Steven Zou
0c96111f82 doc(default scanners):how to determine the system default scanner
Signed-off-by: Steven Zou <szou@vmware.com>
2020-05-13 11:23:31 +08:00
Maosheng Ren
6f04b59aa5
Merge pull request #11880 from reasonerjt/doc-add-repositories
Add md file to document repositories
2020-05-13 10:12:53 +08:00
danfengliu
0995aba647
Merge pull request #11857 from danfengliu/Enhance-verificaton-for-tag-retention-pytest
Enhance verificaton for tag retention pytest
2020-05-12 17:37:33 +08:00
danfengliu
ac19f02bf5 Enhance verificaton for tag retention pytest
1. Modify scan related keywords, some of keywords are not effective.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-05-12 16:41:47 +08:00
Ziming Zhang
174d863276 feat(doc) change some doc about harbor.yml.tmpl
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-05-12 11:28:34 +08:00
xaleeks
4e3f04bede
Merge pull request #11879 from xaleeks/05102020_docs
changes
2020-05-11 15:33:34 -04:00
Daniel Jiang
219375b0aa Add md file to document repositories
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-05-12 01:31:44 +08:00
xaleeks
e6fa7e1545 changes
Signed-off-by: xaleeks <xalex@vmware.com>
2020-05-10 23:29:21 -04:00
Will Sun
5289b3519e
Merge pull request #11860 from AllForNothing/docker-logo
Modify doc and fix some ui bugs
2020-05-11 11:00:36 +08:00