Commit Graph

469 Commits

Author SHA1 Message Date
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