Commit Graph

5648 Commits

Author SHA1 Message Date
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
danfengliu
a6151175e3 add lib for target
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
e6f5f62c53 Modify for codacy again
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
0b84ec84d9 Modify for codacy
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
danfengliu
660bfdf677 add test case of add a replication rule
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-08 10:33:14 +08:00
Wenkai Yin
55c609b1a7 Update automation test case (#6221)
1. Add "Wait Until ..." to "Change User Role In Project"
2. Rename case name to "Scan Image On Push"

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-07 13:08:32 +08:00
Mia ZHOU
db3088ae4d
Merge pull request #6218 from zhoumeina/upgrade_package_version
upgrade package version to rc6
2018-11-07 12:46:40 +08:00
James Zabala
ae1196ec8a
Merge pull request #6229 from ninjadq/change_title_wording
Fix:Vmware is appeared in ihe title of loading page
2018-11-06 08:55:48 -05:00
James Zabala
a5c0e09759
Merge pull request #6206 from jeffweilee/master
Refine Configure_https.md
2018-11-06 08:55:11 -05:00
Jeff Lee Wei Che
464fa3736c Update configure_https.md
Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

1. There is no need to have Getting Client Certificate Section. All we need is CA and Server Certificate.
2. Modify subtitle in Configuration and Installation:
1) Configure Server Certificate and Key for Harbor
2) Configure Server Certificate, Key and CA for Docker
3) Configure Harbor
3. Use yourdomain.com instead of reg.yourdomain.com throughout the article for better understanding.

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

1. There is no need to have Getting Client Certificate Section. All we need is CA and Server Certificate.
2. Modify subtitle in Configuration and Installation:
1) Configure Server Certificate and Key for Harbor
2) Configure Server Certificate, Key and CA for Docker
3) Configure Harbor
3. Use yourdomain.com instead of reg.yourdomain.com throughout the article for better understanding.

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

rebase PR of Refine Configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

signoff

Signed-off-by: jeffweilee <jeffweilee@gmail.com>
2018-11-06 21:10:56 +08:00
Wenkai Yin
56d57b0093
Merge pull request #6223 from reasonerjt/retry-in-webhook-handler
Wait for manifest in notification handler
2018-11-06 20:33:11 +08:00
Daniel Jiang
abe728325b Wait for manifest in notification handler
There's an issue in registry 2.6.x, that when the webhook is sent the
manifest of the image may not be written.
For details: https://github.com/docker/distribution/issues/2625

This will cause issue in "scan on push" or replication.
This commit mitigates the issue by adding retries in notification
handler.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-11-06 19:23:54 +08:00
Qian Deng
5210aecc76 Fix:Vmware is appeared in ihe title of loading page
Should change it to Harbor

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-06 19:00:46 +08:00
Wenkai Yin
4d829117de
Merge pull request #6222 from wy65701436/fix-swagger-delete
Fix issues on swagger file
2018-11-06 14:47:33 +08:00