Commit Graph

11193 Commits

Author SHA1 Message Date
Chenyu Zhang ef278374f3
migrate: add db index on artifact repository name (#17036)
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-20 16:00:46 +08:00
stonezdj(Daojun Zhang) b6e4ef5b54
(cherry-pick) Skip to refresh execution status when unchanged (#17034)
Skip to refresh execution status when unchanged

  fixes #16640

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-20 15:46:55 +08:00
Chenyu Zhang 712fed39fa
fix: update the jobservice hook retry concurrency (#17026)
Change the jobservice hook max retry concurrency from 512 to same with
the js worker numbers.

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-20 10:34:13 +08:00
Wang Yan 3f28acb31e
fixes 16940 (#16994)
Response the sign status to UI for the public project.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-06-14 20:46:12 +08:00
Yang Jiao e5dbc6de72
Add Publish Release workflow (#16881)
When release, this workflow will be triggered to complete subsequent work.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-01 15:26:26 +08:00
Wang Yan b0506782b4
[cherry-pick ] fix replication issue on signature (#16913)
* fix 16883

Fixes #16883, set the labels belonging to the subject manifest to the accessories on replication.

Signed-off-by: Wang Yan <wangyan@vmware.com>

* fix replcation issue on accessory

The tag/lable filter only works on the subject manifest, and if the subject manifest is mathed, all the accessories are marked as matched.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-05-26 23:41:54 +08:00
MinerYang 9d7404f550
bump up beego to v1.12.9 on release-2.5.0 (#16905)
bump up beego from v1.12.8 to v1.12.9

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

Co-authored-by: yminer <yminer@vmmware.com>
2022-05-24 17:50:24 +08:00
Yang Jiao c2b2c180ef
Merge pull request #16893 from YangJiao0817/refresh-base-2.5-0523
Refresh base image
2022-05-23 15:17:04 +08:00
Yang Jiao da3eeedcb3 Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-23 06:27:49 +00:00
Shijun Sun 7596a7de5f
Improve accessory component (#16869)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-05-18 14:48:06 +08:00
Wang Yan b068515c53
fix accessory count issue (#16867)
The count api should ignore the pagination.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-05-18 10:08:05 +08:00
Yang Jiao 77e2b91e46
Merge pull request #16858 from YangJiao0817/refresh-base-2.5-0516
Refresh base images
2022-05-16 10:44:47 +08:00
Yang Jiao 0e4e1ee011 Refresh base images
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-16 01:50:20 +00:00
Yang Jiao a3d6936943
Merge pull request #16857 from YangJiao0817/bump-u-to-v2.5.1
Bump up version to v2.5.1
2022-05-13 13:15:45 +08:00
Wang Yan 2e442bf25a
fix artifact count issue (#16855)
The count should filter out the accessory, the result should be consistent with list method.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-05-13 11:48:42 +08:00
Yang Jiao c46e3fef42 Bump up version to v2.5.1
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-13 03:17:47 +00:00
Shengwen YU 991a3180f2
fix: gc history update_time (#16847)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-05-12 15:45:01 +08:00
Shengwen YU 8a2c86ff94
Merge pull request #16830 from zyyw/release-2.5.0
[cherry-pick] chore(deps): bump Trivy adapter from v0.26.0 to v0.28.0 (#16729)
2022-05-11 11:11:51 +08:00
Wang Yan 4afd4ae324
fix close response missing (#16822)
It has to close the http response on deleting manifest

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-05-09 16:56:02 +08:00
Daniel Pacak 1081707db6 chore(deps): bump Trivy adapter from v0.26.0 to v0.28.0 (#16729)
Trivy replaced the --version flag with version subcommand.

Resolves: #16554
Resolves: #16555

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2022-05-09 15:12:45 +08:00
Yang Jiao 4d80d7d72c
Merge pull request #16819 from YangJiao0817/auto-release-notes-2.5
[cherry-pick]Add release.yml to automate release notes
2022-05-09 14:21:13 +08:00
OrlinVasilev f68ee7f5e4 Add release.yml to automate release notes #16633
Use github autogeneration release notes and add action to check if the PR has labels

Complete and more readable relase notes
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-05-07 02:49:56 +00:00
Shengwen YU 55f7645575
Merge pull request #16818 from zyyw/release-2.5.0
cherry-pick to release-2.5.0: improve GC log message
2022-05-07 10:40:35 +08:00
Shengwen Yu 30000f0b93 fix: improve GC log message
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-05-07 09:21:58 +08:00
Yang Jiao a472acd680
Merge pull request #16814 from YangJiao0817/refresh-base-2.5-0506
Refresh base image
2022-05-06 17:16:40 +08:00
Yang Jiao 6fcf2f167d Refresh base image
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-06 08:01:33 +00:00
MinerYang 4e562ba084
bump up beego to v1.12.8 on release-2.5.0 (#16791)
Signed-off-by: yminer <yminer@vmmware.com>

Co-authored-by: yminer <yminer@vmmware.com>
2022-05-05 09:59:09 +08:00
Shengwen YU 152493895c
Merge pull request #16787 from zyyw/release-2.5.0
cherry-pick to release-2.5.0: fix registry/redis.patch & registry/builder
2022-04-29 17:30:42 +08:00
Shengwen Yu 849dd83f7d fix: registry/redis.patch & registry/builder
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-04-29 15:54:46 +08:00
Yang Jiao afec393274
Merge pull request #16738 from YangJiao0817/add-pull-policy-replication-2.5
[cherry-pick]Add test case for Enable Deployment Security Policy replication
2022-04-25 15:38:35 +08:00
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