Commit Graph

8282 Commits

Author SHA1 Message Date
Yang Jiao
b9eec6765a Build base images when running ci
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-11 09:13:41 +00:00
Yang Jiao
1db4ee2533
Merge pull request #16192 from YangJiao0817/bump-up-version-1.10.10
Bump up version to 1.10.10
2022-01-07 14:08:40 +08:00
Yang Jiao
cb582e6aae Bump up version to 1.10.10
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-07 13:40:51 +08:00
Yang Jiao
745e1cd8e2
Merge pull request #16193 from YangJiao0817/fix-RSA-key
[cherry-pick]Fix: using traditional `PKCS#1` format RSA key
2022-01-07 13:40:04 +08:00
Qian Deng
b7e792737e Fix: using traditional PKCS#1 format RSA key
The openssl 3.0.0 using newer `PKCS#8` format.
But it's not compatitable with harbor core
So using tradictional format instead

Signed-off-by: Qian Deng <dengq@vmware.com>
2022-01-07 11:56:50 +08:00
Yang Jiao
fab693e1a2
Merge pull request #15892 from YangJiao0817/refresh-base-1028
Refresh base image
2021-10-28 12:55:56 +08:00
Yang Jiao
3bc315d57b Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-28 11:29:44 +08:00
Yang Jiao
529482edb1
Merge pull request #15859 from YangJiao0817/refresh-1.10-10.25
Refresh base image
2021-10-25 11:00:24 +08:00
Yang Jiao
c336e0ae9d Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-25 10:26:49 +08:00
Yang Jiao
9e5a24b412
Merge pull request #15802 from YangJiao0817/refresh-base-1.10.9
Refresh base image
2021-10-18 11:35:52 +08:00
Yang Jiao
0dbf4b985e Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-18 11:03:16 +08:00
Yang Jiao
49974ffa7b
Merge pull request #15785 from YangJiao0817/update-python-xml
Upgrade python-xml to python3-xml
2021-10-14 11:00:12 +08:00
Yang Jiao
24e2b28652 Upgrade python-xml to python3-xml
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-14 10:19:25 +08:00
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