Commit Graph

9444 Commits

Author SHA1 Message Date
danfengliu
67cda8ba23
Merge pull request #14857 from danfengliu/adapt-oidc-service-upgrade
[ V2.0.0 ] Adapt OIDC sevice change of more login provider
2021-07-15 10:37:05 +08:00
danfengliu
e8d6a4f9f3 Adapt OIDC sevice change of more login provider
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-13 15:30:59 +08:00
danfengliu
eabef46e81
Fix build base related issues (#14671)
1. Add build base image step in build package git action workflow;
2. Add build base step to UT test in CI, base image used by UI test should be built before building harbor image in the same runtime;
3. In build package workflow, trigger build base image step in condition of changing both in Dockerfile.base and VERSION;
4. Add tag for setup nightly test.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-04-23 11:45:03 +08:00
danfengliu
86b0cf92fb
Merge pull request #14397 from danfengliu/remove-python3.6-in-v2.0.0
[Cherry-pick 2.0.0] Remove deploytment of python3.6 and set dns for docker
2021-03-12 09:32:29 +08:00
danfengliu
22561e1754 Remove deploytment of python3.6 and set dns for docker
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.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-10 07:58:14 +00:00
danfengliu
ba6a29185d
Merge pull request #14366 from danfengliu/cherry-pick-2.0-remove-python3.7-in-ci-installation
[cherry-pick 2.0.0] Remove python3.7 deployment in CI installtion phase
2021-03-05 11:35:49 +08:00
danfengliu
434d2a84b7 [cherry-pick 2.0.0 ] Remove python3.7 deployment in CI installtion phase.
Git action work node OS had python3.8 deployed already, so won't necessary to install python3.7 in CI.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-03-05 02:40:33 +00:00
Wenkai Yin(尹文开)
d11213213e
Merge pull request #14297 from ywk253100/210224_sql_2.0
[cherry-pick-2.0]Fix sql issue in artifact dao
2021-02-25 10:41:10 +08:00
Wenkai Yin
7935a2084c Fix sql issue in artifact dao
Fix sql issue in artifact dao

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-02-24 14:14:34 +08:00
Daniel Jiang
35869dbd38
Merge pull request #14115 from danfengliu/reschedule-docker-login-policy-in-build-base-image
[Cherry-Pick 2.0.0] Reschedule docker login policy in base image build process
2021-02-05 13:52:18 +08:00
Wang Yan
f5884625d6
bump up base to v2.0.6 (#14131)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-02-01 11:33:39 +08:00
Daniel Jiang
9a84abc021
Merge pull request #14008 from reasonerjt/tokenreview-rm-header-2.0
Remove raw token from header in token review request -- 2.0.x
2021-01-29 17:32:05 +08:00
Daniel Jiang
6879021c58 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-29 15:39:14 +08:00
danfengliu
39b9b8908a Reschedule docker login policy in base image build process
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-01-28 18:26:10 +08:00
Daniel Jiang
9047db36f8
Merge pull request #14076 from wy65701436/release-2.0.0-build-bin
build third parties in CI
2021-01-27 16:21:21 +08:00
Wang Yan
799d639203 build third parties in CI
1. Upgrade python to v3 in CI;

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-01-27 05:59:01 +00:00
Daniel Jiang
24886142c7
Merge pull request #13874 from reasonerjt/token-scope-2.0
Refine the token scope generation - cherrypick to 2.0
2021-01-07 10:12:44 +08:00
Daniel Jiang
d12f520f27
Remove scanner-pull from system admin's permission (#13904)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-01-06 15:06:11 +08:00
Daniel Jiang
5303bdaeb8 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-03 23:25:13 +08:00
danfengliu
7c53f39e87
Merge pull request #13727 from danfengliu/cherry-pick-2.0-image-sample-build-at-local
Cherry-pick 2.0 build image sample for test in local
2020-12-15 17:16:00 +08:00
danfengliu
4215c90057 Build image sample for test in local
Change source of most of test image samples from docker-hub to local building ones, so it will cost less docker-hub pull requests.
And some of cases like push cnab, they have to use docker-hub, but image samples in cnab test will cost 17 quotas, in this PR, we
replace those samples, now cnab case will cost 6 quotas.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-12-11 07:39:57 +00:00
Wang Yan
703debf691
bump up base version to v2.0.5 (#13701)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2020-12-07 20:36:51 -08:00
Daniel Jiang
da859b6b19
Merge pull request #13677 from reasonerjt/fix-v2catalog-uri-2.0
Fix the pattern to match v2 catalog URI
2020-12-03 14:13:15 +08:00
Daniel Jiang
3481722f14 Fix the pattern to match v2 catalog URI
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-12-03 13:06:51 +08:00
danfengliu
c78731e479
Merge pull request #13657 from danfengliu/sychronize-replication-nightly-tests-with-v2.2.0
Sychronize replication nightly test scripts with v2.0.0
2020-12-03 10:09:44 +08:00
danfengliu
da1949e324 Sychronize replication nightly test scripts with v2.0.0
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-12-02 17:48:21 +08:00
danfengliu
18ef435468
Merge pull request #13636 from danfengliu/cherry-pick-2.0.0-fix-scan-all-python-script
Cherry-pick 2.0.0 Fix scan all python test script issue of missing test step
2020-12-02 10:47:33 +08:00
danfengliu
786bd1d6cf Fix scan all python test script issue of missing test step
1. In scan all py-test, missing a important test step for checkin scan all status,
2. which indicate the ending of scan all job.
In swagger, ongoig field is missing in stats struct.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-11-30 17:30:28 +08:00
danfengliu
2e6f6bf8ec
Merge pull request #13584 from danfengliu/fix-docker-hub-access-limitation-issue-2.0.0
Add docker access credential to avoid access limitaton by docker-hub
2020-11-25 13:17:23 +08:00
danfengliu
5096276919 Add docker access credential to avoid access limitaton by docker-hub for 2.0.0
Due to docker-hub pull request rate limitation, we will use registed account to pull image
from docker-hub, therefore add docker-hub login in API tests.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-11-25 12:01:48 +08:00
danfengliu
c13ecf9008
Merge pull request #13575 from danfengliu/cherry-pick-2.0.0-github-actions-update-for-env
ci: update env and path commands in github actions
2020-11-23 21:16:00 +08:00
He Weiwei
c78dd9dc86 ci: update env and path commands in github actions
The `add-path` and `set-env` commands are deprecated and will be
disabled soon so update the CI.yml to use the new methods for these
commands.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-23 20:02:38 +08:00
Steven Zou
474fc138ff
Merge pull request #13450 from mmpei/release-2.0.0-fix-chart-replication
fix chart replication issue of uppercase letters
2020-11-09 16:30:22 +08:00
danfengliu
431a86230a
Merge pull request #13456 from wy65701436/release-2.0.4
bump up base version to v2.0.4
2020-11-06 12:57:51 +08:00
Wang Yan
ba1a1c49a7 bump up base version to v2.0.4
Signed-off-by: Wang Yan <wangyan@vmware.com>
2020-11-05 19:04:30 +08:00
peimingming
da03b4a28a fix chart replication issue of uppercase letters
Signed-off-by: peimingming <peimingming@corp.netease.com>
2020-11-05 14:57:07 +08:00
Will Sun
3a18fd681b
Merge pull request #13430 from AllForNothing/release-2.0.0
[Cherry-pick]Add deprecated mark to Helm Hub
2020-11-04 10:57:54 +08:00
AllForNothing
232320bff5 Add deprecated mark to Helm Hub
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-11-03 15:26:42 +08:00
stonezdj(Daojun Zhang)
281b065365
Merge pull request #13346 from reasonerjt/more-info-log-msg-2.0
Add more info in log message to help debug
2020-10-24 14:05:52 +08:00
Daniel Jiang
bc376aa767 Add more info in log message to help debug
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-23 12:36:30 +08:00
danfengliu
c8acfdea2d
Merge pull request #13251 from danfengliu/cherry-pick-2.0.0-add-build-package-workflow-in-gitaction
Add harbor build in git action workflow
2020-10-16 16:10:49 +08:00
Daniel Jiang
5aef462e02
Merge pull request #13273 from sighupio/release-2.0.0-update-clair
FIX: Update clair version to fix NVD deprecated links
2020-10-16 15:56:08 +08:00
danfengliu
495d399a55 Add harbor build in gith action workflow
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-16 07:12:28 +00:00
Ángel Barrera Sánchez
b07a73f303 FIX: Update clair version to fix NVD deprecated links
Signed-off-by: Ángel Barrera Sánchez <angel@sighup.io>
2020-10-15 15:57:45 +02:00
Daniel Jiang
e5a27cefeb
Remove UT for helm hub adapter (#13256) (#13278)
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-10-15 21:46:28 +08:00
He Weiwei
a2e85f0bf2
Merge pull request #13062 from reasonerjt/escape-query-string-2.0
[Cherry-pick-2.0]Escape the query string in list user (#13012)
2020-09-15 21:32:56 +08:00
He Weiwei
f8c04b1040
Merge pull request #13060 from wy65701436/release-2.0.0-cp-travis
remove the secret file of travis
2020-09-15 21:32:32 +08:00
Daniel Jiang
ecf419d705 Escape the query string in list user (#13012)
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-09-15 17:31:18 +08:00
wang yan
c584eef88d remove the secret file of travis
The secret file is used for the travis CI, depreciate it as the travis is not used anymore.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-09-15 11:07:38 +08:00
Will Sun
df0fc71d86
Merge pull request #13058 from AllForNothing/release-2.0.0
Improve notary cmd on UI
2020-09-15 10:43:57 +08:00