Commit Graph

11193 Commits

Author SHA1 Message Date
Yang Jiao
9b0ac30142
Bump up version to v2.5.6 (#18259)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-02-21 16:43:42 +08:00
Yang Jiao
7e46b1749b
[cherry-pick]Update DB Dockerfile.base (#18248)
Update DB Dockerfile.base

1. Update the path to postgresql.conf.sample as it has changed in postgresql 13.10
2. Remove creating symbolic link as it already exists in postgresql 13.10

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-02-20 16:28:44 +08:00
Yang Jiao
7dfe56f848
[cherry-pick]Fix Setup Docker error in CI (#18240)
Fix Setup Docker error in CI

Remove the remove setup docker step in CI
Fix #18236

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-02-17 15:38:33 +08:00
Shengwen YU
1f11cf58b9
feat: bump-up trivyVersion to v0.37.2, trivyAdapterVersion to v0.30.7 (#18217) (#18222)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-15 10:19:54 +08:00
Chlins Zhang
66f2644bba
[cherry-pick] fix: update the replication API handler (#18211)
fix: update the replication API handler

1. Check execution before stop replication execution.
2. Check execution before list replication tasks.

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-02-14 09:35:04 +08:00
Shengwen YU
1121675a30
[Cherry-pick] fix: reset user password (#18208)
* fix: reset user password

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: ci failure

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-14 09:28:29 +08:00
Shengwen YU
3208b74279
[Cherry-pick] fix retention/immutable API issue (#18158) (#18190)
fix retention/immutable API issue (#18158)

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-08 15:38:56 +08:00
Shijun Sun
7cdf8f696c
[Cherry-pick]Update CI for UI UT (#18167)
Update CI for UI UT
  1.Specify Chrome version for UI UT

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-02-03 19:06:04 +08:00
Yang Jiao
b09a690e98
Refresh the base image on release-2.5.0 (#18097)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-01-12 16:21:32 +08:00
MinerYang
5f3813a028
bump up x/text to v0.6.0 & x/net to v0.5.0 & helm/v3 to v3.10.3 (#18095)
Signed-off-by: yminer <yminer@vmware.com>

Signed-off-by: yminer <yminer@vmware.com>
2023-01-12 14:39:38 +08:00
MinerYang
f48f3f4c09
bump up release-2.5.0 golang to 1.18.9 (#18069)
Signed-off-by: yminer <yminer@vmware.com>

set GO111MODULE=auto in ut_install

bump mockery to v2.14.0

fix lint

fix whitespace
2023-01-09 10:11:10 +08:00
Chlins Zhang
7ea89dc27f
fix: resolve the golint issues of source code (#18071)
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-01-06 16:37:57 +08:00
Shengwen YU
b77d3aa153
[Cherry-pick] Bump up TRIVYADAPTERVERSION to v0.30.6 (#18056)
Bump up TRIVYADAPTERVERSION to v0.30.6

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-01-04 15:42:28 +08:00
Yang Jiao
dd64af13a0
Refresh the base image on release-2.5.0 (#18041)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-01-04 11:01:09 +08:00
Shengwen YU
5f0d222543
[Cherry-pick] fix: upgrade TRIVYADAPTERVERSION to v0.30.5 (#18005)
fix: upgrade TRIVYADAPTERVERSION to v0.30.5

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-16 10:40:10 +08:00
Yang Jiao
962e38b708
Refresh base images on release-2.5.0 (#17989)
Refresh base images

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

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-12-14 10:03:06 +08:00
Shengwen YU
bcabc88d38
[Cherry-pick] fix: upgrade trivy version to v0.35.0 and trivy-adapter version to v0.30.3 (#17979)
fix: upgrade trivy version to v0.35.0 and trivy-adapter version to v0.30.3

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-13 18:24:43 +08:00
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