Commit Graph

422 Commits

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