Commit Graph

11176 Commits

Author SHA1 Message Date
Yang Jiao
0f5a4f1178
Bump up version to v2.5.5 (#17972)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-12-12 15:52:16 +08:00
Yang Jiao
6e12eb96cd
[cherry-pick]Fix setup gcloud error (#17849)
Fix setup gcloud error

ubuntu-latest was upgraded from ubuntu-20.04 to ubuntu-22.04, the python version of ubuntu-22.04 is 3.10, but gcloud does not support python 3.10, so ubuntu is fixed to version 20.04

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-24 16:06:37 +08:00
stonezdj(Daojun Zhang)
9e488f506e
(cherry-pick) Fix issue related to redhat registry proxy cache (#17825)
Fix issue related to redhat registry proxy cache

  fixes #16495

Signed-off-by: stonezdj <daojunz@vmware.com>

Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-23 14:48:01 +08:00
Yang Jiao
2b36a6ba64
[cherry-pick] Remove singularity testcase (#17666)
Singularity has been renamed to Apptainer

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-10-20 10:18:18 +08:00
Yang Jiao
a39bd2bc56
Refresh base images (#17470)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-28 11:35:39 +08:00
Yang Jiao
685b0b0034
Update replication filter_label xpath (#17464)
Fix 2.5 CI failed

Signed-off-by: Yang Jiao <jiaoya@vmware.com>

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-26 16:37:01 +08:00
Yang Jiao
8b9290c756
[cherry-pick]Update portal-base and nginx-base Dockerfile.base (#17446)
Update portal-base and nginx-base Dockerfile.base

Installing nginx 1.22 creates the nginx group and nginx user, so instead
of creating them again, modify them.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-24 15:28:36 +08:00
MinerYang
c1ce55bb35
[cherry-pick]support docker compose v2 (#17416)
Signed-off-by: yminer <yminer@vmware.com>

Signed-off-by: yminer <yminer@vmware.com>
2022-08-17 14:55:13 +08:00
Chenyu Zhang
77734ef65d
[cherry-pick] enhancement: add error log for create task (#17403)
enhancement: add error log for create task

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-08-16 13:39:47 +08:00
Yang Jiao
d21b88eee4
[cherry-pick]Update replication and trivy testcases (#17369)
Update replication and trivy testcases

1 Update replication filter_label_xpath because of this PR #17267 updated xpath
2 Update the Manual Scan All test case, because Scan All will affect other testcases if it is not finished running

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-10 16:37:41 +08:00
Yang Jiao
d8df5af9ce
Bump up version to v2.5.4 (#17360)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-10 14:07:34 +08:00
MinerYang
c8d467b616
bumpup golang to v1.17.13 (#17309)
Signed-off-by: yminer <yminer@vmware.com>
2022-08-03 17:44:35 +08:00
Chenyu Zhang
7ad075f714
upgrade: bump up beego to 1.12.11 (#17279)
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-07-30 23:32:13 +08:00
Shijun Sun
97a7be62bb
Fix null pointer issue for creating reolication rule (#17275)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-07-30 17:34:32 +08:00
Wang Yan
e2f5397302
[cherry-pick] fix update robot regression (#17253)
fix update robot regression

Only check the project id for the project level robot

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-07-29 11:19:29 +08:00
Yang Jiao
797c35367a
Refresh base images (#17137)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-07 13:50:19 +08:00
MinerYang
0e976f6c79
bump up github.com/containerd/containerd to v1.5.13 (#17127)
Signed-off-by: yminer <yminer@vmware.com>
2022-07-07 08:53:21 +08:00
Chenyu Zhang
fb653bc976
fix: repair execution status when it inconsistent (#17132)
Add migrations sql to repair the execution status when it does not
consistent with task status.

Closes: #17114

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-07-06 17:07:40 +08:00
MinerYang
299f546358
2.5 migration jinja correction for upload_purging (#17121)
2.5 migrationjinja for upload_purging correction

Signed-off-by: yminer <yminer@vmware.com>
2022-07-05 16:36:14 +08:00
Yang Jiao
d4d32a133e
Bump up version to v2.5.3 (#17119)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-05 12:07:58 +08:00
stonezdj(Daojun Zhang)
5647210797
Revert "Skip to refresh execution status when unchanged(#17034)" (#17112)
Revert "(cherry-pick) Skip to refresh execution status when unchanged (#17034)"

This reverts commit b6e4ef5b54.

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-07-04 18:10:46 +08:00
Wang Yan
6688271792
Unify retention schedule/task retrieve and update (#17088)
Add not-found handling for non exist items in retention operation.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-06-29 02:13:02 +08:00
Yang Jiao
b978048942
[cherry-pick]Upgrade pipenv to 2022.1.8 (#17092)
Upgrade pipenv to 2022.1.8

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-28 23:41:19 +08:00
stonezdj(Daojun Zhang)
00e99c4bbc
(cherry-pick) Fix scan log mismatch issue (#17094)
Fix scan log mismatch issue

    Add checks in label

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-28 20:47:15 +08:00
Chenyu Zhang
2eabbfbf16
fix: update preheat api handler and DAO (#17080)
1. fix preheat dao Get method
2. update preheat tasks and getLog api

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-28 19:01:26 +08:00
Wang Yan
a4cb1a481f
[cherry-pick]add url raw query check middleware (#17073)
add url raw query check middleware

The middleware can give a uniform url validation and raised error early.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-06-27 11:32:37 +08:00
Shengwen YU
86056cab75
[Cherry-Pick] fix: bump trivy version to v0.29.2 and bump trivyadapter version to v0.30.0 (#17072)
fix: bump trivy version to v0.29.2 and bump trivyadapter version to v0.30.0

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-24 19:17:41 +08:00
Yang Jiao
acb363df92
Update publish release workflow dockerhub account (#17067)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-24 14:31:07 +08:00
Chenyu Zhang
003d3bcfbe
fix: fix the update of retention policy (#17065)
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-23 19:12:35 +08:00
MinerYang
f87803b5a4
removing httpd on prepare base DockerFile (#17060)
update photon prepare base by removing httpd

Signed-off-by: yminer <yminer@vmware.com>
2022-06-23 16:30:16 +08:00
Chenyu Zhang
ce18afaf8b
(cherry-pick)fix: revise the process of policy update (#17058)
fix: revise the process of policy update

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-22 23:05:04 +08:00
stonezdj(Daojun Zhang)
87f58abba3
(cherry-pick) Unify the process of jobservice execution/task retrieve and update (#17057)
Unify the process of jobservice execution/task retrieve and update

   Change regular expression in robot account

Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-22 19:41:04 +08:00
Yang Jiao
94a0bb4f72
Bump up version to v2.5.2 (#17042)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-21 11:40:06 +08:00
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