wang yan
253e87d186
inject ldflags for harbor compiler and linker
...
1, replace the UIVERSION file with ldflags, which is generarted by make to inject into the UI core.
2, inject additional ldflags for harbor compiler
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-30 18:31:42 +08:00
Wenkai Yin
e20b538141
Add e2e test case for health check API
...
Add e2e test case for health check API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-10-29 13:48:06 +08:00
Danfeng Liu (c)
76c5cb85ec
Before user keyword Enable Self Reg, explore should be opened and navigate to harbor log in page.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-28 17:24:07 +08:00
Danfeng Liu (c)
afdf262ca6
In nightly test case of project members, xpath locator of remove a member is not strong enough for location, it used index of elemment, so it should be update by the meaning of the btn.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-28 14:52:24 +08:00
Steven Zou
5c4c04a122
Merge pull request #9602 from heww/upgrade-clair-adapter
...
Upgrade clair adapter to v1.0.0
2019-10-28 12:19:28 +08:00
jwangyangls
e8554b9d66
Merge pull request #9587 from jwangyangls/add-webhook-tests-1.10
...
Add webhook nightly case
2019-10-28 10:05:16 +08:00
He Weiwei
28e0c0693b
Upgrade clair adapter to v1.0.0
...
1. Upgrade clair adapter to v1.0.0.
2. Make the clair adapter which installed by harbor immutable and using internal registry address.
3. Add support to build clair adapter image from binary.
4. Switch to ScannerPull action when make authorization for the scan request.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-26 17:25:36 +00:00
Yogi_Wang
988279cdcb
Add webhook nightly case
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-25 15:25:32 +08:00
Ziming Zhang
7de8ce7472
add gpg sign
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I32d13be2f5b5f383113582a4b1ad5f74bdc7546b
2019-10-24 11:38:38 +08:00
jwangyangls
72776ed68c
Merge pull request #9515 from jwangyangls/fix-nightly-words
...
Modify the words of setting cli secret
2019-10-23 11:41:49 +08:00
wang yan
3e826c4e80
update query in the immutable delete manifest middleware
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-22 19:37:20 +08:00
Wang Yan
d503f2a245
Merge pull request #9489 from reasonerjt/bump-up-golang
...
Bump up golang to 1.12.12
2019-10-22 10:54:35 +08:00
Yogi_Wang
7b93e845e1
Modify the words of setting cli secret
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-22 10:11:25 +08:00
Daniel Jiang
dbe6ebceec
Bump up golang to 1.12.12
...
Bump up the golang for compiling the binaries to 1.12.12
This commit also includes some minor changes to Makefile to fix issue in
building the binary files.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-10-21 15:55:58 +08:00
Danfeng Liu (c)
7a7ac09fa0
Currently, self registration was disabled after harbor deployment, so all nightly db.robot test cases failed. To correct this, we should enable self-registration before running db test cases.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-21 14:34:34 +08:00
danfengliu
37030e513d
Merge pull request #9467 from danfengliu/modify-quota-error-msg
...
Fix nightly test case failure by project quota error message changed
2019-10-18 16:40:46 +08:00
wang yan
b7e336691d
fix drone ci docker compose version out of date
...
1, update docker-compose to latest
2, print log when to package offline installer
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-18 13:34:48 +08:00
Danfeng Liu (c)
732eda4196
Project quotas counting result is growing a little bit for unknow reason, images redis size was caculating from 25.8 to 25.9, so error message should be updated.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-18 10:30:05 +08:00
Wenkai Yin(尹文开)
97ddff2ac8
Merge pull request #9434 from heww/clair-adapter
...
build(clair): internal clair adapter when install with clair
2019-10-17 16:06:10 +08:00
He Weiwei
8964a8697a
build(clair): internal clair adapter when install with clair
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-17 12:00:51 +08:00
wang yan
66e9278fef
add npm registry when to build offline package in drone CI
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-16 11:59:42 +08:00
Danfeng Liu (c)
848002df83
Fix an error in prepary.py in Jenkins upgrade pipeline, which is a 'if' position error in project metadata population.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-14 18:11:17 +08:00
Steven Zou
a86afd6ebc
Merge branch 'master' into feature/pluggable_scanner_s3_merge
2019-10-12 15:18:06 +08:00
Wang Yan
454a427806
Merge pull request #9239 from danfengliu/project-metadata-verification-in-upgrade-verify-script
...
Add project meta data verifcation In nightly migrate pipeline
2019-10-11 14:05:33 +08:00
Steven Zou
58afd8e14b
[stage3] support pluggable scanner
...
- implement scan controller
- add scan resource and update role bindings
- update registration model and related interfaces
Signed-off-by: Steven Zou <szou@vmware.com>
- implement scan API to do scan/get report/get log
- update repository rest API to produce scan report summary
- update scan job hook handler
- update some UT cases
- update robot account making content
- hidden credential in the job log
Commnet scan related API test cases which will be re-activate later
fix #8985
fix the issues found by codacy
Signed-off-by: Steven Zou <szou@vmware.com>
2019-10-11 12:53:02 +08:00
Danfeng Liu (c)
96a271f388
In nightly migrate pipeline, after migration, should check all the data which were populated, for now, project meta data were populated, but were not been verified, so I add these verification in this PR.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-10-11 10:28:02 +08:00
danfengliu
ac0d3c991a
Add nightly test case of 'Retag should be forbidden when system configuration read-only mode was set'.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-10-10 17:13:19 +08:00
danfengliu
feeb6fb2d8
1. Nightly test case failed due to more vulnerbility CVE IDs in image redis, so add 2 new CVE IDs in CVE Whitelist test cases. 2. A Keyword parameter error was fixed in this PR.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-10-02 16:43:50 +08:00
danfengliu
f6759a0353
Merge pull request #9289 from danfengliu/add-cve-for-redis
...
Add a new CVE ID for image redis in nightly CVE system and project level whitelist tests
2019-09-27 22:05:25 +08:00
danfengliu
0ff1ef8766
Merge pull request #9225 from danfengliu/add-retry-for-get-project-Quotas
...
Add a keyword 'Retry Keyword When Return Value Mismatch'
2019-09-27 17:23:38 +08:00
danfengliu
2298b96170
In nightly CVE whitelist tests, there be a new CVE occured in image redis, so add this for test verifcation.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-27 17:20:06 +08:00
He Weiwei
4ce72e37c4
fix(robot): robot account improvement for policies
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-27 03:07:58 +00:00
Danfeng Liu (c)
20dc245631
In nightly helm pipeline, test case 'Project Quotas Control Under GC' failed, it should be timing issue that the valuse in UI is not ready, so I add a keyword 'Retry Keyword When Return Value Mismatch' to retry value getting action.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-25 17:02:05 +08:00
danfengliu
1157f129b4
After angular upgrade, in DB.robot, 4 test cases failed at create-a-new-user, the reason is that no sleep between input or click action, some blank was not inputed, so I add retry keyword for those actions.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-24 10:55:38 +08:00
danfengliu
7844ca0a2f
Merge pull request #9214 from danfengliu/add-nightly-test-case-of-retag-under-readonly-mode
...
Add id for system configuration repo-readonly-checkbox in UI code
2019-09-24 10:43:55 +08:00
Danfeng Liu (c)
3c8db37616
Add id for system configuration repo-readonly-checkbox in UI code, and add element locator in robot case.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-23 21:55:27 +08:00
danfengliu
cb5a145f27
Merge pull request #9212 from danfengliu/upgrade-preparev17-for-new-migrate-jenkins-pipeline-add-more-test-data
...
commented 2 lines to remove Vulnerability scan all data verification
2019-09-23 19:00:19 +08:00
danfengliu
7144f23857
Merge pull request #9204 from danfengliu/add-id-for-sign-up-btn
...
Modify sign-up button xpath from relative html path to id
2019-09-23 18:00:51 +08:00
Danfeng Liu (c)
6e4331fb92
In this PR right now, I commented 2 lines to remove a verification, it's because that Vulnerability data is not consistent when migrate harbor from 1.7 to 1.9, I've filed an issue to follow it, once it's fixed, these 2 commented lines will be come back.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-23 16:14:01 +08:00
Danfeng Liu (c)
cca1fab069
Modify sign-up button xpath from relative html path to id, and modify script.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-23 15:40:27 +08:00
Ziming
df625f4ef9
Merge pull request #9177 from bitsf/fix_tag_retention_test
...
adjust wait job timeout in test case
2019-09-23 14:47:05 +08:00
Danfeng Liu (c)
9a147f0999
In nightly test, keyword <Create An New Project> failed after angular upgrade, the OK button in create new project page was clicked, but it's not effective, so I add a retry for OK button click, if the button was not disappeared, script will be clicked again.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-20 16:22:10 +08:00
Ziming Zhang
afe81a8b3b
adjust wait job timeout
...
Change-Id: I8f32f814158d4a7418c39edb7a781879db17a4d7
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-09-20 16:18:03 +08:00
Danfeng Liu (c)
9e05e6dc74
After angula upraded, all migrate pipelines failed at system setting project creation verification. Keyword of Page Should Contain is not working anymore in new UI, so I choosen a new more precise way of checking the select element value of 'everyone'
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-20 14:55:53 +08:00
Danfeng Liu (c)
5d1913842c
Script test case for project quotas, there will be 2 or 3 test cases in this PR, like project quota edit, prject quota functionality.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-18 17:55:25 +08:00
jwangyangls
6dd2ae90a0
Merge pull request #9011 from jwangyangls/upgrade_clarity-2.1
...
Upgrade angular from 7.1.3 to 8.2.0 and clarity from 1.0 to 2.2
2019-09-18 10:45:40 +08:00
Yogi_Wang
a7c7a8e675
Upgrade angualr from 7.1.3 to 8.2.0 and clarity from 1.0 to 2.2
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
Signed-off-by: Meina Zhou <meinaz@vmware.com>
Signed-off-by: sshijun <sshijun@vmware.com>
2019-09-18 10:12:20 +08:00
Wang Yan
6b5fd36bb3
add e2e test case for project quota
...
1. Create a new user(UA);
2. Create a new private project(PA) by user(UA);
3. Add user(UA) as a member of project(PA) with project-admin role;
4. Push an image to project(PA) by user(UA), then check the project quota usage;
5. Check quota change
6. Delete image, the quota should be changed to 0.
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-15 22:16:11 +08:00
Meina Zhou
70961ca02c
upgrade node js version in ci and split the job to run frontend ut
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-09-11 14:55:31 +08:00
Danfeng Liu (c)
ca8590c878
Replace CVE sample image from other to redis in union, redis is stable in relative, so test result will be stable relatively
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-09 18:36:07 +08:00
jwangyangls
f200125abb
Merge pull request #8980 from danfengliu/replace-image-for-ECR-test
...
Replace image from tomcat to alpine for small size
2019-09-06 21:02:45 +08:00
Ziming Zhang
722e45b20b
add swagger for tag retention
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I0f3ed8085e231868de74c273ba85946826181d5b
2019-09-06 17:27:20 +08:00
Danfeng Liu (c)
13af86dd85
Replace image from tomcat to alpine for small size, then it will not take a long time for replication.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-06 17:26:47 +08:00
danfengliu
8539ce7b77
Add CVE whitelist project level API test into travis tests.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-05 18:02:53 +08:00
danfengliu
8503957eac
1.Add CVE white list API test into API_DB.robot;2.Random data for prject name should use lower case %m%s;3.Replace from harbor to self.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-04 15:50:09 +08:00
danfengliu
5c8890bc6d
Replace image from httpd to haproxy:1.5 to make sure serverity is stable for test.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-03 14:04:59 +08:00
Wang Yan
4d5e549731
Merge pull request #8904 from danfengliu/Add-ECR-And-GCR-registry-to-nightly-replication-tests
...
Add AWS-ECR and Google-GCR replication test into nighly tests.
2019-09-03 13:38:57 +08:00
danfengliu
7d681c623b
Add AWS-ECR and Google-GCR replication test into nighly tests.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-02 17:53:49 +08:00
Qian Deng
530240d8a3
Merge pull request #8897 from danfengliu/add-a-cve-id-to-add-system
...
Fix nightly case to handle new vuln found by Clair.
2019-09-02 10:10:41 +08:00
danfengliu
68fd128252
Clair scan result is not accurate that when I script this case, only 6 high CVE-ID, but in today nightly result, one more CVE-ID popuped, so I have to add it.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-30 09:55:55 +08:00
Ziming Zhang
8fb6e2f65b
verify permission of GetRetentionExecTaskLog
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I4bf4ddf3d3ed6f07a4618e242e2f3774996716d6
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-08-29 15:01:53 +08:00
danfengliu
7217ed5358
Add CVE Whitelist test cases into nightly test, first test case is system CVE Whitelist test.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-28 14:01:43 +08:00
danfengliu
841ac24ebc
Add API test case sign image back to travis, despite codacy block it when pulling a pr. ( #8617 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-19 13:35:45 +08:00
Daniel Jiang
747bf849d2
Merge pull request #8670 from reasonerjt/proj-cve-wl-apitest
...
API test for project level CVE whitelist
2019-08-16 18:17:26 +08:00
danfengliu
2aa6f1aed7
Merge branch 'master' into add-sign-api-back-to-travis-despite-codacy-1
2019-08-16 16:28:49 +08:00
wang yan
ddb913f8d0
Add API test case sign image back to travis, despite codacy block it when pulling a pr.
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-16 01:26:36 -07:00
Wang Yan
aab3925dab
Merge pull request #8646 from bitsf/add_harbor_test_ca
...
use fix root CA for test
2019-08-16 15:19:22 +08:00
Daniel Jiang
e4a78ba039
API test for project level CVE whitelist
...
This commit update test case to cover project level CVE whitelist.
It also fixes the swagger doc to add missing attributes
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-15 11:37:22 +08:00
stonezdj(Daojun Zhang)
032d57d8b2
Merge pull request #8656 from reasonerjt/cve_whitelist_apitest
...
API test for system level CVE whitelist
2019-08-14 18:26:06 +08:00
Daniel Jiang
d01597ba23
API test for system level CVE whitelist
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-14 14:59:58 +08:00
Ziming Zhang
2ca0b6bd1f
use fix root CA for test
...
Change-Id: Ic663de04287d0cf963de71c3c18b43ed71f8139f
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-08-14 13:58:20 +08:00
danfengliu
1f53a47102
add replication testcase in api_db.robot file ( #8636 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-14 10:45:20 +08:00
wang yan
76c52c2332
append commit to fix core compile error introduced by pr #8606
...
Signed-off-by: wang yan <wangyan@vmware.com>
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-14 00:22:55 +08:00
wang yan
699a935c05
temporary disable result checking on coverall service in travis ci
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-13 23:29:26 +08:00
danfengliu
1b0931c034
Since harbor 1.8 released, API test for replication was not update yet, so in this PR, replicaiton test will be adapt for harbor 1.8.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-08 17:06:37 +08:00
Wang Yan
4f7e225e69
Merge pull request #8530 from danfengliu/get-ca-from-harbor-api
...
After helm cli test was added to nightly, ca was get by reading from …
2019-08-06 14:00:41 +08:00
danfengliu
3eeb8cf355
After helm cli test was added to nightly, ca was get by reading from local file, but in helm nighly test, ca file was not in local, it has to be got from harbor api.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-06 11:28:54 +08:00
danfengliu
6818ce9b06
Adding retry for wait element visibility, in nightly test case Developer-Operate-Labels, project didn't show up when checking its visiblity, so add some wait for this check. ( #8554 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-05 16:13:39 +08:00
danfengliu
b7803571d4
Currently, nightly test pipeline was only in one level category of auth_mode and upgrade, now we like to add a level base on the original level which is harbor deployment parameters. ( #8398 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-08-01 15:10:54 +08:00
danfengliu
01e3175647
In nightly test, there're some element click error occured in a rare occasion, so add a sleep to give it a try. ( #8428 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-29 13:37:02 +08:00
danfengliu
a31d12e01e
modify xpath of project member due to summary tab was added in project. ( #8421 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-26 17:18:47 +08:00
danfengliu
8665274406
In nighly test case <Project Level Image Serverity Policy>, scan result of haproxy image is nolonger high but medium, it should be a bug of clair, so we replace haproxy by postgres, and also we pull postgres with sha256 to make sure the image under test is alway the specific one.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-25 10:27:10 +08:00
Wang Yan
04d63f887d
Merge pull request #8324 from ninjadq/ci_build_prepare_locally
...
Travis ci build prepare container in local
2019-07-18 15:14:10 +08:00
DQ
5adc29c07f
Travis ci build prepare container in local
...
build prepare container before running ut case
Signed-off-by: DQ <dengq@vmware.com>
2019-07-18 14:46:05 +08:00
danfengliu
554b0771fe
Due to adding new feature for white list, xpath of configuration changed, it caused failure of nightly tests, so it should be fixed. ( #8307 )
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-07-17 16:46:26 +08:00
danfengliu
9b61bf4fce
In nightly test case 'list helm chart', delete chart ( #8280 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-17 15:32:10 +08:00
danfengliu
a8300d91e6
Add a nightly test case helm CLI, in this case, we verify help repo add and helm push. ( #8240 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-16 14:00:30 +08:00
danfengliu
fa51ac6406
Add user027 and user028 to ldap service, it was added in ldap_test.ldif for nightly test. ( #8158 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-08 15:30:08 +08:00
danfengliu
db012c816d
In nightly test case <Delete Multi Member>, 'action' was clicked, but the dropdown list was't not shown up, so we should add a comfirmation to make sure the expected element show up. ( #8146 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-07-08 15:28:28 +08:00
Wenkai Yin(尹文开)
766d5ee017
Merge pull request #8118 from wy65701436/fix-offline
...
Fix issues on packaging offline installer
2019-06-25 08:41:27 +08:00
Daniel Jiang
736f5ca7fa
Merge pull request #8123 from wy65701436/upload-image-for-release
...
Enable push dev images on release branch
2019-06-24 22:14:42 +08:00
danfengliu
432d0757f0
In nightly test, case Disable-Scan-Schedule always failed at action of edit button click, so we should add a comfirmation to make sure that this button will be disappeared after click action. ( #8126 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-06-24 18:09:34 +08:00
wang yan
49ad641d4f
Remove duplicate docker push
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-24 10:03:42 +08:00
wang yan
f4aa8d062b
Enable push dev images on release branch
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-21 23:04:15 +08:00
wang yan
f32a8c60b6
Fix issues on packaging offline installer
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-21 14:30:06 +08:00
Wang Yan
8cd155088d
Merge pull request #8073 from wy65701436/fix-build-offline
...
Fix issue on building package offline and online installer
2019-06-19 19:53:22 +08:00
danfengliu
74d39afbb0
Modify robot-framework keyword <Retry Double Keywords When Error>, when the second action is success, should quit keyword.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-06-18 16:40:11 +08:00
wang yan
ab5ca5e083
Fix issue on building package offline and online installer
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-18 14:57:17 +08:00
Wang Yan
251b481165
Merge pull request #7983 from danfengliu/fix-nightly-keyword-Go-Into-Repo
...
Element Clicked returns OK, but the element was not click functionally
2019-06-17 17:53:38 +08:00
danfengliu
a9998adfae
In robot-framework, Element Clicked returns OK, but the element was not click functionally
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-06-17 16:12:38 +08:00
wang yan
02332caaf4
Remove the compile golang image tag setting when to build offline
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-06-14 12:51:29 +08:00
Daniel Jiang
737eaa396c
Bump up to go 1.12.5 enable go.mod
...
This commit bumps up the version of Go to compile the code to v1.12.5,
and shifts to go.mod for managing depedency.
Some code from "harbor/tests" to "harbor/src/testing" to avoid depedency
loop of modules.
Note that in short term we will still vendor the dependency.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-06-11 00:42:20 +08:00
danfengliu
d8b76c482a
Add 2 UI test cases which is replication rule edit and delete. ( #7904 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-06-03 16:58:24 +08:00
danfengliu
9d78038940
Population data tool - prepare.py has been adapted for the latest version due to API changing, but the old version still was needed in other place, so it should be add it back and give it a new name. ( #7943 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-31 17:05:27 +08:00
danfengliu
496533296d
Jenkin job cd_daily_master failed due to sign image failure, but there're other failure for replicaiton NG, so API for replication NG need to be updated. ( #7778 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-30 15:59:09 +08:00
danfengliu
e66d857fbc
Add test case secret-verify for oidc-auth-mode feature by adding some keywords and one test cases.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-27 14:31:14 +08:00
danfengliu
a2b651969c
Fix bug for manage-project-member, due to keywords changed for oidc-auth-mode, test case manage-project-member should be debug at the same time. ( #7888 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-24 15:22:28 +08:00
danfengliu
fed310a974
Add test case for oidc auth mode ( #7860 )
...
* Nightly test case user-view-logs failed several times, after debugging, the reason is checking too fast although the operation has not finsished, so I add a checking for end of the operation.
Signed-off-by: danfengliu <danfengl@vmware.com>
* Add test case Manage-Project-Member for oidc auth mode Jenkins pipeline, this test case reuse the same test case in common file.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-23 15:43:59 +08:00
danfengliu
7b7f7a920a
Nightly test case user-view-logs failed several times, after debugging, the reason is checking too fast although the operation has not finsished, so I add a checking for end of the operation. ( #7858 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-22 14:06:07 +08:00
danfengliu
a503944110
OIDC authentication is a new feature in version 1.8.0, so add nightly GUI test cases for OIDC authentication scenario. ( #7745 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-22 11:19:08 +08:00
Qian Deng
eba20baba5
Merge pull request #7612 from ninjadq/fix_tls_related_issues
...
Fix tls related issues
2019-05-10 16:36:51 +08:00
danfengliu
8a2ee784a4
Missing modification in keyword <Create A New Endpoint>, due to changing of docker-hub select item, it must be modified. ( #7754 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-10 14:24:12 +08:00
Qian Deng
6ea0514bb7
Revert "Set default mode to https"
...
This reverts commit 8a308a63e2
.
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-10 13:18:48 +08:00
Wenkai Yin
b3a344b60e
Fix travis failure: read the content of env instead of config_env as the config_env has been removed
...
Read the content of env instead of config_env as the config_env has been removed
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-09 17:26:56 +08:00
danfengliu
dffb2bbd98
Due to replication NG feature already in master branch, old replication UI test cases have been moved out of Jenkins pipeline, and here test case <Replication Of Pull Images from DockerHub To Self> and <Replication Of Push Images from Self To Harbor> has been finished and ready for duty. Other modification is add retry for keywords in UserProfile.robot ( #7611 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-09 15:44:48 +08:00
Steven Zou
b664b90b86
Merge pull request #7585 from steven-zou/add_get_jobs_API
...
add get jobs API to provide powerful job stats management
2019-05-08 17:17:33 +08:00
Steven Zou
2562146faf
adjust the order of robot test case of API_DB
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-05-07 16:13:31 +08:00
danfengliu
9019864446
In API test, there is a dead loop in checking GC status, it's fixed in this PR and add log inmformation in the loop. ( #7643 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-06 17:24:33 +08:00
danfengliu
e08c2e757e
This API test script was blocked by a swagger error, now this error was fixed, so robot account script can be finished now. In swagger.yaml, robot account can be updated in "disbled" status, it's added into script. ( #7636 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-05-06 11:34:11 +08:00
danfengliu
c4fbcb481e
Due to replication NG feature already in master branch, old replication UI test cases have been moved out of Jenkins pipeline, and here is that test case endpoint add/edit/delete have been finished and ready for duty. ( #7496 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-24 11:20:26 +08:00
danfengliu
c3c10a87b2
Due to replication NG feature already in master branch, old replication UI test cases have been moved out of Jenkins pipeline, and here test case add-replication-test-case-Endpoint-Verification has been finished and ready for duty. ( #7472 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-23 15:33:04 +08:00
danfengliu
6b9584a71f
Add retry and wait for keyword <View Repo Scan Details>, Jenkins chart CI failed at 1 test case in rare occasion, the reason is lacking of wait and retry to wait. ( #7466 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-22 15:47:43 +08:00
danfengliu
4e8d4fca85
Due to replication NG feature already in master branch, old replication UI test cases have been moved out of Jenkins pipline, and here test case Pro-Replication-Rules-Add has been finished and ready for duty. ( #7453 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-22 09:58:02 +08:00
Daniel Jiang
71cd51c9f4
Merge pull request #7326 from ninjadq/default_config_to_https
...
Set default mode to https
2019-04-22 09:24:39 +08:00
stonezdj(Daojun Zhang)
36d13e8243
Merge pull request #7328 from stonezdj/debts
...
Fix issue 6450 Test LDAP server error without save configuration
2019-04-19 16:51:57 +08:00
danfengliu
15846ac524
Feature - Replication was upgraded, so the corrsponding UI test cases are nolonger available any more, we left an empty Replication.robot file, then add new test cases step by step. ( #7436 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-18 17:07:39 +08:00
stonezdj
41a574e55c
Fix issue 6450 Test LDAP server error without save configuration
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-04-18 14:24:21 +08:00
wang yan
e017294f71
merge with master latest
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 17:52:39 +08:00
Wang Yan
a6af9e9972
Support well-formatted error returned from the REST APIs. ( #6957 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 16:43:06 +08:00
Qian Deng
8a308a63e2
Set default mode to https
...
Default mode to https
The cert file value is set to previous version style
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-04-16 15:50:12 +08:00
Wenkai Yin
174a1f5bfa
Remove the E2E test cases for replication
...
Remove the E2E test cases for replication
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-12 17:37:14 +08:00
danfengliu
887694019e
Sign-in element xpath has changed, so it need to be modified to the new one. ( #7355 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-12 16:15:23 +08:00
danfengliu
c320645ba1
many keywords in ToolKit.robot miss wait or retry when operating elements, and it has cause test case failure one time, so I modify all keywords in ToolKit.robot. ( #7340 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-11 15:15:35 +08:00
danfengliu
08b346ee1e
Add API test case for retag, create a user and 2 projects by this new user, push image to 1st project, and retag this image to 2nd project. ( #7300 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-11 15:05:46 +08:00
Qian Deng
fdf57f07f0
Merge pull request #7277 from ninjadq/refactor_config_file
...
Refactor config file
2019-04-09 15:48:15 +08:00
Qian Deng
deba378842
Enhance: Refacotr Registry config file
...
1. Refactor registry configs
2. cp gcs keyfile is exist
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-04-09 14:40:41 +08:00
danfengliu
7c0273e5f9
Add a checkpoint in the end of key word <Add Guest Member To Project>, to make sure that the confirm button was click successfully, to see if this confirm button was dissappered after clicked. ( #7320 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-09 13:41:56 +08:00
danfengliu
0e0c691225
In project.robot, many element click or other action keywords missing retry, it will cause innessesary sleep in scripts. ( #7274 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-04-09 10:44:24 +08:00
jwangyangls
a27df46fb6
Merge pull request #7292 from jwangyangls/fix_login_robot_issue
...
Fix nightly test case failed when login harbor.
2019-04-04 12:14:43 +08:00
Yogi_Wang
4416e1810e
fix login harbor issue with test case
...
Solve the problem that when we log on to the harbor page, the automation test will click on an incorrect button, which results in the test page being unable to log in.
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-04-04 09:58:46 +08:00
FangyuanCheng
82716d492d
move vulnerability and gc ui
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-04-03 14:39:46 +08:00
danfengliu
3db3f3a62e
add test cases for jenkins upgrade project, wrap test cases body into new keywords, so that case body appears only in one single place ( #7243 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-28 14:37:03 +08:00
danfengliu
6b19b99c97
test case Disable Scan Schedule failed at page should contain part, it missing wait until and retry, so add one ( #7228 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-27 15:33:31 +08:00
FangyuanCheng
dada47c07e
Refactoring vulnerability ui support cron
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-03-23 20:58:45 +08:00
Yan
8d3946a0e2
Refactor scan all api ( #7120 )
...
* Refactor scan all api
This commit is to let scan all api using admin job to handle schedule
management. After the PR, GC and scan all share unified code path.
Signed-off-by: wang yan <wangyan@vmware.com>
* update admin job api code according to review comments
Signed-off-by: wang yan <wangyan@vmware.com>
* Update test code and comments per review
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-22 17:52:21 +08:00
Qian Deng
ba4764c61d
Merge pull request #6755 from ninjadq/refactor_prepare
...
Refactor the prepare script
2019-03-22 14:54:30 +08:00
Qian Deng
fcdab4d4af
Fix: packaging offline in new prepare
...
This new prepare script now support offline packaging
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-22 13:56:15 +08:00
danfengliu
cd33d312fb
Due to domain name was changed to legal valid one with a slash and sub directory, the name of directory for CA notary client is wrong, so it's need to be modified. ( #7169 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-20 11:28:57 +08:00
danfengliu
d9eb519e6c
Test case <List Helm Charts> failed occasionally, due to lacking of wail and retry for action word, so this case need to be refected. ( #7165 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-18 18:06:46 +08:00
danfengliu
8089ee10ce
add a checkpoint for keyword-Add-Guest-Member-To-Project to make sure the OK button has disapeared, the the following action will not be blocked ( #7151 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-15 17:18:44 +08:00
danfengliu
eda6bbf8e6
add checkpoint for keyword Go Into Repo to make sure the tag in repository shown up completly. ( #7142 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-14 18:38:08 +08:00
De Chen
41e290a17f
Merge pull request #6877 from yeya24/patch/fixtypo
...
fix some typos
2019-03-12 20:07:15 +08:00
danfengliu
a618a2c2ac
Button was not clicked successfully in keyword < Delete Repo>, but the click action returned pass, so I add a checkpoint after clicking the delete button, make sure the pop info had disappeared, it means delete button was clicked successfully. ( #7071 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-11 10:34:53 +08:00
Qian Deng
ab7c81dac6
Fix: the adminserver caused regression
...
Remove some code related to adminserver
Fix some issues by adminserver removeing
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:13 +08:00
Qian Deng
5f80fe7b8a
Refacotr the prepare script base on the proposal https://github.com/goharbor/community/pull/22
...
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-03-08 16:46:13 +08:00
Wenkai Yin
db7a709aad
Merge pull request #7063 from heww/users-search
...
Add users search API
2019-03-07 15:58:26 +08:00
He Weiwei
20556aebd2
Add users search API
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-03-07 12:47:26 +08:00
danfengliu
98c6889053
Configuration item verify_remote_cert is no longer useful, so it was delete from data population script
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-05 15:53:14 +08:00
danfengliu
62bb10d2e4
Nightly test case <List Helm Charts> is not stable, due to keyword <Go Back To Versions And Delete> failed at delete button click on a rare occasion, so I wrap 2 related action into one transaction, it does help. ( #7050 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-03-01 18:25:45 +08:00
danfengliu
340577076c
add a jenkins job for migrate harbor from 1.6 to the latest, make some modification in prepare.py to adapt harbor 1.6 ( #7025 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-27 14:27:39 +08:00
danfengliu
4dc983d419
In nightly tests, keyword <Multi Delete Object> failed on a rare occasion, so add retry for elemnet click in this keyword. ( #7022 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-26 18:43:24 +08:00
danfengliu
a9b27b0071
In nightly test, 2 errors occurred, chrome webdrive initializtion failed, and delete repoitory on card view failed too, so add a retry for ffailure and add some sleep. ( #7012 )
...
Add retry in keyword "Delete Repo".
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-26 13:37:16 +08:00
danfengliu
c7d1e18477
In Nightly-CI keyword <Delete Repo> failed on the rare occasion. The appearance is that the repo check-box is not checked, although Click action keyword returned success, it effected the following actions. ( #7003 )
...
For now, add a sleep to make it a try, and also add Capture Page Screenshot for debugging.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-25 10:48:04 +08:00
stonezdj
0cba36d79f
Remove everything of adminserver
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-02-22 16:34:39 +08:00
danfengliu
a1063edae6
Add GUI test script for new feature of master-role, without adding a new case for master-role, I add new test steps in old test case named Manage-Project-Members, because master-role is a sub function in project members. ( #6945 )
...
In this PR, I also modify a public action keyword to make it suitble for indefinite numbers of parameters.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-22 14:11:56 +08:00
stonezdj
36e1c13a43
fix ut error in systeminfo_test.go
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-02-18 14:06:19 +08:00
stonezdj
1ae5126bb4
Refactor adminserver stage 3: replace config api and change ut settings
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-02-18 14:06:19 +08:00
danfengliu
eaedd89c25
add api test case for robot user, and modify swagger.yaml for wrong type of return value. ( #6900 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-18 13:47:16 +08:00
danfengliu
b83cf2e4c0
GC function hbas been change, verify criteria must be changed by add manifests ( #6934 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-15 11:06:22 +08:00
Wenkai Yin
cd57f70f2f
Merge pull request #6901 from wy65701436/upgrade-registry-270
...
Upgrade registry binary to v2.7.1
2019-02-13 19:01:37 +08:00
danfengliu
275a917dbf
add Capture Page Screenshot in retry keyword ( #6897 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-13 14:48:09 +08:00
wang yan
c77b387c53
Upgrade registry binary to v2.7.0
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-02-13 10:24:08 +08:00
yeya24
628b94db19
fix some typos
...
Signed-off-by: yeya24 <ben.ye@daocloud.io>
2019-02-05 12:03:52 +08:00
jwangyangls
3d726219e5
Merge pull request #6758 from jwangyangls/privilege_escalation
...
user permission change and add master role
2019-01-31 18:57:22 +08:00
System Administrator
1a551690d3
promission reset
...
Signed-off-by: Yogi_Wang <wang1084@126.com>
2019-01-31 18:06:49 +08:00
danfengliu
47530cd62e
remove some sleep and add retry common keyword ( #6875 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-31 17:58:05 +08:00
danfengliu
e5efbfe490
add retry keyword for docker pull and push image command. ( #6857 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-31 16:08:58 +08:00
danfengliu
e12fd13c56
Encapsulate keyword <element click> and add it into keyword <Go Back To Versions And Delete>, this porblem caused case failure of <List Helm Charts> randomly. ( #6834 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-30 14:22:31 +08:00
Daniel Jiang
bf663df0e7
Merge pull request #6820 from wy65701436/robot-service
...
Add robot account authn & authz implementation
2019-01-29 16:08:25 +08:00
He Weiwei
1da0a66fe5
Merge pull request #6781 from heww/user-permissions-api
...
Implement api for get current user permissions
2019-01-29 01:58:51 +08:00
He Weiwei
8b5e68073d
Implement api for get current user permissions
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-28 18:06:52 +08:00
Yan
71f37fb820
* Add robot account authn & authz implementation.
...
This commit is to add the jwt token service, and do the authn & authz for robot account.
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-28 17:39:57 +08:00
danfengliu
9aeb626fe3
The former way to verify project creation is by API calling, but it's not a GUI operation, which is not a goal for operator, so I replace it with GUI verification ( #6816 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-28 16:32:45 +08:00
danfengliu
923432a172
resort test case, 2 test cases failed due to unfinish chart data preparation, so resort the test cases, move the verification test case ahead of the 2 failed cases. ( #6818 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-25 10:26:14 +08:00
danfengliu
b0c1adab8d
add retry for make swagger client ( #6813 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-24 17:09:32 +08:00
danfengliu
257eebfebe
Add space adaptor for regexp when create a new project, we loose the criteria to match the project name because the return json datat may be shown in different lines . ( #6768 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-24 09:38:46 +08:00
danfengliu
f29960628a
Keyword <Go Into Project> has modified, but verify.robot didn't adapt this keyword.
...
Modifications:
1.Add paramenter hasimage in data.json
2.Modify Harbor-Pages\Verify.robot to pass it to <Go Into Project>
3.Add loop and exception-catch in <Go Into Project> to prevent using Sleep and failure by exception(this exception was caused by short time of paga loading)
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-17 17:46:17 +08:00
danfengliu
fd5e109583
add wait until in keyword <Create An New Project>
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-15 17:46:46 +08:00
Wenkai Yin
60425676ac
Merge pull request #6733 from danfengliu/Add-WaitUntil-In-Keywords-Stage2
...
Add wait until in <Multi-delete Object> and <Project Should Display>
2019-01-14 17:22:39 +08:00
danfengliu
73b9e95464
Add wait until in <Multi-delete Object> and <Project Should Display>
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-14 15:19:30 +08:00
danfengliu
de30438d01
modify a code error by copy mistake ( #6736 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-14 11:02:11 +08:00
Daniel Jiang
a1d4bfd332
Merge pull request #6344 from reasonerjt/bump-up-golang
...
Bump up golang to 1.11.2
2019-01-11 16:15:59 +08:00
Daniel Jiang
5d59d6fab8
Bump up golang to 1.11.2
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-01-11 14:44:32 +08:00
danfengliu
0b27037e34
Two modifications in PR:1. Due to GUI change on position of "project creation" configuration, script must be adjust with the corresponding change; 2. Fixed a issue of no exception caught when http request has error, all the system config will be set by a common request function. ( #6715 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-11 13:40:08 +08:00
System Administrator
27c180bf20
fix_bug
...
Signed-off-by: Yogi_Wang <wang1084@126.com>
2019-01-11 11:00:46 +08:00
Wenkai Yin
60a58cba11
Merge pull request #6619 from danfengliu/robot-script-refector-of-sign-in-harbor
...
Robot script refactor for keyword sign-in-harbor
2019-01-10 13:42:15 +08:00
jwangyangls
07ad9d1dd5
Merge pull request #6701 from jwangyangls/upgrade_clr_1.0.3_issue
...
Upgrade clr 1.0.0 issue
2019-01-08 14:17:17 +08:00
danfengliu
d853adce46
Robot scripts refactor for keyword sign-in-harbor and other few keywords, mainly on replacing 'sleep' to 'wait until', and also add a checkpoint in "Go Into Project" keyword to verify the result of loading a project page.
...
Modify Switch To Log and Back To projects
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-01-08 13:44:14 +08:00
Yogi_Wang
10d74eabd7
upgrade clarity components to 1.0 and fix issue
...
Signed-off-by: Yogi_Wang <Yogiwang@Yogi-WangdeMacBook-Pro.local>
2019-01-08 12:50:26 +08:00
FangyuanCheng
55e868bd9f
fix test case for project link
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-01-08 11:28:03 +08:00
Yogi_Wang
aee07fff96
upgrade clarity components to 1.0
...
Signed-off-by: Yogi_Wang <Yogiwang@Yogi-WangdeMacBook-Pro.local>
2019-01-03 10:32:52 +08:00
FangyuanCheng
9a52059e89
fix nightly test of retag
...
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-12-21 17:34:15 +08:00
danfengliu
70016cc0eb
Change a small docker image to pull and make timeout value longer ( #6543 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-18 10:21:03 +08:00
James Zabala
6ac0c4b882
Merge pull request #6416 from danfengliu/Modify-Test-Script-Project-Level-Policy-Content-Trust
...
Remove redundant functions
2018-12-12 11:19:35 -05:00
Mia ZHOU
06eec7b3ed
Merge pull request #6479 from zhoumeina/fix_scan_log_nightly
...
quick fix for scan log
2018-12-07 14:39:29 +08:00
Meina Zhou
7827f19671
quick fix for scan log
...
This is a quick fix
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-12-07 12:29:15 +08:00
wang yan
109350a8c3
Fix robot framework version to 3.0.4
...
As pip will always install the latest version, to avoid any break change,
just fix the framework to 3.0.4
Signed-off-by: wang yan <wangyan@vmware.com>
2018-12-07 11:45:57 +08:00
danfengliu
7c57864c99
Remove 2 redundant functions, pull_harbor_image_successfully and pull_harbor_image_unsuccessfully.
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-04 13:46:07 +08:00
danfengliu
3356368bff
Add API test case assign system admin role. ( #6413 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-04 12:26:12 +08:00
Qian Deng
7d4de8743b
Fix: Rebotcase failure in upload chart ( #6411 )
...
Fix testcase because of wrong keyword
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-12-03 18:49:07 +08:00
danfengliu
b4c7663f5f
Add API test case scan all images and test case API test case list helm charts. ( #6388 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-03 17:05:06 +08:00
Mia ZHOU
a90fb5219c
Merge pull request #6394 from ninjadq/fix_robot_cases_for_global_search
...
Fix xpath in go to project robot case
2018-11-30 16:43:55 +08:00
Qian Deng
9dd509e0eb
Fix xpath in go to project robot case
...
Global search bug fix introduced test case failure, fix it by edit xpath
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-30 15:33:14 +08:00
Wenkai Yin
9d5cf57373
Check the existence of name when creating replication rule and fix bugs in testing library ( #6381 )
...
1. Fix #5102 by checking the existence of name when creating/editing replication rule
2. Add unique constraint to the name of replication policy and target
3. Fix bugs of testing library
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-30 13:32:20 +08:00
danfengliu
04fd4d444d
Add API test case for user view logs. ( #6370 )
...
Add API test case for user view logs.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-29 18:27:53 +08:00
Mia ZHOU
3c000f10a0
Merge pull request #6338 from ninjadq/fix_chart_ui_related_issues
...
Fix chart ui related issues
2018-11-29 10:11:44 +08:00
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
Qian Deng
8ca917291e
Fix: upload chart version testcase failure in nightly
...
This is because after 2 seconds the modal still exist
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-23 17:03:15 +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
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
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
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
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
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
Wenkai Yin
8c376ac55a
Merge pull request #6205 from ywk253100/181102_case
...
Check the vul data before running scan-on-push case
2018-11-05 21:09:26 +08:00
danfengliu
342a1051db
Merge pull request #6197 from danfengliu/add-tc-del-label
...
Add test cases <add global label to a image> and <delete repository>.
2018-11-02 18:46:19 +08:00
Wenkai Yin
40f8f4bc5d
Check the vul data before running scan-on-push case
...
Update the automation case to wait until the vul data is ready before running the scan-on-push case
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-11-02 17:54:47 +08:00
danfengliu
1979d17550
add tc add-sys-label-to-tag and del-repo
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-02 17:16:43 +08:00
Mia ZHOU
c920b025fa
fix the typpo error in nightly test case ( #6200 )
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-02 09:14:57 +08:00
Meina Zhou
0ba9856c66
fix nightly test
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-11-01 14:07:55 +08:00
danfengliu
894e0591bb
add new api tests ( #6127 )
...
Add API test libraries which were based on swagger doc,
it's including user and project , also add one scenario
test case which is test_add_member_to_private_project to
verify a user can see a project when the uesr is the member of it.
Delete 2 old test case.Delete a quota.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-10-31 13:13:31 +08:00
wang yan
2ef11c396a
Fix failure on GC test case
...
As the changes on scan all, the default schedule was removed from source code,
hence the gc job should be the first admin job, to change to job id to 1.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-29 14:15:06 +08:00
Meina Zhou
b68dd47a20
modify test case since replication log change to popup a new page
...
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-26 16:20:00 +08:00
Wenkai Yin
6c033574fa
Update automation test case "Delete Multi Project" ( #6116 )
...
Add "Wait Until xxx" to wait the expected page appear before the next step to avoid the case failure
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-24 15:37:36 +08:00
Wenkai Yin
f5166431be
Update automation test case "Delete Repo" ( #6087 )
...
Replace the "Sleep x seconds" with "Wait Until xxx" in the "Delete Repo" case
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-23 09:08:54 +08:00
Wenkai Yin
96d260a379
Add debug info to automation test case ( #6092 )
...
Add "Capture Page Screenshot" to help debug the case failure
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-23 09:08:33 +08:00
Mia ZHOU
c13a0bfaae
Merge pull request #6088 from pureshine/fixed_bug
...
Vulnerability scan cancel editing to make UI into orginal status
2018-10-23 08:39:32 +08:00
Cheng Fangyuan
8b6e72e56e
Vulnerability scan cancel editing to make UI into orginal status
...
Signed-off-by: Cheng Fangyuan <fangyuanc@fangyuanc-a01.vmware.com>
2018-10-19 13:14:43 +08:00
Daniel Jiang
1b8dd0cb56
Merge pull request #6006 from wy65701436/upload-logs
...
Add step to upload travis logs into GCR
2018-10-19 12:52:10 +08:00
Steven Zou
db24cbe25a
Merge pull request #5779 from cd1989/images-retag
...
Merge Images retag
2018-10-19 11:04:48 +08:00
陈德
a1b4729aa7
Add more unit tests
...
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-18 00:26:25 +08:00
wang yan
f44ff2e4c3
Remove the env GODEBUG=netdns=cgo
...
This env is the workaroud of dns resolver on golang 1.7.3.
Remove it is bacause of harbor is using golang 1.9.2, the bug
has already been fixed.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-17 16:11:25 +08:00
Wenkai Yin
69825093b0
Update CI script run in Drone ( #6053 )
...
Publish images to docker hub with dev tag only for master branch changes
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-16 17:37:13 +08:00
Wenkai Yin
20a6a8738e
Merge pull request #6030 from wy65701436/add-gc-e2e
...
add gc e2e test case
2018-10-16 15:43:35 +08:00
wang yan
3ef52cafd4
Add gc e2e test case
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-16 14:31:57 +08:00
Wenkai Yin
16c9ffad2c
Update automation test case "Project Level Image Serverity Policy" ( #6037 )
...
Currently, the case "Project Level Image Serverity Policy" uses the project library as the target project, but the project library has been set to scan image automatically when images are pushing, this will cause case failure. This commit creates a new project in the case to aviod the failure.
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-16 09:01:23 +08:00
Wenkai Yin
b650bf0d04
Update automation test case "Make Project Public/Private" ( #6028 )
...
Add "Wait Until" to ensure the "Save" button is clicked
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-12 18:29:38 +08:00
Daniel Jiang
05e5105c46
Merge pull request #6024 from ywk253100/181012_case
...
Update scan automation test case
2018-10-12 16:44:11 +08:00
Wenkai Yin
4e8506de34
Update golint repository used in travis
...
The golint repository is updated, this commit changes it with the latest version
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-12 14:11:35 +08:00
Wenkai Yin
7e3ae5cb11
Update scan automation test case
...
Replace image hello-world with busybox as the hello-world has been scaned in the last case
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-12 11:22:43 +08:00
Wenkai Yin
00acb507ba
Update automation test cases
...
Update the case to pass nightly testing for Harbor chart
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-11 15:29:43 +08:00
Wenkai Yin
32c4392b3b
Update test cases ( #6011 )
...
Update the automation test cases to pass the nightly testing
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-11 10:39:25 +08:00
wang yan
d86692d61c
Add step to upload travis logs into GCR
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-10 19:03:19 +08:00
Wenkai Yin
d1981d23b1
Update automation test cases ( #5991 )
...
Longer the wait time to pass the nightly testing
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-10 10:38:48 +08:00
Steven Zou
bb73e64f5d
Revert the changes to the travis pipeline to fix the build failure
...
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-27 15:11:20 +08:00
Yan
6c00747390
Enable travis to update logs to GSR ( #5949 )
...
1, add encrypt file to store gsutil keys.
2, add function to call gsutil to update logs into harbor log bucket.
Signed-off-by: wangyan <wy65701436@gmail.com>
2018-09-27 08:54:56 +08:00
De Chen
e3b061c415
Fix the Makefile for MacOS to run harbor locally for dev ( #5502 )
...
* fix sed -i in MacOS, BSD sed and Linux sed are different, use sed -i -e instead
* change target name from version to ui_version
* fix cleandockercomposefile target to clean all generated docker-compose files
Signed-off-by: 陈德 <chende@caicloud.io>
2018-09-25 15:12:43 +08:00
Cheng
9250b1b351
../../tests/resources/Harbor-Pages/Configuration.robot
...
Signed-off-by: Cheng <1309173081@qq.com>
2018-09-25 13:40:17 +08:00
wang yan
18411349b5
Add installer pipeline in travis
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-21 17:20:54 +08:00
Wenkai Yin
978f8721e6
Merge pull request #5927 from steven-zou/return_labels_in_chart_api
...
Refactor the chart service implementation to provide more extending flexibilities
2018-09-21 15:59:53 +08:00
Qian Deng
0cb430d463
Merge pull request #5932 from ninjadq/refactor_auth_api
...
Refactor backend api for authrization
2018-09-21 15:59:07 +08:00
Qian Deng
88bb461314
Reactor backend api for authrization
...
1. Change backend api
2. Change frontend api
3. Change the proxy config file
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-21 14:03:17 +08:00
Daniel Jiang
6c84a3dc4f
Merge pull request #5690 from goharbor/clouderati-copyright-update
...
Updating copyright notices
2018-09-20 19:38:26 +08:00
Steven Zou
d4c423ea8e
Merge branch 'master' into return_labels_in_chart_api
2018-09-20 17:55:48 +08:00
Steven Zou
24c0be789d
Add more UT cases for changed chart API
...
- add more cases in the ChartRepositoryAPI controller
- move chart utility testing functions to a separate go file under testing
- ignore testing coverage for testing folder
- update other UT cases to reflect the change of adding chart testing utility functions
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-20 17:51:27 +08:00
Yan
650449d5e0
Fix error on packaging offline installer with Drone ( #5931 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-20 14:53:28 +08:00
clouderati
587459df15
Replacing copyright notices with "Copyright Project Harbor Authors".
...
Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-09-19 16:59:36 +00:00
Yan
002e5a2b70
Enable api tests in travis ( #5900 )
...
This commit is to enable parallel run jobs with travis, and add API for DB and API for LDAP in travis.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 17:49:43 +08:00
Yan
e77a116e1d
Decrepate tests from drone ci ( #5919 )
...
This commit is to remove tests from drone CI server, and leave drone
as the build system only for harbor. Harbor system admin will remove
the webhook from harbor repo, then any pull request will not trigger
drone job.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-09-19 16:54:15 +08:00
Qian Deng
7873a0312a
Rename harbor-ui to harbor-core
...
1. Update the nginx.conf
2. Update Makefile
3. Update docker-compose
4. Update image name
5. Rename folder ui to core
6. Change the harbor-ui's package name to core
7. Remove unused static file on harbor-core
8. Remove unused code for harbor-portal
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-19 16:35:13 +08:00
Qian Deng
dfeb1924c6
Fix xpath in robot case
...
1. Fix xpath of Upload button
2. Fix xpath of status span
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-10 17:24:28 +08:00
Qian Deng
ac6c9d79ba
Remove nodeclarity
...
Remove the nodeclarity container related code and ui_builder parameter no longer needed when build clarity
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-08 20:33:21 +08:00
Daniel Jiang
abf67c8de0
Merge pull request #5789 from wy65701436/make-clean
...
Clean make file unused code and unify docker build method (#59 )
2018-09-05 19:54:56 +08:00
Yan
4eba01fc31
Clean make file unused code and unify docker build method ( #59 )
...
Signed-off-by: Yan <wangyan@vmware.com>
2018-09-04 17:18:15 +08:00
Qian Deng
4d601292d1
Add E2E test for helmchart ( #5746 )
...
Add E2E test for helmchart repo
Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-04 15:08:51 +08:00
wang yan
f8b964d8cf
Extend configuration length to 1024 in DB
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-08-31 13:42:24 +08:00
wang yan
470000a9ec
Deprecate unused robot cases
...
Signed-off-by: wang yan <wangyan@vmware.com>
2018-08-27 10:17:06 +08:00
Daniel Jiang
1d4f991901
Merge pull request #5640 from wy65701436/deprecate-ova
...
deprecate ova for harbor repository
2018-08-24 13:38:42 +08:00
wang yan
aacbf229d6
deprecate ova for harbor repository
...
This commit is to remove the document/tests of ova from harbor repository as decide to deprecate
ova installer in the future release.
Signed-off-by: wang yan <wangyan@vmware.com>
2018-08-24 13:05:01 +08:00
Daniel Jiang
dcf4e2ee78
Update import path in go code
...
vmware -> goharbor
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-23 17:50:53 +08:00
Wenkai Yin
f71f02deee
Fix module not found error in API test ( #5647 )
...
Reload the python path to fix the module not found error in API E2E test
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-17 10:55:19 +08:00
Wenkai Yin
95c0c259ec
Add E2E API test cases for replication based on labels ( #5639 )
...
This commit creates a new E2E API test case to verify the replication based on label
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-08-16 18:36:27 +08:00
wangyan
397172e56a
This is my commit message
...
Signed-off-by: wangyan <wangyan@vmware.com>
Update the verify case to use data.json instead of testdata.json
2018-08-12 19:07:36 -07:00
stonezdj
94f852b826
Fix testcase related to LDAP user can not see any logs
2018-08-10 16:17:18 +08:00
Daniel Jiang
d5024bfcd4
Merge pull request #5578 from wy65701436/move-docker-images-2-goharbor
...
Batch update docker image namespace to goharbor
2018-08-10 16:06:08 +08:00
wangyan
7713764aec
Batch update docker image namespace to goharbor
...
This commit is to move all the images of harbor from vmware to goharbor
2018-08-09 23:24:21 -07:00
Wenkai Yin
0561280411
Update robot case to debug the issue got in nightly test ( #5576 )
...
This commit updates the "Sign In Harbor" robot case by adding debug information when it failed
2018-08-10 13:53:48 +08:00
Yan
9c86d0b86f
Update ldap user pwd for nightly ( #5571 )
2018-08-09 16:38:27 +08:00
Zach Shepherd
f387da0a9d
Refer to goharbor/harbor in the integration logic
...
An incomplete update to the integration testing logic to replace some
instances of vmware/harbor with goharbor/harbor to get CI working.
2018-08-08 18:18:36 -07:00
Daniel Jiang
0f9a6d0224
Merge pull request #5530 from wy65701436/add-gas-report
...
Add secure go result into CI pipeline
2018-08-08 15:58:44 +08:00
Mia ZHOU
872b19f370
Merge pull request #5553 from zhoumeina/pr/fix_ui_e2e
...
fix nightly test fail for project creation moved to system config
2018-08-08 11:18:44 +08:00
Mia ZHOU
235a13fa74
fix nightly test fail for project creation moved to system config
...
fix nightly test fail for project creation moved to system config
2018-08-08 10:48:21 +08:00
stonezdj(Daojun Zhang)
ecdfb8034f
Add API Test setup and fix Add Member button verify ( #5548 )
2018-08-08 10:40:35 +08:00
stonezdj(Daojun Zhang)
1f65f9304f
Merge pull request #5281 from stonezdj/testcase_ldap_group_admin
...
Add testcase for define harbor admin by LDAP group DN
2018-08-07 16:28:49 +08:00
wangyan
1c8d77a446
Add secure go result into CI pipeline
2018-08-06 23:53:31 -07:00
Daniel Jiang
3cf93e62aa
Merge pull request #5543 from stonezdj/api2nightly
...
Add API test to LDAP nightly test
2018-08-07 12:17:44 +08:00
stonezdj
af85522a05
Add API test to LDAP nightly test
2018-08-07 11:00:46 +08:00
Mia ZHOU
5d76b28a5c
Fix e2e test after project creation moved to system config ( #5536 )
...
Fix test project creation for e2e.
2018-08-07 10:32:23 +08:00
stonezdj
78d7ba911a
Add testcase for define harbor admin by LDAP group DN
2018-08-06 18:56:13 +08:00
Daniel Jiang
0a07f0e039
Merge pull request #5402 from stonezdj/api_test
...
Add harbor API test
2018-08-06 17:30:07 +08:00
wangyan
b57a9db22a
Update member locater according to UI changes
2018-08-02 18:24:05 -07:00
Daniel Jiang
c5a79fb55b
Add UAA e2e test cases ( #5460 )
...
This commit adds basic test cases to perform when Harbor is configured as
uaa_auth. It has dependency on an internal UAA server.
2018-08-01 21:30:05 +08:00
Deng, Qian
8feb49c64e
Feature of helm chart UI
...
1. Add Charts list view
2. Add Charts card view
3. Add Chart version list view
4. Add chart version card view
5. Add Chart Detail Summary
6. Add Chart Detail Value
6. Add Chart Detail Deps
7. Update nodeclarity Dockerfile
8. Add markdown support
9. Add package-lock file to src
2018-08-01 13:20:06 +08:00
stonezdj
edcb2fbf05
Add Harbor API Test based on python API
...
Correct swagger.yaml format
Add make task swagger_client to gen and install python client.
Add LDAP related Test
2018-08-01 10:43:23 +08:00
wangyan
5edd408d07
Add scripts to verify Harbor DB migration
2018-07-30 04:54:33 -07:00
wangyan
c3c56ada9a
Add Notary server endpoint as a parameter for the CI test cases
2018-07-29 19:45:28 -07:00
Yan
602bcdfa5b
remove publish npm package step in the ci flow and set the ( #5391 )
...
env for admin and pwd for ci, make it same as nightly test.
2018-07-25 17:20:40 +08:00
Steven Zou
bb380e6dbc
Merge pull request #5314 from steven-zou/chart_repo_supporting
...
Refactor chart API endpoints
2018-07-20 20:43:55 +08:00
Steven Zou
0227a1315a
Keep the chart server related configurations in adminserver
...
append chart server related config options to the supporting list of adminserver
provide chart server related config access method in the API layer
update prepare script and ui env template file to enable cache driver config for chart server API
append flag info in the systeminfo API to indicate if chart server is deployed with Harbor
refactor the response rewriting logic to return structual error object
add api init method to initilizing objects required in API handlers
chage owner of the storage folder
update offline/online package scripts in Harbor-Util.robot
2018-07-20 19:40:33 +08:00
Yan
efdb57548f
add admin job api ( #5344 )
...
It supports Harbor admin to trigger job either manual or
schedule. The job will be populated to job service to execute.
The api includes:
1. POST /api/system/gc
2, GET /api/system/gc/:id
3, GET /api/system/gc/:id/log
4, PUT/GET/POST /api/system/gc/schedule
2018-07-20 19:22:37 +08:00
Yan
85ded71816
Update e2e cases
...
refactor e2e test cases to support new CI pipeline
fix issues caused by recently UI change
2018-07-19 02:22:03 -07:00
Wenkai Yin
fd5c17bced
Publish images to Docker Hub ( #5264 )
...
This commit enables the images publishing to Docker Hub in Drone CI. Every pull request merging will trigger this process.
2018-07-09 11:03:51 +08:00
Yan
d366134fe8
Fix bug of packaging offline installer ( #5245 )
...
The init sql script name nad path was changed by PR #5197 , this
commit is to update these and log the package command to console,
make it more easy to debug in future. Also remove the action to
pull migrator as it will built each time locally.
2018-07-04 20:03:44 +08:00
wangyan
28a13db29a
Fix CI pipeline bug on packaging offline installer
2018-07-03 08:42:26 -07:00
Deng, Qian
72dfdd552f
Add ldap serach
...
1. Add group management
2. Add rewrite import user to member ui
3. Add import group to member
4. Add new items in configuration page
2018-07-03 14:00:59 +08:00
sigsbee
889b36a944
Add data verify robot case after upgrade ( #5207 )
...
Add data verify e2e case after upgrade
2018-06-29 15:01:26 +08:00
Daniel Jiang
aef3213dfa
Merge pull request #5190 from stonezdj/reload_config
...
Fix issue that harbor tile can not save customized settings
2018-06-29 13:04:36 +08:00
sigsbee
673c1dac01
Add upgrade test scripts ( #5119 )
...
Add upgrade test data generate script and example data
2018-06-29 10:09:10 +08:00
stonezdj
72e9b22e10
Fix issue that harbor tile can not save customized settings
2018-06-28 16:20:10 +08:00
sigsbee
7d6f8f94c4
Change create project verify method ( #5184 )
...
Update create project keyword to avoid created project on the second page caused verify fail
2018-06-27 11:27:03 +08:00
myufei
31bdc3e894
Add ldap user and group
...
update ldap_test.ldif to add more user and group to ldap environment
2018-06-14 14:16:50 +08:00
sigsbee
a6f14c6d89
Update test case to increase passrate ( #5083 )
...
Update test case order to avoid scan on push fail
Add sleep time to avoid view scan results fail
Change keyword to wait unitl avoid delete operation fail
Change delete rule and repicate manual confirm to mouse down and up
2018-06-05 18:51:11 +08:00
sigsbee
0d4aaccd13
Add get version to LDAP and replication test group( #5076 )
...
Add get harbor version test case to LDAP and replication test group
2018-06-04 14:24:47 +08:00
sigsbee
a0bf7196e6
Fix label test case and replicate case ( #5075 )
...
Fix label test case fail for new UI change
Fix replicate manual keyword to avoid case fail
2018-06-02 01:34:33 +08:00
sigsbee
a07a0d09f8
Add get harbor version case ( #5039 )
...
Add get harbor version case
2018-06-01 14:38:10 +08:00
stonezdj(Daojun Zhang)
b308c6e4fc
Merge pull request #5024 from stonezdj/add_testcase
...
Add testcase for assign role to LDAP group.
2018-05-31 01:17:33 +08:00
sigsbee
8d12960494
Fix robot keywords align with UI changes ( #5036 )
...
Fix robot keywords align with UI changes
fix replication case for new delete progress
2018-05-24 19:53:23 +08:00
sigsbee
8b6963f397
Update testcase for task progress ( #4987 )
...
update multi delete testcase for new delete progress
2018-05-24 13:07:19 +08:00
Steven Zou
9943c0cd07
Merge pull request #5021 from pengpengshui/asynctask
...
Add async task progress and delete dialog task progress #4371
2018-05-23 15:20:13 +08:00
stonezdj
ab20642f0d
Add testcase for assign role to LDAP group.
...
Including
1. LDAP group configure settings
2. Assign role to LDAP user group.
3. Manage user group
2018-05-22 19:17:45 +08:00
pfh
1121c8a76b
Add async task progress and delete dialog task progress #4371
...
norm code
2018-05-22 14:42:06 +08:00
sigsbee
b72209fb08
Add sleep to avoid test fail ( #5005 )
...
Add sleep to avoid test fail in delete replication rule case
2018-05-21 19:04:02 +08:00
Steven Zou
1f7a4f18e5
Merge pull request #4963 from ninjadq/fix_tslint_warning
...
Fix tslint warning
2018-05-15 18:41:15 +08:00
Deng, Qian
43c8e9f589
Fix all tslint warnings
...
1. Fix tslint warnings
2. Add tslint to travis
2018-05-15 16:28:23 +08:00
sigsbee
8cca04f439
Add project level content trust case ( #4964 )
...
Add project level content trust testcase
2018-05-14 08:36:12 -07:00
Deng, Qian
282a63f57f
Fix legacy issues that html and css file are written on ts file.
...
Currently, our html and css files are written as string on .ts file. This pr is to solve the legacy issue.
2018-05-10 18:39:48 +08:00
sigsbee
b4b148e923
Update click method to fix replication rule auto case ( #4908 )
...
As the click may fail with method click element, update it to move the element and click.
2018-05-10 00:07:02 -07:00
Deng, Qian
2ef1a92a93
Add ng-packagr to packaging harbor-ui npm repo
...
Using ng-packagr to build and publish npm repo
2018-05-09 10:59:22 +08:00
Qian Deng
5420f7ff0e
Merge pull request #4872 from pengpengshui/fixIssues
...
rewrite layout about filter by label and tesecase #4809
2018-05-08 13:34:40 +08:00
pfh
2f6dcce0d5
rewrite layout about filter by label and tesecase #4809
2018-05-08 12:10:24 +08:00
sigsbee
981743ada9
Fix nightly failures bases on latest UI change ( #4870 )
...
Fix up project level policy public
Change text to fix up pro replication rules add
2018-05-07 03:30:08 -07:00
pfh
5006693fd6
Modify global search project and adjust selected label position
2018-05-04 10:27:40 +08:00
stone
e6a52f49a4
Merge pull request #4722 from stonezdj/security_context_for_group3
...
Update security context for assign role to project group member
2018-05-03 17:17:41 +08:00
stonezdj
b8a48d0326
Update security context for assign role to project group member
...
The project list will contain all public projects, user is a member of this project, or user is in the group which is a member of this projects.
Change the behaviour of user roles, if the user is not a member of this project, then return the user's groups role of current project
2018-05-03 16:49:16 +08:00
wangyan
9715743b37
Dump log of shutting down harbor in CI
2018-05-02 08:42:42 -07:00
Yan
30152b19c1
Modify harbor log files name to align with latest change ( #4846 )
2018-05-02 04:58:24 -07:00
Yan
ae257433cc
Fully migrate harbor db to postgresql ( #4689 )
...
* Merge harbor db to postgres
2018-04-27 02:27:12 -07:00
sigsbee
c91334397a
Fix up keyword add label ( #4794 )
...
Fixup create new labels keyword to fix failed testcase
2018-04-27 17:14:44 +08:00
sigsbee
9bf38c2486
Add autotest case ( #4603 )
...
Add test case large image replicate
Add test case Download CA
Add test case repo description
Add test case project level replication
Add test case repo size
Add test case statistics info
2018-04-25 16:24:11 +08:00
Tan Jiang
1fc4142e1a
Do not call chown
to config files
...
This commit fixes a recently discovered issue on Kubernetes #4496
It make necessary to avoid calling `chown` to config files during the
bootstrap of the containers.
2018-04-20 13:44:21 +08:00
Steven Zou
a8eb969e2d
Merge pull request #4703 from wy65701436/update-ui-builder
...
Update ui clarity builder version to 1.4.0
2018-04-19 17:12:23 +08:00
sigsbee
5bd9a99984
Fix up card view keyword ( #4718 )
...
Fix up card view keyword and failed test case
2018-04-19 10:07:55 +08:00
wangyan
2439cbfe55
Update ui clarity builder version to 1.4.0
2018-04-17 22:38:01 -07:00
pfh
e9052dd42a
Merge remote-tracking branch 'upstream/master' into fixIssue
2018-04-17 10:19:16 +08:00
pfh
bd28eb4541
Add Filter Label about imgs
2018-04-17 10:08:19 +08:00
Steven Zou
bb292aab96
Fix the failure api test cases because API implementation changed
2018-04-16 15:39:19 +08:00
pfh
c67e1a2e4b
Merge branch 'master' of https://github.com/vmware/harbor into fixIssue
2018-04-16 11:35:33 +08:00
Qian Deng
e12826ef42
Merge pull request #4643 from ninjadq/add_test_case_and_doc
...
Add testcase and doc for cardview
2018-04-16 10:28:49 +08:00
pfh
c99e43674d
add Filter Label about imgs
2018-04-16 09:54:27 +08:00
wangyan
04816222c0
Update ci test images to busybox
2018-04-12 18:21:20 -07:00
Deng, Qian
ddb5298ae6
Add testcase and doc for cardview
2018-04-12 19:55:46 +08:00
sigsbee
75e6b5d91c
Fix up keyword and test case ( #4629 )
...
Fix up keyword: push image with tag
Fix up case: Project Admin Add Labels To Repo
Fix up case: Proj Replication Jobs Log View
2018-04-12 11:42:54 +08:00
sigsbee
efb3759d14
Update test keyword ( #4599 )
2018-04-10 04:41:48 -07:00
pfh
a9c7b34de9
Add case about project label
2018-04-09 16:10:07 +08:00
stone
df63a73fd4
Merge pull request #4483 from stonezdj/api4assign_role_to_group4
...
Add REST API for assign role to group
2018-04-04 16:19:37 +08:00
stonezdj
9bcfaedc0e
Add REST API for assign role to group
2018-04-04 13:39:42 +08:00
Steven Zou
44808650be
Merge branch 'master' into job_service
2018-04-03 16:28:26 +08:00
pengpengshui
73e32d1735
Merge pull request #4562 from pengpengshui/label
...
Modify label filter issue and add stick label to image case
2018-04-03 09:39:05 +08:00
Wenkai Yin
1072666a31
Merge pull request #4549 from ywk253100/180330_label_case
...
Add manual test cases for label
2018-04-02 19:41:37 +08:00
Wenkai Yin
2e6202f276
Add manual test cases for label
2018-04-02 16:53:50 +08:00
pfh
e5a757d78d
Modify label filter issue and add stick label to image case
2018-04-02 14:45:52 +08:00
pengpengshui
6a1af52949
Merge pull request #4542 from pengpengshui/tagdetail
...
Add repo read only
2018-04-02 13:41:46 +08:00
sigsbee
8b32f56b64
Fix up ldap testcase ( #4548 )
2018-04-02 12:08:04 +08:00
pfh
a43451c7ea
Add repo read only and modify label issue
2018-03-30 11:38:45 +08:00
Steven Zou
d1899c840d
Merge branch 'master' into job_service
2018-03-29 23:25:20 +08:00
sigsbee
9baee6b88c
Add LDAP case and add delay to project config to avoid case fail ( #4486 )
...
* Add LDAP case and add delay to project config to avoid case fail
2018-03-28 16:45:49 +08:00
Steven Zou
d3909bb633
Add UT cases for package opm (update travis yaml to start redis container)
...
Fix data race issue in opm package
2018-03-28 15:28:34 +08:00
Daniel Jiang
14e24267c0
Merge pull request #4478 from wy65701436/add-readonly-tc
...
add read only case
2018-03-27 13:17:11 +08:00
sigsbee
0c95bd6ffa
Update project detail xpath ( #4482 )
2018-03-26 16:27:07 +08:00
wangyan
3ea42fd62c
add read only case
2018-03-25 18:22:35 -07:00
Yan
2095fb0c0a
Update harbor build naming convention ( #4461 )
2018-03-23 02:56:29 -07:00
sigsbee
8b739dcbbb
Fix scan repo keyword and delete multi tag case ( #4448 )
2018-03-21 03:37:52 -07:00
Yan
5edbd00318
Revise harbor build version ( #4445 )
2018-03-21 13:03:49 +08:00
sigsbee
340080f9a2
Fix view log test case ( #4438 )
2018-03-20 18:11:39 +08:00
sigsbee
80e39c39d3
Add replication autotest ( #4406 )
2018-03-20 13:25:03 +08:00
Yan
3215d328aa
fix run replication bug in nightly ( #4402 )
2018-03-13 19:21:35 +08:00
sigsbee
4ccd7e7cdf
Add vulneraibility case and add a testcase doc. ( #4378 )
...
Add disable schedule
vulnerability data not ready
can as an unprivileged user
scan image with empty vul
manual scan all
project level image serverity policy
scan on push
2018-03-12 14:20:37 +08:00
Yan
8bf4f1314e
fix nightly bug for notary case in replication env ( #4355 )
2018-03-07 15:19:09 +08:00
wangyan
29bdcfe454
Add replication support for LDAP in nightly
2018-03-04 19:38:26 -08:00
Qian Deng
c2d9f8cc56
Bump ui builder version ( #4298 )
2018-03-05 10:30:11 +08:00
Daniel Jiang
e2efe80de5
Merge pull request #4338 from wy65701436/debut-new-drone
...
Update drone to 0.8
2018-03-05 10:22:45 +08:00
wangyan
5982c23162
Update drone to 0.8
2018-03-03 11:08:35 -08:00
Daniel Jiang
4752de1584
Merge pull request #4315 from wy65701436/add-e2e-dockerfile
...
Add docker file for e2e infrastructure
2018-03-01 13:54:46 +08:00
wangyan
546c4fa3ac
Add docker file for e2e infrastructure
2018-02-28 07:56:04 -08:00
Yan
c37b3748b9
Support replication test in nightly infrastructure ( #4302 )
2018-02-28 19:37:25 +08:00
sigsbee
15f4315b74
Modify test step to avoid an autotest bug ( #4301 )
2018-02-28 19:36:58 +08:00
Tan Jiang
f83c65bcc5
Reduce the output of build.
...
The following are done to avoid travis-ci failing due to too much log
size.
1) Update Makefile and scripts to make go build less verbose.
2) Make tdnf less verbose
2018-02-27 20:54:52 +08:00
Daniel Jiang
b2eff8b7a3
Merge pull request #4234 from wy65701436/check-ldap-out
...
Upgrade docker to latest and check for docker login fail
2018-02-27 11:28:11 +08:00
wangyan
d12ad7fa94
Upgrade docker to latest and check for docker login fail
2018-02-05 20:42:41 -08:00
Daniel Jiang
87ca267b0f
Merge pull request #4221 from ywk253100/180131_beego_1.9.2
...
Upgrade beego 1.6.1 to 1.9.0
2018-02-05 19:17:44 +08:00
Wenkai Yin
10f56d26fe
Change codes to make everything OK after upgrading to beego 1.9.0
2018-02-05 13:07:52 +08:00
sigsbee
9b9a44172f
Use two different tags in bat delete to avoid 500 error ( #4216 )
2018-02-02 17:43:11 +08:00
sigsbee
c436630f11
Fix failed auto test case ( #4197 )
2018-01-31 00:45:14 -08:00
sigsbee
eb98936845
Fix failed auto test case to suit new UI ( #4188 )
2018-01-30 03:04:24 -08:00
wangyan
a6098136a8
Dump harbor version for CI
2018-01-26 03:05:19 -08:00
Deng, Qian
d536c64566
Update test cases for UI changes
2018-01-25 20:36:03 +08:00
Yan
932b06933b
Move some tests into nightly from BAT
2018-01-25 18:09:39 +08:00
Wenkai Yin
39bccc6bf2
Merge pull request #4108 from ywk253100/180123_manual_case
...
Update manual test cases for replication
2018-01-24 18:22:42 +08:00
Wenkai Yin
919a24737c
Update manual test cases for replication
2018-01-24 16:24:58 +08:00
wangyan
65c6fe22a7
Fix bug for trigger harbor build with tag
2018-01-23 03:19:35 -08:00
Yan
bb66a0cb52
Add harbor nightly and longevity test ( #3940 )
2018-01-23 13:04:19 +08:00
wangyan
bb10e018a5
Change harbor build number to drone number plus git commit
2018-01-22 02:13:42 -08:00
Qian Deng
a34512f072
Merge pull request #4022 from ninjadq/update_package_js
...
Update package.js file
2018-01-18 13:17:10 +08:00
Daniel Jiang
7195865226
Merge pull request #4018 from wy65701436/refine-build-process
...
[Upload Build] Refine CI build process and storage structure
2018-01-17 10:21:14 +08:00
Deng, Qian
289946ccb4
Update package.js
...
Using fixed version number to reduce the npm log in travis
2018-01-16 19:40:31 +08:00
wangyan
c4a66bf3c0
Refine CI build process and storage structure
2018-01-16 02:20:55 -08:00
pfh
78dcdc409f
Modify replication list to batch delection mode and add admin privilege to project replication module
...
Modity text about new replication rule
2018-01-16 15:53:11 +08:00
sigsbee
bf14cf4436
Add batch delete testcase ( #3981 )
2018-01-12 10:42:17 +08:00
pengpengshui
7831a01f26
Merge pull request #3934 from pengpengshui/batchDelection
...
Modify filters' position and modify member module switch members' ap…
2018-01-10 14:50:52 +08:00
pfh
49160e6b13
Modify repository filter's position and inline alert text position
...
Modify issues about pagination and signed display
Modify test case about member
2018-01-09 14:48:25 +08:00
Daniel Jiang
f8af1f275e
Merge pull request #3911 from stonezdj/ldap_search_level
...
Ambiguous UI and internal values ldap_scope
2018-01-08 14:53:55 +08:00
pfh
93c524f5df
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-08 14:31:51 +08:00
pfh
9371bd41e8
Modify filters' position and modify member module switch members' apperence
2018-01-08 14:04:31 +08:00
stonezdj
26b86984d2
Ambiguous UI and internal values ldap_scope #3764
2018-01-05 15:51:37 +08:00
pfh
162878a95c
Modify test case and merge master
2018-01-05 15:39:52 +08:00
pfh
13308ce9d8
Merge remote-tracking branch 'upstream/master' into repEnhance
2018-01-05 14:09:03 +08:00
Deng, Qian
2122503599
Replace Navigation bar from Sidenav to Vertical Nav
...
1. Replace Sidenav to VerticalNav
2. Update related test case
3. Move Endpoint and Repliction to two different label
2018-01-04 17:24:38 +08:00
Fuhui Peng (c)
4932692b58
Modify test case about configuration for replication enhancment
2018-01-04 13:36:49 +08:00
Fuhui Peng (c)
31c3063783
Merge remote-tracking branch 'upstream/replication_enhancement' into repEnhance
2018-01-03 13:41:31 +08:00
Wenkai Yin
96a63c56b1
Merge remote-tracking branch 'upstream/master' into 180103_merge
2018-01-03 10:32:03 +08:00
pengpengshui
c5e434bd14
Merge pull request #3859 from pengpengshui/batch-delection
...
Add batch-delete operation in project module, replication module and user module
2018-01-03 10:27:55 +08:00
Fuhui Peng (c)
d7c0bc5168
Add batch delection operation in project module, replication module and user module
...
Modify privilege about project module
Modify package version about harbor-ui
Fix case failed in new batch delection UI
2018-01-02 19:42:44 +08:00
stonezdj
b7670a39b3
Add ldap user to project member test
2017-12-27 16:44:40 +08:00
Fuhui Peng (c)
601c94d976
Merge remote-tracking branch 'upstream/replication_enhancement' into repEnhance
...
Update ui code to the latest
2017-12-26 14:06:55 +08:00
Fuhui Peng (c)
831f69595a
Add ui code about replication enhancement
2017-12-25 17:02:21 +08:00
Deng, Qian
3187dcb5ae
Upgrade Clarity to 0.10.x and Angular To 4.3.0
2017-12-25 16:10:51 +08:00
wangyan
11a8cfe6a3
Upgrade complie base golang image from 1.7.3 to 1.9.2
2017-12-20 19:28:56 -08:00
Daniel Jiang
052521b92c
Merge pull request #3821 from reasonerjt/uaa-restriction
...
Refactor the configuraiton of UAA
2017-12-19 19:36:09 +08:00
Tan Jiang
7c264f6201
reduce build log of travis
2017-12-19 16:25:07 +08:00
wangyan
cfce2ca4e9
Refine image tag name and script path when to build offline bundle
2017-12-18 23:50:48 -08:00
Daniel Jiang
1b1741801e
Merge pull request #3768 from wy65701436/unify-build-images
...
Unify images tags and build process
2017-12-18 13:22:57 +08:00
Daniel Jiang
cd46ee2f77
Merge pull request #3805 from vmware/add_test_suite_for_ldap
...
[Skip CI] add api testing suite for ldap scenario: no user creation and user de…
2017-12-18 12:36:59 +08:00
Steven Zou
bdb26139d7
change the hostname placeholder for the ldap concourse environment to 30.0.0.3
2017-12-17 15:15:05 +08:00
Steven Zou
d7f99d5604
add api testing suite for ldap scenario: no user creation and user deleting cases comparing to the general scenario
2017-12-15 18:56:20 +08:00
Daniel Jiang
7946b07fce
Merge pull request #3796 from stonezdj/ldap_3653
...
Fix ldap ping issue #3653
2017-12-15 16:12:36 +08:00
wangyan
1e750a1ed4
Unify images tags and build process
2017-12-14 23:52:18 -08:00
Qian Deng
40f766b29a
Merge pull request #3742 from ninjadq/metadata_description
...
Add UI for metadata description
2017-12-15 15:44:50 +08:00
stonezdj
9393d26fdc
Fix ldap ping issue #3653
2017-12-15 14:47:54 +08:00
Steven Zou
42fb5c9f8e
add proxy settings to the API client for the api-testing part
2017-12-15 13:19:03 +08:00
Wenkai Yin
a54b7dd4c0
Merge remote-tracking branch 'upstream/master' into 171219_merge
2017-12-15 08:48:57 +08:00
stonezdj
2c2f97a3be
Retry when test ldap server load data fail
2017-12-14 22:36:27 +08:00
sigsbee
5caf31c57d
add vulnerability case ( #3206 )
...
* Add vulnerability manual case
2017-12-14 10:53:42 +08:00
Deng, Qian
ccfd206ae2
Merge branch 'master' into metadata_description
2017-12-13 15:21:57 +08:00
Wenkai Yin
665a54edc3
Merge remote-tracking branch 'upstream/master' into 171213_merge
2017-12-13 13:40:24 +08:00
yixingjia
f4d0fd4d23
Merge pull request #3640 from yixingjia/moveconftoDB
...
Add database driver for Harbor configurations
2017-12-11 10:42:05 +08:00
Steven Zou
61eefbaf6c
add api testing for harbor including image pull and push
2017-12-08 16:16:50 +08:00
Deng, Qian
b15acdf151
Add UI for metadata description
2017-12-08 15:05:52 +08:00
yixingj
9b03c93afd
Add database driver for Harbor configurations
...
1>Add a new database driver for configurations
2> change the current default driver from json
to database
2017-12-06 13:06:54 +08:00
Steven Zou
82d842d77c
Merge pull request #3741 from wy65701436/add-tc-concourse
...
Add test cases for concourse-ci
2017-12-04 04:53:47 -06:00
wangyan
2d047d03e7
Add test cases for concourse-ci
2017-12-04 01:42:15 -08:00
stonezdj
73abc68cb4
Add LDAP e2e test
2017-11-30 18:53:53 +08:00
stonezdj
16243cfbbc
Add LDAP remote certifcate validation
...
push test
Add unit test for ldap verify cert
remove common.VerifyRemoteCert
Update code with PR review comments
Add change ldaps config and add UT testcase for TLS feature
add ldap verfiy cert checkbox about #3513
Draft harbor ova install guide
Search and import ldap user when add project members
Add unit test case for SearchAndImportUser
ova guide
Add ova install guide
Add ova install guide 2
Add ova install guide 3
Call ValidateLdapConf before search ldap
trim space in username
Remove leading space in openLdap username
Remove doc change in this branch
Update unit test for ldap search and import user
Add test case about ldap verify cert checkbox
Modify ldap testcase
2017-11-24 12:41:51 +08:00
Deng, Qian
f55c0f03b5
build & publish npm package for VIC after ci
2017-11-22 20:01:00 +08:00
Yan
53dbe7408f
Add latest offline bundle
...
Added latest offline bundle and build pipeline for harbor bosh.
2017-11-22 14:16:18 +08:00
Wenkai Yin
31cf6c078e
Implement replication policy manager
2017-11-16 10:55:03 +08:00
Daniel Jiang
fa83b3a31e
Merge pull request #3602 from wy65701436/fix-tc-log
...
Add screenshot to monitor TC execution
2017-11-13 04:18:06 -06:00
wangyan
b300334764
Add screenshot to monitor TC execution
2017-11-12 22:51:02 -08:00
reasonerjt
19a13e8575
Deprivilege harbor-ui harbor-jobservice harbor-adminserver
...
Use non-root user to run the service within these docker images, and provide HEALTHCHECK
mechanism.
2017-11-09 03:09:09 -08:00
Wenkai Yin
5cef58baa1
update according to the comments
2017-11-08 17:53:41 +08:00
myufei
c66ab0d142
Add project level policy auto case
2017-11-07 15:04:27 +08:00
wangyan
8df0dae5ca
Add OVA CI scripts
2017-11-03 03:40:56 -07:00
Wenkai Yin
51d5df0849
Update replication policy API to support trigger and filter
2017-11-02 14:59:26 +08:00
Fuhui Peng (c)
30a60e6115
Merge branch 'master' of https://github.com/vmware/harbor
2017-11-01 18:36:37 +08:00
Fuhui Peng (c)
bcfba78615
modify test case about email config
2017-11-01 17:29:02 +08:00
myufei
d3f9d0545d
Update assert of keyword Project should not be deleted
2017-11-01 14:23:52 +08:00
Yan
5ba414397d
Merge pull request #3484 from wy65701436/https-ci
...
Enable https support in CI testing
2017-11-01 09:08:51 +08:00
wangyan
31d92bf0c5
Enable https support in CI testing
...
Add harbor.ca with certutil into Chrome trust store, then can use Chrome headless to access harbor with https
And also update Chrome to latest stable version 62
2017-10-31 00:49:43 -07:00
pengpengshui
26cf27f327
Merge pull request #3475 from pengpengshui/master
...
add checkbox on config-email page and test code, modify project access level label
2017-10-31 10:42:07 +08:00
myufei
1eca12ec28
Add delete project auto case
2017-10-30 16:34:49 +08:00
Fuhui Peng (c)
f6595bedad
modify test case about an insecure checkbox to configure
2017-10-30 10:34:43 +08:00
wangyan
e9aece863c
Add a upload build flag in Drone CI
2017-10-26 01:16:34 -07:00
Daniel Jiang
cf5bcbebb9
Merge pull request #3415 from reasonerjt/mariadb-on-photon
...
Provide Dockerfile and artifacts for building mariadb on photon OS.
2017-10-23 12:19:04 +08:00
Wenkai Yin
2156750b04
Move certificate verification to target level
...
The certificate verification is on system level before this commit. Moving it
to target level makes the configuration more flexible for different targets.
2017-10-20 15:36:56 +08:00
Tan Jiang
1871011a5d
Provide Dockerfile and artifacts for building mariadb on photon OS.
...
Also update the docker-compose template such that the notary db instance
will be provisioned via the mariadb-photon image.
2017-10-20 14:41:36 +08:00
Wenkai Yin
66b2d0d3f3
Apply project level policies to standalone Harbor
...
The following features are only enabled in integration mode, this commit moves
these to standalone Harbor:
- Content trust policy: only signed images can be pulled
- Vulnerability policy: only images whose severity is below the threshold can be pulled
- Automatic scan policy: automatic scan pushed images
2017-10-19 17:33:28 +08:00
Yan
43ac42da2b
Merge pull request #3398 from sigsbee/ldap
...
add missing step in ldap user push image
2017-10-17 22:06:14 -07:00
myufei
161b2d62f9
add missing step in ldap user push image
2017-10-18 09:48:14 +08:00
Yan
f5e9a0d8d5
Merge pull request #3388 from sigsbee/ldap
...
add ldap case
2017-10-17 18:46:25 -07:00
myufei
b3755e1009
add ldap case
2017-10-17 15:05:16 +08:00
wang yan
24a80ea324
fix the uri of latest build file.
2017-10-16 14:38:54 +08:00
wang yan
fc49245188
debug upload latest build file to GS.
2017-10-16 13:52:42 +08:00
Yan
8583754c11
Merge pull request #3375 from wy65701436/removetrigger-vic-ci
...
add a latest.build file to index the latest harbor build
2017-10-16 10:52:15 +08:00
wang yan
b56b3bced1
add a latest.build file to index the latest harbor build. It's for OVA.
2017-10-13 18:00:30 +08:00
myufei
7eb036ddd3
fix scan tag case
2017-10-12 11:31:44 +08:00
Tan Jiang
51286d9baa
Provide UAA authenticator for password based authentication.
2017-10-07 00:16:53 +08:00
wangyan
5afc0b5d28
update notary case
2017-09-18 15:46:40 +08:00
Deng, Qian
75566bffd1
refactory testcase for project member management and replace tab to space
2017-09-12 15:14:55 +08:00
Yan
609f199c81
add scan logs and fix release issue ( #3156 )
2017-09-05 13:12:23 +08:00
Yan
b8ada80304
clean harbor containers in CI ( #3137 )
...
* update
* update
* update
2017-09-01 10:47:04 +08:00
Yan
0a75efbfce
fix issue 2362 ( #3146 )
2017-08-31 22:55:39 +08:00
wangyan
e4b2ecb409
update
2017-08-30 12:33:55 +08:00
Yan
cf63f75de4
set drone to default ( #3081 )
2017-08-18 18:33:44 +08:00
Yan
4139944723
update build command ( #3041 )
2017-08-14 15:19:21 +08:00
Steven Zou
b6b232ce6a
Merge pull request #2945 from vmware/fix_issue_#2762
...
Fix data race issues of go sources
2017-08-07 21:57:03 +08:00
sigsbee
cf7326cf18
update replication case ( #1985 )
...
* add replication case
2017-08-07 18:12:01 +08:00
Steven Zou
21d3f4a549
Fix data race issues of go sources
2017-08-07 14:50:37 +08:00
Yan
f40eb993a0
[BAT] add drone to master ( #2942 )
...
* add drone to master
copyright
update
update
update
update
update
update build process
* update
* package migrator
2017-08-07 14:02:38 +08:00
Wenkai Yin
1298d465da
refactor GetPublic logic
2017-07-20 10:34:18 +08:00
Wenkai Yin
2ada2dbd16
Merge pull request #2631 from ywk253100/170626_statistic
...
Refactor statistics API to return private/public count of projects and repositories
2017-06-30 14:26:15 +08:00
Yan
73c44723f5
Merge pull request #2630 from yixingjia/fixcommonname
...
Fix common name issue.
2017-06-26 23:15:58 -07:00
Wenkai Yin
6e9ec3f22c
refactor statistics API
2017-06-26 14:15:01 +08:00
yixingj
4a583b0229
Fix common name issue.
...
The web server's cn name should be different with the CA's common name
other wise we cannot vew the harbor UI if we use this scripte to create
certificate.
2017-06-26 13:06:14 +08:00
Steven Zou
7c68c1ca69
Enhance script in make/dev/nodeclarity/entrypoint.sh
2017-06-23 18:58:58 +08:00
Wenkai Yin
aecfcef51a
Merge remote-tracking branch 'upstream/master' into 170608_project
2017-06-14 20:46:23 +08:00
Wenkai Yin
f0c47b990b
Merge pull request #2495 from ywk253100/170605_pm
...
Implement project manager based on PMS
2017-06-13 15:46:48 +08:00
Wenkai Yin
0925fd35f1
implement project manager based on PMS
2017-06-12 14:43:26 +08:00
Wenkai Yin
6b4ae098db
update
2017-06-09 18:24:52 +08:00
Wenkai Yin
20cf8de0f7
Merge remote-tracking branch 'upstream/master' into 170608_project
2017-06-09 16:41:13 +08:00
Wenkai Yin
e97d7dab85
refactor GET /projects
2017-06-09 16:41:02 +08:00
Wenkai Yin
b2380818fd
support query logs according to conditions
2017-06-08 14:44:08 +08:00
Daniel Jiang
32102c1523
Merge pull request #2332 from vmware/release-1.1.0
...
merge 1.1.0 to master
2017-05-19 07:19:46 -07:00
Daniel Jiang
0b02231093
Update registry img ( #2330 )
...
* update the registry image
* update other yml files and docs to reflect image update
2017-05-19 00:19:27 -07:00
wangyan
1d0721fdfc
Fix permission issue catched by GAS Scanner
...
Support UI UT
add output
ad npm install
add npm install
2017-05-05 04:37:40 -07:00
sigsbee
371fc5d6ac
update configuration test case ( #1986 )
...
* update configuration test case
2017-04-21 10:36:07 +08:00
Daniel Jiang
a1d39bb7e8
Merge pull request #1987 from sigsbee/group9
...
update content trust test case
2017-04-14 18:13:09 +08:00
myufei
c7e6cbe3cc
update test case
2017-04-14 15:51:31 +08:00
myufei
57a4b39e0a
update content trust test case
2017-04-14 14:59:35 +08:00
myufei
cdc49dd944
update content trust test case
2017-04-14 14:50:51 +08:00
wy65701436
e4af3412f7
add swagger checker
...
update travis
upadte travis
update
update travis
update travis
update to git commit id
add travis var
add push and pull support
2017-04-13 03:23:59 -07:00
myufei
5646e84d44
update content trust test case
2017-04-11 12:36:35 +08:00
Wenkai Yin
e60fd0530f
mount config to another dir, fix #1939
2017-04-07 09:14:41 +08:00
Wenkai Yin
ee2a6748c0
mount ca dir to container, fix #1829
2017-03-30 12:50:20 +08:00
Daniel Jiang
6450b4eb34
Merge pull request #1790 from wy65701436/dev
...
update login test
2017-03-24 20:08:46 +08:00
wy65701436
a90865e526
update login test
2017-03-24 03:14:03 -07:00
Tan Jiang
a33f4151e2
merge with dev branch
2017-03-24 14:40:34 +08:00
Tan Jiang
90bc280ea1
add a 4443 ssl server to nginx config
2017-03-24 13:16:48 +08:00
wy65701436
5f33b3f933
replace startuptest
2017-03-23 19:12:04 -07:00
wy65701436
8f31230255
add notary test
2017-03-22 04:30:20 -07:00
Wenkai Yin
383997f785
read capacity from adminserver
2017-03-21 16:28:24 +08:00
Yan
038d7dd90c
Dev new ui ( #1 )
...
* Updates for verfied tags deletion.
* Remove old UI.
* Move i18n folder.
* Updates for latest UI codes.
* make travis with latest dev code.
* update test code
* add cat log
* cat nginx
* cat nginx
* fix template error
* remove --with-notary
* remove controller test
* fix controller test bug
* modify controller test
* debug controller test
* update controller test
* update index title to harbor, discussed with Kun.
* Update package.json
* Merge latest UI changes.
* remove git
2017-03-20 18:51:20 +08:00
Yan
92d9f8516f
Merge pull request #1626 from ywk253100/170315_registry_upgrade
...
Upgrade registry to 2.6.0
2017-03-17 18:25:22 +08:00
myufei
63e61f388b
update test cases
2017-03-16 16:06:38 +08:00
myufei
c7b1198070
update test cases
2017-03-16 15:14:19 +08:00
Wenkai Yin
108aa21499
upgrade registry to 2.6.0
2017-03-16 13:44:16 +08:00
myufei
11146a628f
add test cases
2017-03-15 18:23:10 +08:00
myufei
a2ee316a30
add test cases
2017-03-15 18:20:47 +08:00
myufei
878a888e0d
update testcase
2017-03-15 17:25:28 +08:00
myufei
8ee42c6f4a
update test case
2017-03-14 16:28:52 +08:00
root
fab4c710af
add test case
...
Committer: myufei <myufei@vmware.com>
2017-03-14 16:14:47 +08:00
Wenkai Yin
d6a6f67596
refactor search API to return more info
2017-03-06 17:47:05 +08:00
yhua
c48d908515
add new ldap auth and import user feature
2017-02-27 15:13:49 +08:00
Wenkai Yin
40eb6bb7d3
encrypt passwords enhancement
2017-02-22 16:59:28 +08:00
Wenkai Yin
390f89ee0a
encrypt passwords and secret
2017-02-17 18:23:21 +08:00
Wenkai Yin
b6e27f6ea2
Merge remote-tracking branch 'upstream/configuration' into 161228_config
...
Conflicts:
tests/docker-compose.test.yml
2017-01-19 17:56:53 +08:00
Wenkai Yin
f1f78a5649
update
2017-01-19 17:56:08 +08:00
wemeya
7f949b1a95
add test for ldap.go ( #1307 )
...
LGTM
2017-01-19 10:09:56 +08:00
wemeya
ce0a44010d
add test file for systeminfo.go ( #1288 )
...
LGTM
2017-01-06 15:41:07 +08:00
yhua
0249f2181a
update registry from 2.5.0 to 2.5.1
2016-12-15 16:50:50 +08:00
Henry Zhang
4134a05a5f
update test case
2016-11-09 17:37:58 +08:00
Henry Zhang
c3463247d2
test cases
2016-11-07 21:27:22 +08:00
Henry Zhang
b01edb9cfc
test cases
2016-11-02 20:50:35 +08:00
Henry Zhang
8818f89a02
usecases
2016-10-31 12:13:13 +08:00
Henry Zhang
c04bf5a499
usecases
2016-10-31 00:04:31 +08:00
Henry Zhang
68543a334f
usecases logging
2016-10-27 00:12:41 +08:00
Henry Zhang
1c0f510a49
usecases logging
2016-10-27 00:10:28 +08:00
Henry Zhang
7203e42490
RBAC use cases
2016-10-26 23:32:58 +08:00
Henry Zhang
9f043586f1
Merge remote-tracking branch 'hupstream/dev' into dev
2016-10-26 23:29:59 +08:00
yhua
269b6b887a
update registry image version in test docker-compose file
2016-10-26 13:30:02 +08:00
Henry Zhang
60bbafcde5
group 2 test cases of image management
2016-10-25 22:38:39 +08:00
Henry Zhang
f2a152555b
add usecaes
2016-10-24 00:22:29 +08:00
Henry Zhang
6b1c555359
test caese
2016-10-23 14:34:36 +08:00
Henry Zhang
e7023c429e
test caese
2016-10-23 14:34:24 +08:00
Henry Zhang
fc62b7b648
test caese
2016-10-23 14:13:22 +08:00
Henry Zhang
a3cbd1eda0
test caese
2016-10-23 14:09:52 +08:00
Henry Zhang
2354481dc6
test caese
2016-10-23 14:05:03 +08:00
yhua
311cf8da07
change code 20161019
2016-10-21 18:39:10 +08:00
wemeya
c0f3d7d749
add test case for user
2016-09-22 16:28:12 +08:00
zgdxiaoxiao
bfb5db7c97
swagger bugfix
2016-09-21 10:43:04 +08:00
zgdxiaoxiao
198149599d
update api test and swagger.yaml(updated)
2016-09-02 16:05:55 +08:00
wemeya
44d3875a3f
add test code for log and statistic api
2016-08-31 17:01:12 +08:00
zgdxiaoxiao
02d5281f0c
project api test and bugfix
...
1.add project api test
2.bugfix:the type of public in project.go is fixed to int32
2016-08-30 18:26:41 +08:00
yhua
60cae7357f
add new structs from swagger auto gen code
2016-08-15 14:36:42 +08:00
yhua
74702a0be7
add api testing framework
2016-08-10 14:34:56 +08:00
Tan Jiang
bc12816f4d
fix build issue
2016-07-14 21:22:39 +08:00
yhua123
c6f1d1f0b0
Update hbapisearch_test.go
...
go vet ./...
tests/apitests/hbapisearch_test.go:11: Println call ends with newline
2016-06-20 14:39:22 +08:00
yhua123
3157559c4e
Update hbapidelrpo_test.go
...
fix go vet ./...
tests/apitests/hbapidelrpo_test.go:12: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:20: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:35: Println call ends with newline
tests/apitests/hbapidelrpo_test.go:42: Println call ends with newline
2016-06-20 14:38:55 +08:00
yhua123
5c500cf4a1
Update hbapiaddprj_test.go
...
fix go vet ./...
tests/apitests/hbapiaddprj_test.go:12: Println call ends with newline
2016-06-20 14:36:47 +08:00
yhua123
7fbdf4e018
Update hostcfg.sh
...
change reg.mydomain.com to reg.mydomain.org
2016-06-15 12:57:04 +08:00
yhua123
f3ed963c75
Update hostcfg.sh
...
sudo
2016-06-15 12:50:00 +08:00
yhua123
ca16841c51
Update hostcfg.sh
...
review Deploy/harbor.cfg
2016-06-15 12:39:31 +08:00
yhua123
f1b5ee1522
Create hbapidelrpo_test.go
...
add new test case for delete repo API
2016-06-15 11:20:34 +08:00
yhua123
fc92df0d17
Update testprepare.sh
...
change docker login address to localhost
2016-06-15 11:19:10 +08:00
Wenkai Yin
6c543e6cac
Merge pull request #334 from yhua123/patch-1
...
Update harborapi.go
2016-06-14 17:38:47 +08:00
yhua123
21bd0ba9fa
Update hbapiaddprj_test.go
...
fix one issue, project name should be lower case.
2016-06-14 14:31:35 +08:00
yhua123
97c78c635c
Update harborapi.go
...
1 add one new API test interface: delete repository
2 fix one sling usage issue
2016-06-14 13:47:11 +08:00
yhua
bd8f311d1b
test for travis and github lib(1)
2016-06-07 14:55:04 +08:00
yhua
2f8ec6461b
test for travis and github lib
2016-06-07 14:40:37 +08:00
yhua
00f69eb327
automation testing
2016-06-07 12:19:48 +08:00
Tan Jiang
a462f118f1
update file names, remove tests folder
2016-02-29 10:50:47 +08:00
Tan Jiang
2cabd9c187
fix package comment issue
2016-02-26 18:54:14 +08:00
Tan Jiang
9660645fe2
improve test coverage
2016-02-24 18:16:16 +08:00
wknet123
273aea3c6d
refined error check in changing and resetting password, added ut for changing password with incorrect old password.
2016-02-24 21:36:45 +08:00
wknet123
be07274e33
added checking affected count in changing password, added ut for changing password with old password.
2016-02-24 20:44:46 +08:00
Tan Jiang
abd0695f82
ut rework
2016-02-24 10:53:25 +08:00
Tan Jiang
25347a1037
ut rework
2016-02-23 20:49:59 +08:00
Tan Jiang
f859348ac6
Initial commit
2016-02-01 19:59:10 +08:00