Commit Graph

11113 Commits

Author SHA1 Message Date
Yang Jiao
595b7bdc71 Add test case for Enable Deployment Security Policy replication
Add test cases for these three different scenarios to ensure that Replication functions correctly after Deployment Security Policy is enabled

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-25 06:30:38 +00:00
Yang Jiao
3d0643dfaf
Merge pull request #16691 from YangJiao0817/fix-s3-test-fail-2.5
Add retries to test cases
2022-04-13 17:36:16 +08:00
Yang Jiao
8ec0dad631 Add retries to test cases
Retry to solve the ecs environment s3aws Path not found issue

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-12 07:22:51 +00:00
Shijun Sun
98e1b82fbf
Improve user setting component (#16666)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-04-07 15:34:07 +08:00
Wang Yan
9ea24d16d2
skip policy check on pull cosign signature (#16663)
When user enables the cosign policy and triggers the replication, the harbor adapter will try to  pull the cosign siguature if it has to do the further push.
In this case, it has to skip policy check.

Signed-off-by: wang yan <wangyan@vmware.com>
2022-04-07 11:46:35 +08:00
Yang Jiao
416fb784df
Merge pull request #16644 from YangJiao0817/refresh-base-0404
Refresh base images
2022-04-06 08:43:50 +08:00
Yang Jiao
ab67326544 refresh base images
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-04 14:15:56 +00:00
Chenyu Zhang
f5866e5f15
Merge pull request #16602 from chlins/release-2.5.0/fix-project-creation-validation
[cherry-pick] fix: validate project metadata public value
2022-03-30 13:44:38 +08:00
Chenyu Zhang
78da512416
Merge pull request #16604 from chlins/release-2.5.0/migrations-correct-project-metadata-public-value
migrations: correct project metadata public value
2022-03-30 09:55:48 +08:00
chlins
55c17837fc fix: validate project metadata public value
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-29 15:17:20 +08:00
chlins
90731e79a1 migrations: correct project metadata public value
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-29 14:35:16 +08:00
Yang Jiao
f32fd7bfb3
Merge pull request #16595 from YangJiao0817/refresh-base-2.5-328
Refresh base images
2022-03-28 11:01:42 +08:00
Yang Jiao
241f574c90 Refresh base images
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-28 01:40:58 +00:00
Yang Jiao
d893174136
Merge pull request #16589 from YangJiao0817/add-install-dateutil-modulev2.5
[cherry-pick]Add python-dateutil module in api e2e image
2022-03-25 18:11:06 +08:00
Yang Jiao
cf689043f2 Add python-dateutil module in api e2e image
Because swagger_client adds dependency on python-dateutil module

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-25 05:11:38 +00:00
Yang Jiao
727668b415
Merge pull request #16572 from YangJiao0817/update-setup-gcloud-2.5
[cherry-pick]Modify setup-gcloud from master to v0
2022-03-23 15:43:38 +08:00
Yang Jiao
deed3618ca Modify setup-gcloud from master to v0
Adjust it because upstream made it, For more information, please see: https://github.com/google-github-actions/setup-gcloud/issues/539

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-23 06:28:07 +00:00
孙世军
9b8482a1b7
Add secret to download file when refreshing robot secret (#16565)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-22 17:21:31 +08:00
孙世军
e0ecd1beb1
Update push and pull command for helm (#16553)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-18 19:55:19 +08:00
Yang Jiao
824e555545
Merge pull request #16551 from wy65701436/release-2.5.0-cp-16549
enhance health validataion
2022-03-18 17:53:57 +08:00
Yang Jiao
5daa504e53
Merge pull request #16550 from YangJiao0817/refresh-base-2.5
Refresh base images
2022-03-18 17:00:08 +08:00
Wang Yan
c0e4ffcd6d enhance health validataion
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-18 16:59:06 +08:00
Yang Jiao
f3b27c442b Refresh base images
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-18 07:48:06 +00:00
孙世军
e0f75943ea
Add cosign icon (#16534)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-17 14:36:22 +08:00
Wang Yan
692b857d71
add cosign signature icon (#16545)
Return icon message for UI to render

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-17 13:23:42 +08:00
孙世军
65d45f707b
Fix duplicate labels issue (#16528)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-16 16:07:44 +08:00
Wang Yan
e2d9158a2d
add transaction for artifact delete (#16511)
Add transaction for artifact deletion, given API has the transaction when to call artifact controller but other object may not, for example jobservice job.
Here, force add the tx to ensure all the things can be rolled back.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-11 17:10:59 +08:00
Yang Jiao
d8c404f58d
Merge pull request #16497 from YangJiao0817/update_trivy_testcase_2.5
[cherry-pick]Update trivy test case
2022-03-10 16:06:00 +08:00
Yang Jiao
06a674ce3c
Merge pull request #16503 from YangJiao0817/replication-index_2.5
[cherry-pick]Add replication index testcase
2022-03-10 16:05:18 +08:00
孙世军
66281e215c
Improve style and correct typos (#16499)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 15:17:08 +08:00
Yang Jiao
fa1aa8f121 Add replication index testcase
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 07:03:00 +00:00
孙世军
71ae2da6eb
Add a new robot permission and sort permissions (#16496)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 12:58:14 +08:00
Yang Jiao
5d423d8687 Update trivy test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 02:32:21 +00:00
Yang Jiao
d07cbaf405
Merge pull request #16485 from YangJiao0817/trivy-upgrade2v0.24.2-2.5
[cherry-pick]Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
2022-03-08 16:13:06 +08:00
Yang Jiao
faf5d1cf60 Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-08 06:51:34 +00:00
Yang Jiao
5940648527
Merge pull request #16471 from YangJiao0817/refresh-baseimage-2.5
Refresh base image
2022-03-04 16:03:17 +08:00
Yang Jiao
0e3abb62ae Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-04 07:14:46 +00:00
MinerYang
2260475d55
bump up github.com/containerd/containerd to v1.5.10 (#16469)
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-04 14:12:47 +08:00
Yang Jiao
62afa16b57
Add replication test cases triggered by events (#16466)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-04 14:11:57 +08:00
疯魔慕薇
1c4495361b
Fix & UT (#16279)
1. Fix TCR Adapter namespcae check.
2. Add Chart UT.

Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
2022-03-04 14:09:25 +08:00
孙世军
3c9fc9fa5a
Fix inline alert issue (#16454)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-04 10:50:33 +08:00
MinerYang
4a9107af93
replace with github.com/distribution/distribution v2.8.0+incompatible (#16460)
Signed-off-by: yminer <yminer@vmmware.com>

Co-authored-by: yminer <yminer@vmmware.com>
2022-03-03 16:35:02 +08:00
stonezdj(Daojun Zhang)
1971e5a3ef
Merge pull request #16462 from stonezdj/22mar3_withnotary_jobservice
The DB config manager is not init on jobservice call config.WithNotary
2022-03-03 16:04:11 +08:00
stonezdj(Daojun Zhang)
017e3a4e4b
Merge pull request #16453 from stonezdj/22mar2_add_index_task
Create index on task with job_id
2022-03-03 15:20:14 +08:00
stonezdj
5618f6d211 The DB config manager is not init on jobservice to call config.WithNotary
Make func defaultMgr() public
  Set DefaultCfgManager to RestCfgManager and Load it in the jobservice main
  config.WithNotary call DefaultMgr(), it wil get the RestCfgManager
  Fixes #16418

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-03 14:42:56 +08:00
孙世军
75bc82e5f3
Fix ui issues found on testing day (#16444)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-03 10:06:28 +08:00
stonezdj
9d480a84d2 Create index on task with job_id
Missing index with job_id, when query task with job_id, it cause a full table scan, caused performance issue
  Fixes #15271

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-02 20:51:36 +08:00
孙世军
eca5f48adb
Upgrade swagger-ui to the latest version (#16443)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-02 14:47:36 +08:00
stonezdj(Daojun Zhang)
8c698325b5
Merge pull request #16424 from stonezdj/22feb24_trace_failure
Add IP and agent in trace for failed login
2022-03-02 11:46:32 +08:00
MinerYang
848efd067d
bump up github.com/docker/distribution to v2.8.0+incompatible (#16435)
Signed-off-by: yminer <yminer@vmmware.com>

rgoo mod vendor

Signed-off-by: yminer <yminer@vmmware.com>

Co-authored-by: yminer <yminer@vmmware.com>
2022-03-01 17:29:02 +08:00