Commit Graph

11672 Commits

Author SHA1 Message Date
MinerYang
19d6963523
bump golang1.20.6 on release-2.8.0& build golang based on photon (#18990)
Signed-off-by: yminer <yminer@vmware.com>

remove build_golang in ci script

fix typo

try to remove tdnf install make in registry/dockerfile.binary

optimize golang image
2023-07-27 13:41:02 +08:00
Yang Jiao
ec44426de3
Bump up version to v2.8.3 (#19007)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-26 12:23:19 +08:00
Shengwen YU
de6f57cdc7
[Cherry-pick] fix: bump-up TRIVYVERSION=v0.43.0 and TRIVYADAPTERVERSION=v0.30.14 (#18994)
fix: bump-up TRIVYVERSION=v0.43.0 and TRIVYADAPTERVERSION=v0.30.14

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-07-25 10:24:35 +08:00
Yang Jiao
9a63e801ab
[cherry-pick]Fix APITEST_DB_PROXY_CACHE x509 (#18979)
Fix APITEST_DB_PROXY_CACHE x509

Fix APITEST_DB_PROXY_CACHE x509, Because cicd.harbor.vmwarecna uses a self-signed certificate.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-24 13:36:56 +08:00
Yang Jiao
9269602f30
Refresh base images on 2.8 (#18961)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-20 15:51:06 +08:00
Yang Jiao
46cd4f5c02
[cherry-pick]Add OIDC filter group testcase (#18915)
Add OIDC filter group testcase

Fix #17950

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-11 15:40:54 +08:00
Yang Jiao
db915dd273
[cherry-pick]Add CloudEvents format webhook testcase (#18907)
Add CloudEvents format webhook testcase

Fix #18616

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-10 14:42:37 +08:00
Yang Jiao
4c335f7994
[cherry-pick]Add replication by chunk testcase (#18903)
Add replication by chunk testcase

Fix #17951

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-07 15:18:19 +08:00
Danny Kulchinsky
f8282a56ea
[cherry-pick][2.8] fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest (#18803)
fix: add retry on the caller of v2DeleteManifest instead within v2DeleteManifest

Signed-off-by: Danny Kulchinsky <dkulchinsky@fastly.com>
2023-06-12 16:33:20 +08:00
Viktor
0b55284ee3
Changed logic search projects in gitlab adapter for 2.8.0 (#18785)
* fix(gitlab): change logic search projects usage search_namespaces

Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>

* tests(gitlab): remove old data and actualization test

Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>

* refactor(gitlab): added debug log

Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
(cherry picked from commit 732806221b1c1633682fe1adad4cbcd3a4687d0b)

* lint(gitlab): fix import order

Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>

---------

Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
2023-06-07 16:46:31 +08:00
Shengwen YU
d4c34dcca3
fix: update TRIVYVERSION=v0.42.0 & TRIVYADAPTERVERSION=v0.30.12 (#18782)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-06-02 18:27:29 +08:00
Yang Jiao
e274004c3f
[cherry-pick]Add Referrers API testcase (#18776)
Add Referrers API testcase

Fix #18617

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-06-01 16:35:03 +08:00
MinerYang
450e7e7884
bump upp distribution to v2.8.2 on release-2.8.0 (#18769)
Signed-off-by: yminer <yminer@vmware.com>
2023-05-31 14:11:07 +08:00
Yang Jiao
fade2e383a
Bump up version to v2.8.2 (#18768)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-31 12:05:21 +08:00
Yang Jiao
d130e7bb5b
[cherry-pick]Update e2e engine image (#18749)
Update e2e engine image

1. Update containerd version to 1.7.1
2. Update docker compose version to 2.18.1
3. Update helm version to 3.12.0
4. Update ORAS version to 1.0.0
5. Update CNAB version to 0.4.0
6. Update imgpkg version to 0.36.2
7. Update cosign version to 2.0.2
8. Update docker version to 24.0.2
9. Update chromedriver version to 114.0.5735.16

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-30 16:50:12 +08:00
stonezdj(Daojun Zhang)
40a0e37f6b
(cherry-pick) Return error when proxy cache get too many request error(429) (#18750)
Return error when proxy cache get too many request error(429)

  Add 429 too many request error in http error
  Fixes #18707

Signed-off-by: stonezdj <stonezdj@gmail.com>
2023-05-30 15:54:29 +08:00
Wang Yan
51dbbef71c
set tag pull time for proxy cache (#18741)
fixes #18708

to set the pull time of tag for the first time cache the artifact.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-29 09:37:12 +08:00
stonezdj(Daojun Zhang)
614683e92c
(cherry-pick) Use subtle.ConstantTimeCompare instead of compare directly (#18712)
Use subtle.ConstantTimeCompare instead of compare directly

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-05-23 21:02:52 +08:00
Yang Jiao
96cb84aec6
[cherry-pick]Add Retain image last pull time UI test case (#18696)
Add Retain image last pull time UI test case

Fix #18690

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 11:04:41 +08:00
Yang Jiao
6f51863c2f
[cherry-pick]Add Retain image last pull time API test case (#18691)
Add Retain image last pull time API test case

Fix #18618

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 11:04:26 +08:00
Yang Jiao
31baf3141e
[cherry-pick]Fix setup-gcloud fails when building package (#18683)
Fix setup-gcloud fails when building package

Fix #18681

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-16 16:34:56 +08:00
Chlins Zhang
48a2061d0b
fix: remove the 2.7.3 migration sql (#18658)
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-09 16:50:24 +08:00
Yang Jiao
1ff9031cdf
Bump up version to v2.8.1 (#18657)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-09 16:04:02 +08:00
Yang Jiao
4e806ddf99
Refresh base images on release-2.8.0 (#18655)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-09 13:59:33 +08:00
MinerYang
4af542d6d0
bump golang 1.20.4 on release-2.8.0 (#18648)
Signed-off-by: yminer <yminer@vmware.com>
2023-05-09 11:09:09 +08:00
Chlins Zhang
4f6efeb3d1
[cherry-pick] fix: improve the performance of list artifacts (#18639)
fix: improve the performance of list artifacts

1. Change the query for listing tasks of scan which can use the db
   index.
2. Add the gin index for task.extra_attrs.report_uuids

Fixes: #18013

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-05-05 14:05:46 +08:00
Shengwen YU
a1e8914f2f
fix: update TRIVYVERSION=v0.40.0 & TRIVYADAPTERVERSION=v0.30.11 (#18622)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-04-29 12:57:59 +08:00
MinerYang
405f975eab
[cherry-pick]allow redis password safe special characters on release-2.8.0 (#18587)
allow redis password safe special characters

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

string and None type conversion
2023-04-24 09:52:33 +08:00
Yang Jiao
3c5cb274ec
[cherry-pick]Add Job Service Dashboard Workers testcase (#18581)
Add Job Service Dashboard Workers testcase

Fix #17949

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-23 21:13:51 +08:00
Yang Jiao
1247578b27
[cherry-pick]Fix setup docker error (#18584)
Fix setup docker error

Fix this error[https://github.com/goharbor/harbor/actions/runs/4776991336/jobs/8492390908]

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-23 19:26:47 +08:00
Shijun Sun
3b1c3c168b
[Cherry-pick]Add missing i18n key-value for helm chart (#18579)
Add missing i18n key-value for helm chart
1.Fixes #18572

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-04-23 15:03:25 +08:00
Yang Jiao
8aac52ace4
[cherry-pick]Add Job Service Dashboard Schedules testcase (#18557)
Add Job Service Dashboard Schedules testcase

Fix #17949

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 11:12:06 +08:00
MinerYang
35b81c819a
bump golang.org/x/net && helm.sh/helm/v3 on release-2.8.0 (#18546)
bump up golang.org/x/net to v0.9.0 on release-2.8.0

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

bump helm.sh/helm/v3 v3.11.3
2023-04-18 19:18:25 +08:00
Chlins Zhang
89ef156d09
[cherry-pick] fix: update stopped execution status immediately instead of async update (#18528)
fix: update stopped execution status immediately instead of async update

Update the stopped execution status immediately becasue the user
experience is not good if wait long time when stop or reschedule a job.

Fixes: #18526

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-13 17:55:36 +08:00
Chlins Zhang
47f70cba86
[cherry-pick] fix: clean the redis if the execution is not found (#18519)
fix: clean the redis if the execution is not found

Delete the execution outdated status key in the redis when the execution
is not found.

Fixes: #18511

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-13 10:55:26 +08:00
Shijun Sun
9ea2d3cbd9
[Cherry-pick]Synchronize text modification of quota tooltip to all the i18n files (#18520) 2023-04-12 10:55:08 +03:00
Yang Jiao
0b66d3e765
Refresh base images on release-2.8.0 (#18516)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-12 15:48:29 +08:00
Orlix
83662ee9cc
Reword quotas for 2.8 (#18513)
Reword quota definitions based on user input

Fixes: https://github.com/goharbor/harbor/issues/17545

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2023-04-12 11:49:03 +08:00
Shengwen YU
6a9b706eda
[Cherry-pick] feat: update TRIVYVERSION=v0.39.0 & TRIVYADAPTERVERSION=v0.30.10 (#18502)
feat: update TRIVYVERSION=v0.39.0 & TRIVYADAPTERVERSION=v0.30.10

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-04-11 09:38:53 +08:00
Chlins Zhang
735f800fd6
[cherry-pick] fix: fix error bitsize of jobservice reaper scan locks (#18493)
fix: fix error bitsize of jobservice reaper scan locks

Change the bitSize from 16 to 64 in the jobservice reaper, the 16 is too
small when the redis cursor over the max value of int16.

Fixes: #18486

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-11 09:34:16 +08:00
MinerYang
e20b05475f
bump golang 1.20.3 on release-2.8.0 (#18495)
Signed-off-by: yminer <yminer@vmware.com>
2023-04-10 09:27:11 +08:00
Yang Jiao
9eecd36879
[cherry-pick]Update UI testcases (#18490)
Update UI testcases

1. Update copy test case to add retries
2. Updata P2P Preheat test case to waiting
3. Update the Replication new rule button xpath

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-07 17:22:29 +08:00
Chlins Zhang
df1ce0f8c6
[cherry-pick] fix: fix the regexp of execution status outdate key (#18482)
fix: fix the regexp of execution status outdate key

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-05 13:53:28 +08:00
Yang Jiao
1c551ada70
Refresh base images on release-2.8.0 (#18477)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-04 18:37:11 +08:00
Chlins Zhang
72a6ef2514
style: adjust the style of migration SQL (#18475)
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 17:37:27 +08:00
Chlins Zhang
62bb56daf6
refactor: refresh the execution status in async mode (#18434)
Refactor the logic for updating the status of execution when receiving
the hook from jobservice, avoid the optimistic lock due to the multiple
tasks update one execution by refreshing the status asynchronously. But
still retain the old way by specifying the flag from ENV.

Fixes: #17584

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 16:37:37 +08:00
Shengwen YU
1e884c58c2
feat: update TRIVYVERSION=v0.38.2 & TRIVYADAPTERVERSION=v0.30.9 (#18473)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-04-04 15:25:17 +08:00
Wang Yan
60d9664cbc
fix accessory replication issue (#18471)
Fixes #18404
Support multiple level accessories replication.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-04-04 12:46:46 +08:00
MinerYang
de20659da5
bump golang 1.20.2 (#18469)
Signed-off-by: yminer <yminer@vmware.com>
2023-04-04 10:59:16 +08:00
Chlins Zhang
a7cef5e24f
fix: wrap schedule/exec/task creation as orm tx (#18458)
Wrap orm tx when the scheduler try to create the task because submit job
maybe failure depends on the jobservice.

Fixes: #18452

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 08:42:18 +08:00