Commit Graph

230 Commits

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