Commit Graph

5531 Commits

Author SHA1 Message Date
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
Qian Deng
2e3e225147 Fix: Show image description info based on locale setting
Descrition info not present based on locale info before, translate it before showing on page.

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-22 20:43:06 +08:00
Daniel Jiang
6f4f941854 Fix permission issue in rsyslog container.
This commit fixes the permission issues introduced after migration to photon:2.0 base image.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-21 21:45:42 -07:00
Qian Deng
64d83101f5
Merge pull request #6017 from steven-zou/update_swagger_chart_labels_API
Update swagger document to reflect the changes of Chart API for supporting labels
2018-10-22 10:15:19 +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
Qian Deng
2891ab2822
Merge pull request #6085 from ninjadq/add_label_2_helm_chart
Add label 2 helm chart
2018-10-19 13:08:35 +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
Qian Deng
6eb9fa53a7 Add labels on chart summary page
Add labels on chart summary

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-19 12:47:49 +08:00
Steven Zou
db24cbe25a
Merge pull request #5779 from cd1989/images-retag
Merge Images retag
2018-10-19 11:04:48 +08:00
Steven Zou
7ca2e9df81 Enhance job service to support multiple executions rectording
- print more logs
- add execution records for periodic job
- add launch job func in job context to launch sub job
- replace copyright header with new version

Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-19 11:02:09 +08:00
Daniel Jiang
0b0678b7fe
Merge pull request #6083 from reasonerjt/multi-adminserver-conflict
Ignore duplication error when inserting config
2018-10-19 10:53:01 +08:00
Qian Deng
7ffa135432 Add Label Marker to Helmchart version
1. Add Label marker component
2. Add Label apis
3. Add Label to Helmchart version

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-19 10:30:02 +08:00
Daniel Jiang
fe2e58e1a0 Ignore duplication error when inserting config
This commit mitigates the situation when more then one adminserver is
deployed and there may be duplication error when they try to initialize
the configuration to DB.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-19 10:23:00 +08:00
clouderati
abc070baad Updating demo_server.md
Updating list of avenues users can leverage to ping us if demo server
environment is malfunctioning.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 20:16:29 +00:00
clouderati
260afbad69 Updating README.md
* Tweaking langauge in demo server section of doc
* Cleaning up list of community resources

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 20:13:22 +00:00
clouderati
9d401e553d Updating demo_server.md
Updating list of avenues users can leverage to ping us if demo server
environment is malfunctioning.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 20:04:14 +00:00
clouderati
d5b00ca662 Updating README.md
Tweaking langauge in demo server section of doc.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 20:02:21 +00:00
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
陈德
a1b4729aa7 Add more unit tests
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-18 00:26:25 +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
stonezdj
0278981523 Change admin server to core in jobservice
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-10-16 19:23:12 +08: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