Commit Graph

42 Commits

Author SHA1 Message Date
danfengliu
9a2188641d Upgrade python and robot for drone build
1.Separate Dockerfile to drone and nightly e2e, one Dockerfile should cover
 both scenarios, it will be resolved later;
2.Fix docker api err type issue, API error has no message attibute;
3.Upgrade docker in nightly e2e images.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-12 10:26:12 +00:00
danfengliu
07f5f549d0 Fix LDAP API test issue by upgrading python
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-09 06:37:28 +00:00
jonasrosland
e7d1563c6b Moving docs from the harbor to the website repo
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-07-21 12:41:24 -04:00
Ziming Zhang
8857e89e40 feature(redis) support redis sentinel
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-07-19 21:19:03 +08:00
Wang Yan
bad8f026fc
upgrade golang to v1.14.5 (#12489)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-07-16 16:20:54 +08:00
Steven Zou
47e731d885
feat(code):enable code security scanning (#12382)
add codeql-analysis.yml file
2020-07-03 00:12:39 +08:00
danfengliu
67ccc98c58 Add helm and helm3 CLI py-test
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-06-16 16:27:31 +08:00
danfengliu
4b5080d44e Add singularity py-test
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-06-10 11:09:41 +08:00
danfengliu
e020b90bf0 add oras cli py-test
1. Add oras cli py-test;
2. Add env for notary url, allow to input different notary port instead of solid 4443;
3. Add retry for keyword Cannot Pull Image and make it longer during retry.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-06-08 11:10:07 +08:00
danfengliu
ba48e55e4e Move docker prune cmd outside of api common install shell script
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-05-22 04:06:25 +00:00
Wang Yan
fc768a5fbe
update the conformance test report path (#11836)
Fix the report path issue in the action script.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-05-07 11:29:25 +08:00
wang yan
d9773248e2 add conformance test to CI
1, add a specrate git action for conformance test
2, use the OCI testing code to test Harbor master code on push

Signed-off-by: wang yan <wangyan@vmware.com>
2020-04-29 16:08:27 +08:00
Ziming Zhang
41e8bb91ce fix some cicd problems
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-04-21 14:34:45 +08:00
Daniel Jiang
b72823af15 Make sure codecov reports are merged
The codecov.yml has to be moved according to latest update in
codecov-action:
https://github.com/codecov/codecov-action#arguments
It also does some clean up and add flags to group the reports.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-04-11 12:00:07 +08:00
Michael Michael
26e3291e41
Merge pull request #10859 from jonasrosland/trigger-netlify-build-on-docs-update
Trigger a new Netlify build when new docs are merged
2020-03-23 10:35:55 -05:00
DQ
02dea3ad2c Add: mTLS configuration on CI
Add internal_tls on ci
generate certs for ci

Signed-off-by: DQ <dengq@vmware.com>
2020-03-18 19:22:09 +08:00
danfengliu
995ce30c58 Modify API test for scan image since harbor v2 API presented
1. System level Scan All;
2. Scan An Image Artifact

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-03-18 10:15:07 +08:00
jonasrosland
f0360824ee Remove docs folder from CI runs
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-03-17 10:46:27 +08:00
danfengliu
843b05c2d3 Add script of push cnab bunlde API test
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-03-16 17:37:16 +08:00
Daniel Jiang
6a25e6b2c6
Upodate stale.yml to for near future releases (#10996)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-03-12 17:49:12 +08:00
Wang Yan
bd7940217a
upgrade golang version to v1.13.8 (#11006)
The vesrion contains two security bug fix - CVE-2020-0601, CVE-2020-7919

More details, see the golang milestone:

https://github.com/golang/go/issues?q=milestone%3AGo1.13.8+label%3ACherryPickApproved

Signed-off-by: wang yan <wangyan@vmware.com>
2020-03-11 12:20:06 +08:00
Daniel Jiang
0f0e27179b Remove dependency on travis-ci
Github actions work fine, we no longer needs travi-ci to trigger the
tests.
This commit removes it.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-03-09 01:30:38 +08:00
danfengliu
e49ac2f9e9 Add API test python script - Push chart file by Helm3 chart command line
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-03-05 14:58:36 +08:00
Ziming
5f2544941e
upgrade github action checkout@v2 (#10889)
enhance go_check order to make it fail earlier

Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-02-29 01:15:27 +08:00
jonasrosland
84d863b4f7 Trigger a new Netlify build when new docs are merged
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-02-26 12:40:07 -05:00
Ziming Zhang
94230b5e19 feat(cicd) fix some build problem
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-02-25 12:05:39 +08:00
AllForNothing
3f4d0d0475 Fix UT coverage report uploading
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-02-18 12:04:25 +08:00
sshijun
89148b457a Add ut coverage report for every PR
Signed-off-by: sshijun <sshijun@vmware.com>
2020-02-03 11:12:54 +08:00
Daniel Jiang
c4dd6c077e
Merge pull request #10456 from bitsf/stop_travis
feat(cicd):stop use travis
2020-01-18 02:59:41 +08:00
Ziming Zhang
45113ea8e1 feat(cicd) use a smaller docker image for test
Change-Id: Ie8f365e7271bfda24ae965aaca0e55d1099c1d68
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-01-17 13:09:31 +08:00
Ziming Zhang
e4eec83e21 feat(cicd):stop use travis
Change-Id: I8a979e4c63801c70ea0b520c864131901ab39506
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-01-15 18:16:03 +08:00
Ziming Zhang
a8e99ef7be fix(cicd) Use fixed golang version 1.13.4 and fail early
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: Ic6a5930c879e3d344ce8a747e226514b4500324c
2020-01-14 16:35:26 +08:00
Ziming
e32649adb4 enhance[cicd] introduce github action for CICD
In order to replace travis.
Implement 5 CI jobs
- UTTEST
- APITEST_DB
- APITEST_LDAP
- OFFLINE
- UI_UT

Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-12-17 18:36:33 +08:00
DQ
377739204b Update config file names
Signed-off-by: DQ <dengq@vmware.com>
2019-09-02 18:19:06 +08:00
Daniel Jiang
7be9c54c27 Add items to exemptlabels in stale.yml (#7058)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-03-05 10:52:44 +08:00
Daniel Jiang
e7cdf39437 Update the settings in stale.yml
Update the settings to extend the "Days until stale" and "Days untile
close".  Added other exempt labels.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-08 14:25:42 +08:00
Daniel Jiang
0c40b21966 Let stale bot use the label "staled"
"wontfix" is used to mark the issues that were decided will not be fixed
after triage, so let's use a different label to mark stale issues.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-12 16:22:29 +08:00
Steven Zou
ae38fac363 Enable the GitHub app Stale bot to clear the outdated issues
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-07 14:13:50 +08:00
Steven Zou
873dc3646c Update issue templates
update bug template
add proposal template
2018-08-28 14:47:19 +08:00
Steven Zou
bddea5414c Update the issue templates
- update bug template
- add proposal template

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-28 13:52:06 +08:00
Henry Zhang
a4320d6949 update README 2016-12-29 15:02:44 +08:00
Tan Jiang
c12f018a85 provide issue template 2016-04-22 15:04:29 +08:00