Commit Graph

8269 Commits

Author SHA1 Message Date
Yang Jiao
e5a0474ac8
Merge pull request #15776 from YangJiao0817/update-pipenv-1.10.9
Upgrade pipenv
2021-10-13 15:28:05 +08:00
Yang Jiao
7b91cf97ae Upgrade pipenv
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-13 14:56:27 +08:00
Yang Jiao
7118d8a59b
Merge pull request #15749 from YangJiao0817/upgrade-version-to-1.10.9
Upgrade version to 1.10.9
2021-10-11 14:50:31 +08:00
Yang Jiao
855ef73364
Merge pull request #15748 from YangJiao0817/cherry-pick-refresh-base-to-release-1.10.0
Cherry pick refresh base to release 1.10.0
2021-10-11 14:50:05 +08:00
danfengliu
879d1d7a1d Add trigger file for building base
If build base images is needed in a unexpected situation, build base images action will be triggered by making a modification of .buildbaselog.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-10-11 10:34:21 +08:00
danfengliu
8f99b98731 Modify GCP repo in build package workflow
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-10-11 10:33:40 +08:00
Yang Jiao
59f13b51a1 Upgrade version to 1.10.9
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-11 10:26:24 +08:00
danfengliu
4e5d337b96
Merge pull request #15204 from danfengliu/add-missing-keyword-for-db-auth-test
Remove useless keyword for db auth mode test
2021-07-15 10:44:51 +08:00
Wang Yan
0c951521bd
remove migrator from offline install (#15205)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-06-27 19:32:47 +08:00
danfengliu
9bfdaedbc1 Add missing keyword for db auth mode test
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-26 11:58:23 +08:00
Qian Deng
aab745dfe6
Merge pull request #15199 from ninjadq/release-1.10.0
Enhance: prepare package management issue
2021-06-25 16:27:02 +08:00
DQ
11f7d69d7c Enhance: prepare package management issue
replace some python packages to photon one

Signed-off-by: DQ <dengq@vmware.com>
2021-06-25 15:43:24 +08:00
danfengliu
c0522ae06b
Merge pull request #15193 from danfengliu/to-1.10-add-docker-access-for-build-base
add docker access to build base in make
2021-06-25 14:32:07 +08:00
danfengliu
08a7a19cc4
Merge pull request #15194 from wy65701436/release-1.10.8-build-bin
enable build bin for v1.10
2021-06-25 09:53:40 +08:00
Wang Yan
a8d6c6314c enable build bin for v1.10
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-06-24 23:02:48 +08:00
danfengliu
f5980317f9
Merge pull request #15192 from wy65701436/release-1.10.8
bump up to v1.10.8
2021-06-24 16:58:05 +08:00
danfengliu
6674ce7f10 add docker access to build base in make
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-24 15:33:16 +08:00
Wang Yan
13db014b94 bump up to v1.10.8
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-06-24 15:02:02 +08:00
danfengliu
ddfe872a7b
Merge pull request #14740 from danfengliu/fix-oidc-tests-issue--for-new-dex-service
[ 1.10 ] Fix OIDC tests issue for new dex service
2021-05-31 20:43:00 +08:00
danfengliu
718bec97ef Fix OIDC tests issue for new dex service
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-31 17:50:36 +08:00
danfengliu
1038d434b6
Merge pull request #14847 from danfengliu/add-build-package-git-action-for-release-1.10.0
Add build package workflow in git action of Harbor V1.10
2021-05-12 10:48:41 +08:00
danfengliu
a89cb0a550 Add build package workflow in git action of Harbor V1.10
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-11 16:56:15 +08:00
Daniel Jiang
279c8d3565
Merge pull request #14744 from wy65701436/release-1.10.0-fix-tk
fix registry token issue
2021-04-25 22:46:25 +08:00
Wang Yan
92577e8d24 fix registry token issue
Append pull permission to push when issue a registry token

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-04-25 15:45:37 +08:00
Daniel Jiang
eb4a3d20b9
Merge pull request #14735 from wy65701436/release-1.10.7
bump up to v1.10.7
2021-04-23 17:08:45 +08:00
Wang Yan
eed6698d31 bump up to v1.10.7
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-04-23 11:44:30 +08:00
Daniel Jiang
a1465a199c
Merge pull request #14344 from reasonerjt/fix-14303-1.10
[Cherrypick - 1.10] Add "*" to the claim set in the token for /v2 apis
2021-04-07 17:39:13 +08:00
Daniel Jiang
b6c7a31a70 Add "*" to the claim set in the token for /v2 apis
The "*" is used by notary server for permission checking:
84287fd8df/server/server.go (L200)
Hence, we need to add this into the JWT token such that actions like key
rotation can be executed.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-04-07 15:14:32 +08:00
danfengliu
c42e98a089
Merge pull request #14398 from danfengliu/remove-python3.6-in-v1.10.0
[Cherry-pick 1.10.0] Remove deploytment of python3.6 and set dns for docker
2021-03-25 19:41:29 +08:00
danfengliu
acc027afd7 Remove deploytment of python3.6 and set dns for docker
1. Docker v20 is the default version for git action, dns should be set manually.
Python v3.8 is the default version for git action, so remove deployment for python v3.6.
2. Some of API tests would be affect by docker v20, like manifest get
message will not be triggered if there is one locally, to avoid this
impact, API tests will be tested with docker E2E image, in this image,
docker v19 is enabled.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-11 17:53:36 +08:00
stonezdj(Daojun Zhang)
7ac0eefc32
Merge pull request #14374 from danfengliu/replace-python-to-python-handy-switch
Replace pybot to robot and upgrade python to v3.6
2021-03-05 12:15:18 +08:00
danfengliu
642471f820 Replace pybot to python handy switch way
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-05 01:48:51 +00:00
Wenkai Yin(尹文开)
3cb5c32f42
Merge pull request #14009 from reasonerjt/tokenreview-rm-header-1.10
Remove raw token from header in token review reuqest - 1.10.x
2021-01-14 18:29:37 +08:00
Daniel Jiang
4d23dd3f03 Remove raw token from header in token review reuqest
The server to handle token-review may have a limitation for the size of
the header.  When the token is huge the token review may fail.
This commit remove the necessary header to harden the flow.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-01-14 17:17:04 +08:00
Daniel Jiang
ac80a832df
Merge pull request #13871 from reasonerjt/token-scopes-1.10
Refine the token scope generation -- cherrypick to 1.10
2021-01-12 14:11:49 +08:00
Daniel Jiang
94b3fb99fe Refine the token scope generation
This commit directly maps the actoin permission in security context to
the scope generated by the token service in harbor-core.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-01-12 13:45:25 +08:00
danfengliu
71fa84edde
Merge pull request #13603 from danfengliu/add-docker-credential-to-1.10.0
Add docker credential for harbor 1.10.0
2021-01-11 15:25:48 +08:00
danfengliu
0e752d8cf8 Add docker credential for harbor 1.10.0 and fix docker api issue
1. Move LDAP API test out of robot script, LDAP API test will be triggered in Jenkins job independently;
2. Docker api returned from function before analyze the return message for expected error.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-01-11 14:06:25 +08:00
Qian Deng
52b6a5333a
Add san for notary cert (#13939)
Signed-off-by: DQ <dengq@vmware.com>
2021-01-11 11:41:52 +08:00
Wang Yan
c6814f2bcc
move ci from travis to gitaction (#13891)
1, deprecate travis, and use the gitaction for instread.
2, upgrade golang version to v1.15.6

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-01-06 15:30:54 +08:00
danfengliu
490042d8d9
Add docker-hub login in build package (#13528)
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-11-16 19:36:49 -08:00
danfengliu
341b8f0c7e
Add login for docker-hub in package build proces (#13526)
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-11-16 18:55:49 -08:00
danfengliu
aa61f66d0b
Add docker login with credential before building harbor package (#13520)
Due to docker hub access limitation, add docker login with credential
before building harbor package

Signed-off-by: wang yan <wangyan@vmware.com>

Co-authored-by: wang yan <wangyan@vmware.com>
2020-11-16 22:20:26 +08:00
Wang Yan
c2512c0075
bump up base version to v1.10.6 (#13516)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2020-11-16 15:36:27 +08:00
He Weiwei
ae8d82e5be
Merge pull request #13407 from heww/cherry-pick-fix-max-open-conns
[Cherry pick]fix(db): set max open conns of sql.DB manually
2020-11-03 07:41:06 +08:00
Ziming Zhang
a01a0c1b94 feature(tag) add a thread pool for tag list
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-11-02 14:59:50 +08:00
He Weiwei
aee98ac0a0 fix(db): set max open conns of sql.DB manually
Due to the issues of beego v1.12.1 and v1.12.2, we set the max open conns
ourselves.

Closes #12403

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-02 14:39:40 +08:00
He Weiwei
b5a4ebacd6
Merge pull request #13411 from heww/cherry-pick-remove-helmhub-testcase
Remove UT for helm hub adapter (#13255)
2020-11-02 14:38:40 +08:00
Daniel Jiang
172b8e84e0 Remove UT for helm hub adapter (#13255)
The helm hub adapter will not work due to the shift to artifact hub and
the API has changed. more details see #13244
Remove the UT for helm hub adapter to unblock CI.
Later we need to rework the adapter to replicate from artifact hub.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-11-02 10:48:08 +08:00
danfengliu
a55c3ae3e7
Merge pull request #12686 from danfengliu/upgrade-python-for-1.10
Upgrade python and robot framework
2020-09-10 17:38:52 +08:00