Commit Graph

5661 Commits

Author SHA1 Message Date
danfengliu
c4bf65162c
add api test case for garbage collection (#6366)
Add API test case for garbage collection, and add swagger.yaml, GC and chart feature were updated in swagger.yaml.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-27 19:17:41 +08:00
Steven Zou
b406d7ccc0
Merge pull request #6358 from SDBrett/contributing-improve-clarity
added dependency install steps to linting
2018-11-27 18:34:26 +08:00
Mia ZHOU
f78660ff84
Merge pull request #6356 from pureshine/fix-iconbug
Fix the bug that markdown icon does not display on the page
2018-11-27 11:27:29 +08:00
FangyuanCheng
f39cd17003 Fix the bug that markdown icon does not display on the page
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-11-27 10:16:14 +08:00
Daniel Jiang
ca79a98f17 Add dependencies to Gopkg.toml (#6343)
During the legal process for 1.7.0 I found some dependencies are not tracked in
Gopkg.toml.
This commit explicitly add depedencies on these packages.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-11-27 09:27:12 +08:00
Brett Johnson
4843dd0d4c added dependency install steps to linting
Signed-off-by: Brett Johnson <brett@sdbrett.com>
2018-11-27 04:48:41 +11:00
Daniel Jiang
260bc6ebf3
Merge pull request #6347 from wy65701436/bump-up-clair207
Bump up clair version to v2.0.7
2018-11-26 19:34:50 +08:00
wang yan
21ece6e413 Bump up clair version to v2.0.7
This commit is to bump up clair version to v2.0.7, this release
includes a fix for mapping Ubuntu Cosmic to the proper namespace.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-26 14:46:16 +08:00
Daniel Jiang
a26745e819
Merge pull request #6324 from ywk253100/181122_drop_cap
Drop unnecessary capabilities when starting containers
2018-11-26 10:58:09 +08:00
Wenkai Yin
fefb955cfe Drop all capabilities when starting containers
Drop all capabilities when starting containers by modifying docker-compose files to avoid security issue

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-23 15:38:21 +08:00
Daniel Jiang
b59a06aa5b
Merge pull request #6326 from wy65701436/bump-up-17
Bump up release version to v1.7.0
2018-11-23 10:49:46 +08:00
wang yan
694b6b5103 Bump up release version to v1.7.0
This commit is to upgrade the basci version of Harbor to v1.7.0

Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-22 16:37:51 +08:00
danfengliu
ad77098acf
add test case project level policy content trust. (#6309)
Add test case project level policy content trust.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-21 12:19:28 +08:00
Mia ZHOU
88cab5bc35
Merge pull request #6306 from pureshine/fy-test
Add E2E test for build history
2018-11-21 10:24:57 +08:00
danfengliu
5ceebcbb10
Add tese case of manage project memebers and modify (#6304)
Move admin_client to testutil.py as global parameter.
Change create_repository function name to push_image_to_project to make it reasonable.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-20 14:24:13 +08:00
FangyuanCheng
e7b8fb8f04 Add E2E test for build history
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-11-20 13:39:57 +08:00
danfengliu
9a46d6b3ac Add elif to if condition to make if condition as one sentence, so return code is accurate for each sentence. (#6291)
Remove a space.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-19 13:11:44 +08:00
Fangyuan Cheng
bbee74eba4
Merge pull request #6298 from pureshine/retag-test
Add E2E test for retag
2018-11-19 12:52:48 +08:00
FangyuanCheng
34dee765ec Add E2E test for retag
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-11-19 12:20:19 +08:00
Daniel Jiang
972ddf16db
Merge pull request #6297 from dankohn/dankohn-replace-logo
Update logo
2018-11-19 11:40:52 +08:00
Dan Kohn
4be4618705
Use updated Harbor logo
Signed-off-by: Dan Kohn <dan@dankohn.com>

Logo is from https://github.com/cncf/artwork
2018-11-18 15:56:53 -05:00
Dan Kohn
963a104380
Delete harbor_logo.png
Signed-off-by: Dan Kohn <dan@dankohn.com>
2018-11-18 15:54:44 -05:00
danfengliu
dcd34a37a9 add test case scan a not scanned image
Modify for codacy issues.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-16 15:35:15 +08:00
Qian Deng
38c4f12f2e
Merge pull request #6285 from ninjadq/fix_helmchart_testcase
Fix testcase of helm chart delete
2018-11-15 12:35:44 +08:00
Qian Deng
c716ebba59 Fix testcase of helm chart delete
Fix delete helm chart testcase

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-15 11:11:14 +08:00
danfengliu
1cc04183cb add test case for edit project creation;
fixed some space and import issues coddcy;
remove a lib;

Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-15 10:32:21 +08:00
Mia ZHOU
b7c56edfb7
Merge pull request #6258 from ninjadq/add_helm_chart_count_number_on_project_list
Enhance: Add helm chart count number in the project list
2018-11-14 13:05:57 +08:00
Mia ZHOU
13ea14af79
Merge pull request #6273 from ninjadq/extend_sleeping_time
Fix: Nightly test fail from time to time
2018-11-14 13:05:28 +08:00
Qian Deng
6d1163f592 Fix: Nightly test fail from time to time
Sometimes the time span of back to helm chart list is longer then 2 seconds.

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-13 17:22:12 +08:00
danfengliu
90fda71e4a Recovery repository.py for calling wrong create function (#6268)
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-13 12:53:46 +08:00
danfengliu
6289275118 Modify script call create project (#6263)
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 23:39:16 +08:00
danfengliu
205a658afb Only modify lib-project for seq of return (#6261)
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-12 16:59:55 +08:00
Qian Deng
405565b744 Enhance: Add helm chart count number in the project list
Project API return the helm chart count now, so put it to UI.

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-12 15:47:51 +08:00
stonezdj(Daojun Zhang)
ae007c2a49
Merge pull request #6247 from stonezdj/trust_cert2
Install custom cert for clair, registry, chartmuseum
2018-11-12 14:07:34 +08:00
Daniel Jiang
555c0cb181
Merge pull request #6220 from stonezdj/add_util_linux
Fix issue when query psql cli failed on more command not found
2018-11-09 17:39:47 +08:00
stonezdj
0a72f3729a Install custom cert for clair, registry, chartmuseum
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-11-09 15:03:03 +08:00
Daniel Jiang
dd9bd10e68
Merge pull request #6238 from ywk253100/181108_proxy
Replace ui with core for no_proxy in harbor.cfg
2018-11-09 14:19:13 +08:00
Qian Deng
6a3fe60d55
Merge pull request #6246 from zhoumeina/refactor_registry_for_admiral
Refactor registry for admiral
2018-11-09 13:48:43 +08:00
Meina Zhou
6bcc803588 modify registry component using tabs
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-09 12:58:26 +08:00
Wenkai Yin
32c42be677
Merge pull request #6241 from steven-zou/logger_framework_job_service
Uncomment the harbor configuration injection code block
2018-11-09 10:41:52 +08:00
Steven Zou
01bb7f4abb Uncomment the harbor configuration injection code block
Signed-off-by: Steven Zou <szou@vmware.com>
2018-11-09 10:19:14 +08:00
Steven Zou
8f0e8d083a Fix typo in the README doc of jobservice
Signed-off-by: Steven Zou <szou@vmware.com>
2018-11-08 18:24:41 +08:00
Steven Zou
b3c87673a6
Merge pull request #6215 from steven-zou/logger_framework_job_service
Build logger framework to support configurable loggers/sweepers/getters
2018-11-08 18:15:36 +08:00
Wenkai Yin
64cb507421 Replace ui with core for no_proxy in harbor.cfg
As we split UI into two components: portal and core, the value of no_proxy needs to be updated

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-08 16:10:26 +08:00
Mia ZHOU
08081d38fa modify test ldap button xpath (#6236)
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-08 13:44:13 +08:00
Steven Zou
093bf9fc8a Update the job service config yaml in the installation template
Signed-off-by: Steven Zou <szou@vmware.com>
2018-11-08 10:40:39 +08:00
Steven Zou
e6d4c024ee Update README of job service to reflect latest updates
Signed-off-by: Steven Zou <szou@vmware.com>
2018-11-08 10:35:12 +08:00
danfengliu
7494050534 add test case name in API_DB
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
ce8a585858 modfiy repo
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
9265754936 modify codacy errors in target
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00