Commit Graph

5450 Commits

Author SHA1 Message Date
clouderati
9a93f225d7 Updating copyright notices
Replacing copyright notices with "Copyright 2018 The Harbor Authors".

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 16:04:36 +00:00
Mia ZHOU
5cf6c04ea6
Merge pull request #6071 from zhoumeina/gc_releated_ui
fix gc ui issues
2018-10-18 13:19:29 +08:00
Meina Zhou
c6aaea869f fix gc ui issues
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-18 11:37:55 +08:00
Daniel Jiang
3d09089a9c Rebuild Harbor images based on photon:2.0 (#6054)
Make necessary change to make things work with photon 2.0 docker image.
Remove distro-sync to mitigate the build issue and add `--pull` to docker build
command to make sure the latest photon:2.0 will be pulled during build process.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-18 11:03:28 +08:00
Mia ZHOU
31914c04ee
Merge pull request #6070 from pureshine/add_lines
Add a header separator line to the action drop-down menu.
2018-10-18 10:55:25 +08:00
Mia ZHOU
12e9be3cde
Merge pull request #6067 from pureshine/modify_md
Change the rights of developers and project admin in user guide.
2018-10-18 10:49:21 +08:00
FangyuanCheng
c111a354f0 Add a header separator line to the action drop-down menu.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-18 10:33:50 +08:00
Fangyuan Cheng
7851404d0d
Merge pull request #6069 from pureshine/scan_btn
Disable scan button when vulnerability data is not ready.
2018-10-18 09:32:32 +08:00
FangyuanCheng
6d257de6b1 Change the rights of developers and project admin in user guide.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-18 09:27:23 +08:00
FangyuanCheng
2a3c113458 Disable scan button when vulnerability data is not ready.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-17 23:48:10 +08:00
Qian Deng
7c43420cfd
Merge pull request #6061 from zhoumeina/hide_repo
hide the popular repositories by default
2018-10-17 18:51:29 +08:00
Meina Zhou
bb6ff76c40 hide the popular repositories by default
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-17 17:55:03 +08:00
Daniel Jiang
3c577d588c
Merge pull request #6063 from wy65701436/fix-dns
Use docker official way to unset dns search
2018-10-17 17:08:00 +08:00
Fangyuan Cheng
d7ead338d0
Merge pull request #6065 from pureshine/download_btn
Allow developers and project admins  administrators to downloadthe harbor certs  from UI.
2018-10-17 16:16:14 +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
Yan
a5e7ac9164
Upgrade notary complile golang version to 1.9.4 (#6064)
This commit is to upgrade the golang version to 1.9.4, it because a
bug of golang 17.3 could introduce one dns resolver issue for harbor
mentioned by #6031.

The bug of golang is https://github.com/golang/go/issues/15419, it makes
harbor containers to lookup 'endpoint.' firstly which may cause network
issue.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-17 16:04:14 +08:00
FangyuanCheng
15172988cb Allow developers and project admins administrators to download the harbor certs from UI.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-17 15:14:46 +08:00
wang yan
bad68c5429 Use docker official way to unset dns search
According docker official document, use 'dns_search= .' in the docker
compose file if you don't wish to set the search domain.

https://docs.docker.com/v17.09/engine/userguide/networking/default_network/configure-dns/

Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-17 14:27:29 +08:00
Mia ZHOU
00c6e2dc5f
Merge pull request #6044 from pureshine/refactor-vul
Refactoring the vulnerability UI to make it similar to GC.
2018-10-17 09:18:16 +08:00
clouderati
ce9e84d529 Updating ADOPTERS.md
- Wrapping existing text for consistency
- Updating success stories with various users
- Removing erroneous whitespacing

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-16 09:24:48 -04:00
Yan
08ae5f2f37
Limit dns search in harbor containers (#6057)
This commit is to set dns search to null in the harbor containers,
that means the dns search domains of docker host doesn't impact
the network IO in the containers.

If do not set this, Harbor notary-server and notary-signer are resolving
the "mysql" alias to the resolv.conf search path instead of to "mysql."
for the notary-db bridge IP, see #6031.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-16 18:34:36 +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
Fangyuan Cheng
141a81ac47
Merge pull request #6051 from pureshine/modify_text
Modify the dialog information when removing a member of project
2018-10-16 16:38:31 +08:00
FangyuanCheng
0b8569371d Refactoring the vulnerability UI to make it similar to GC.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-16 16:31:46 +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
FangyuanCheng
9cbcd07d10 Modify the dialog information when removing a member of project
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-16 15:11:02 +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
Qian Deng
52241d7fe0
Merge pull request #6049 from zhoumeina/fix_uppercase_menu
modify delete to uppercase
2018-10-16 10:31:42 +08:00
Meina Zhou
95188de77f modify delete to uppercase
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-16 09:46:44 +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
stonezdj(Daojun Zhang)
b764033fc9
Merge pull request #6007 from stonezdj/refact_5998
Change admin server to core in jobservice
2018-10-15 17:52:24 +08:00
Steven Zou
f131196781
Merge pull request #6043 from reasonerjt/remove-local-sched
Remove the local scheduler
2018-10-15 16:55:29 +08:00
Steven Zou
ee00b1d8c6
Merge pull request #6045 from hainingzhang/adopter
Added in adopters
2018-10-15 16:53:29 +08:00
Henry Zhang
f9edb5fa38 add in adopters
Signed-off-by: Henry Zhang <haininghenryzh@vmware.com>
2018-10-15 15:50:20 +08:00
stonezdj
79bac7a64e Change admin server to core in jobservice
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-10-15 14:56:18 +08:00
Daniel Jiang
00c8344c13 Remove the local scheduler
This is no longer needed after moving the "scan all" to job-service.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-15 14:14:11 +08:00
Daniel Jiang
a494a829ac
Merge pull request #6029 from reasonerjt/create-schema-migration-tbl
Create shcema migration table in DB container
2018-10-15 12:53:32 +08:00
Wenkai Yin
0ebed68f5b
Merge pull request #5924 from cd1989/replication-status-check
Fix statuses condition when trigger replication
2018-10-15 11:26:22 +08:00
陈德
e5e5ba79a5 Add operations filter
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-13 11:09:53 +08:00
clouderati
fa02521fec Updating README.md
Updating README with new link to ADOPTERS.md (in lieu of partners.md)

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-12 16:34:56 -04: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
c8cb2f8481 Create shcema migration table in DB container
The migrate tool will try to create table schema_migration upon opening
the connection to DB.  This will cause error when there are multiple
instance of adminserver trying to access the migrator upon start.
This commit move the creation of the table during the initialization of
the DB container.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-12 17:17:31 +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
Daniel Jiang
5d251ad762
Merge pull request #6025 from ywk253100/181012_travis
Update golint repository used in travis
2018-10-12 14:32:41 +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
18aedacef8
Merge pull request #6020 from reasonerjt/fix-insecure-transport
Revoke the change in replicator
2018-10-12 10:34:52 +08:00
clouderati
5171c721c9 Updating ADOPTERS.md
Adding 360 Total Security to list of production Harbor users.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-11 08:58:17 -04:00
clouderati
859fb2096f Updating OWNERS.md
Updating link to GOVERNANCE.md to reflect move to goharbor/community repo.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-11 08:50:53 -04:00
clouderati
1aa88a2a4e Updating OWNERS.md file
Adding Nathan Lowe and De Chen as maintainers.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-11 08:48:49 -04:00