Commit Graph

1256 Commits

Author SHA1 Message Date
stonezdj(Daojun Zhang) 0f1edd0200
Remove p2p preheat by event testcase (#22354)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-09-15 03:53:05 +00:00
stonezdj(Daojun Zhang) 8262d0a167
Remove GCR replication because GCR account is removed (#22309)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-09-05 01:57:20 +00:00
stonezdj(Daojun Zhang) 19c60ea8a9
Remove port 9443 from harbor IP for webhook event check (#22320)
for LDAP test, the default port changed from 443 to 9443, the original hostname contains IP:PORT, but the webhook event just contains the IP, need remove port before validation.
  fix issue related to CI pass checks

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-09-05 09:18:57 +08:00
stonezdj(Daojun Zhang) 8f2003c40e
Remove gitlab replication (#22298)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2025-08-29 16:35:44 +08:00
stonezdj(Daojun Zhang) 299fce5619
Adjust the xpath to find the package column in testcase (#22292)
Change column number because status column added before package column.
  fixes #22286 and #22285



increase column number

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-08-29 13:09:46 +08:00
stonezdj(Daojun Zhang) bd67811dec
Upload build logs to github artifact (#22223)
Upload log files to github with 5 day retention

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-08-13 06:46:27 +00:00
Prasanth Baskar 221037378a
feat: Single Active Replication (#21347)
feat(replication): add Single Active Replication per policy

* Added single_active_replication field to schema & DB table
* Updated API, controller & handler to enforce single execution per policy
* Added checkbox in UI to enable/disable single_active_replication for a
  policy
* Implemented necessary backend & frontend tests
* Prevents parallel runs per policy if single_active_replication is enabled

Signed-off-by: bupd <bupdprasanth@gmail.com>
2025-08-11 18:02:56 +08:00
Wang Yan 91d2fa6377
bump go version (#22238) 2025-08-11 09:15:51 +00:00
Wang Yan 257afebd5f
bump golang version (#22205)
to the latest golang version v1.24.5 from v1.24.3

Signed-off-by: wy65701436 <wangyan@vmware.com>
2025-07-29 07:21:57 +00:00
stonezdj(Daojun Zhang) ea4110c30a
Display download url for BUILD_PACKAGE action (#22197)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-07-23 08:21:10 +00:00
stonezdj(Daojun Zhang) e8c2e478b6
Remove testcase Open Image Scanners doc page (#22180)
Build Package Workflow / BUILD_PACKAGE (push) Waiting to run Details
Code scanning - action / CodeQL-Build (push) Waiting to run Details
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-07-22 02:55:11 +00:00
miner c0a859d538
lazy load v2_swagger_client module (#22154)
Signed-off-by: my036811 <miner.yang@broadcom.com>
2025-07-07 14:51:09 +08:00
stonezdj(Daojun Zhang) b8e3dd8fa0
change the pass-CI rules to exclude the resources and robot-cases folder (#22121)
Build Package Workflow / BUILD_PACKAGE (push) Has been cancelled Details
Code scanning - action / CodeQL-Build (push) Has been cancelled Details
Housekeeping - Close stale issues and PRs / stale (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-core, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-core, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-db, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-db, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-exporter, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-exporter, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-jobservice, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-jobservice, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-log, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-log, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-portal, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-portal, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-registryctl, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-registryctl, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (prepare, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (prepare, v2.12.0-dev) (push) Has been cancelled Details
CONFORMANCE_TEST / CONFORMANCE_TEST (push) Has been cancelled Details
Change the pass-CI rules to exclude the resources and robot-cases folder
   Pass HARBOR_ADMIN env to robot testcases

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-06-26 14:05:02 +08:00
miner 937e5920a2
update robot case for get harbor version (#22104) 2025-06-23 15:10:51 +08:00
stonezdj(Daojun Zhang) c0b22d8e24
Add environment variable add network_type env (#22097)
Build Package Workflow / BUILD_PACKAGE (push) Waiting to run Details
Code scanning - action / CodeQL-Build (push) Waiting to run Details
CI / UTTEST (push) Has been cancelled Details
CI / APITEST_DB (push) Has been cancelled Details
CI / APITEST_DB_PROXY_CACHE (push) Has been cancelled Details
CI / APITEST_LDAP (push) Has been cancelled Details
CI / OFFLINE (push) Has been cancelled Details
CI / UI_UT (push) Has been cancelled Details
Use test_network_type to adapt to various network conditions in the test environment.

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-06-19 12:47:04 +00:00
Wang Yan 2faff8e6af
udpate storage to s3 (#21999)
Build Package Workflow / BUILD_PACKAGE (push) Has been cancelled Details
Code scanning - action / CodeQL-Build (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-core, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-core, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-db, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-db, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-exporter, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-exporter, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-jobservice, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-jobservice, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-log, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-log, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-portal, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-portal, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-registryctl, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (harbor-registryctl, v2.12.0-dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (prepare, dev) (push) Has been cancelled Details
Trivy Nightly Scan / Trivy Scan nightly (prepare, v2.12.0-dev) (push) Has been cancelled Details
CONFORMANCE_TEST / CONFORMANCE_TEST (push) Has been cancelled Details
Housekeeping - Close stale issues and PRs / stale (push) Has been cancelled Details
move the build storage from google storage to the CNCF S3 storage

Currently, we use the internal GCR to store all dev builds for nightly testing, development, and as candidates for RC and GA releases. However, this internal Google storage will no longer be available, this pull request it to move to the CNCF-hosted S3 storage.

Signed-off-by: wang yan <wangyan@vmware.com>
2025-05-16 10:23:32 +00:00
miner 3df34c5735
increase docker client timeout for robot case (#21994)
Build Package Workflow / BUILD_PACKAGE (push) Has been cancelled Details
Code scanning - action / CodeQL-Build (push) Has been cancelled Details
CI / UTTEST (push) Has been cancelled Details
CI / APITEST_DB (push) Has been cancelled Details
CI / APITEST_DB_PROXY_CACHE (push) Has been cancelled Details
CI / APITEST_LDAP (push) Has been cancelled Details
CI / OFFLINE (push) Has been cancelled Details
CI / UI_UT (push) Has been cancelled Details
* increase docker client timeout for robot case

Signed-off-by: my036811 <miner.yang@broadcom.com>
Signed-off-by: miner <miner.yang@broadcom.com>
2025-05-13 11:45:09 +00:00
Wang Yan b4ba918118
bump up golang version to v1.24.3 (#21993)
* bump up golang version to v1.24.3

Signed-off-by: wang yan <wangyan@vmware.com>

* bump mockery version to support golang v2.14

Signed-off-by: wang yan <wangyan@vmware.com>

---------

Signed-off-by: wang yan <wangyan@vmware.com>
2025-05-13 17:09:35 +08:00
Wang Yan 073dab8a07
add build flag for harbor exporter (#21988)
As the harbor exporter is not a core component for installation, so like the trivy, add a flag to controller whether package it into the offline installer.

Signed-off-by: wang yan <wangyan@vmware.com>
2025-05-13 13:11:55 +08:00
Prasanth Baskar 9850f1404d
Add missing step in e2e pipeline setup (#21888)
add missing step in e2e

Signed-off-by: bupd <bupdprasanth@gmail.com>
2025-04-23 03:02:26 +00:00
Chlins Zhang 9dcbd56e52
chore: bump golangci-lint to v2 (#21887)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-04-17 14:28:55 +08:00
stonezdj(Daojun Zhang) 259c8a2053
Update robot testcase related to security hub row count to 15 by default (#21846)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-04-08 08:35:02 +00:00
stonezdj(Daojun Zhang) b60bd1a69b
Update xpath for some UI components (#21817)
Update testcase for audit log enhancement
    Add e2e_setup for e2e testcases

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-04-02 09:12:22 +00:00
Wang Yan e216f6beb9
bump up golang version (#21813)
Signed-off-by: wang yan <wangyan@vmware.com>
2025-04-02 13:58:49 +08:00
Wang Yan a16caa5ab7
update golang to v1.23.7 (#21749)
Signed-off-by: wang yan <wangyan@vmware.com>
2025-03-18 18:52:02 +08:00
stonezdj(Daojun Zhang) 45659070b7
Update purge audit to purge both audit_log_ext and audit_log (#21608)
Fix integration issue with UI

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-02-18 09:45:46 +00:00
stonezdj(Daojun Zhang) f808f33cca
Add user login event to audit log (#21415)
Add common event handler
  Register login event
  Update previous audit log event redirect to auditlogext table

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-01-23 15:55:22 +08:00
Wang Yan 9e8e647b71
separate buildin values (#21425)
Signed-off-by: wang yan <wangyan@vmware.com>
2025-01-16 14:26:24 +00:00
stonezdj(Daojun Zhang) 4d5bc19866
Implement audit log ext API (#21414)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-01-16 09:23:25 +00:00
Wang Yan 2140a283bf
remove with_signature (#21420)
Signed-off-by: wang yan <wangyan@vmware.com>
2025-01-16 05:51:07 +00:00
stonezdj(Daojun Zhang) 7c502a8581
Remove id field from payload when update purge audit or gc schedule (#21408)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-01-14 06:48:50 +00:00
stonezdj(Daojun Zhang) 6001359038
Update testcase in main branch (#21375)
Update robot account e2e testcase for export-cve change

    update job service schedule testcase
    switch dockerhub to registry.goharbor.io

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-01-06 14:17:42 +08:00
stonezdj(Daojun Zhang) 9e55afbb9a
Update the testcase for v2.12.0, changes include (#21113)
pull image from registry.goharbor.io instead of dockerhub
   Update testcase to support Docker Image Can Be Pulled With Credential
   Change gitlab project name when user changed.
   Update permissions count and permission count total
   Change webhook_endpoint_ui

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-10-30 20:07:01 +08:00
Wang Yan de281220b5
update golang version (#21014)
* update golang version

to golang v1.23.2

Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-10 13:36:18 +08:00
Shengwen YU 1fd606a02b
fix: migrate cicd to registry goharbor (#20872)
* fix: migrate cicd to registry goharbor

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

* fix: use ${LOCAL_REGISTRY}

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

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-26 14:43:52 +08:00
Shengwen YU 8107f47e12
fix: update e2e test engine images (#20845)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-14 17:37:20 +08:00
Shengwen YU 295e075568
add Test Case for SBOM feature (#20797)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-08-01 16:05:39 +08:00
Wang Yan 0da13ebd28
update ldap (#20724)
update openldap image and tls settings

Signed-off-by: wang yan <wangyan@vmware.com>
2024-07-11 15:08:49 +08:00
Shengwen YU 04b0cc0b08
fix: change coporate harbor to registry.goharbor.io (#20651)
fix: change coporate harbor to registry.goharbor.io and configurable

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-06-24 17:09:10 +08:00
Shengwen YU bb2c62c4c5
fix: update the cron of execution sweep in test (#20636)
fix: update the cron of execution sweep in test per the change of this
PR: https://github.com/goharbor/harbor/pull/20601

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-06-20 14:43:19 +08:00
MinerYang 2da4d5883f
bump golang 1.22.3 (#20433)
* bump golang 1.22.3

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

* debug api_common_install.sh

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

* remove set DNS for docker v20

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

---------

Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-05-16 14:32:59 +08:00
Shengwen YU beb5f3f7cb
fix: enale stop_scan for ci (#20378)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-05-06 17:35:40 +08:00
Shengwen YU bc3e47f0fe
fix: update stop scan tc (#20369)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-29 13:39:27 +08:00
Shengwen YU 9471f5d5a6
fix: update total permission count to 59 (#20352)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-26 08:21:27 +00:00
Shengwen YU c791b39a26
fix: add stop_scan_payload when call stop scan api (#20353)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-26 06:13:00 +00:00
Shengwen YU 822784aac8
fix: update to "clr-dg-cell[10]" to fix the pull time tc due to addin… (#20361)
fix: update to "clr-dg-cell[10]" to fix the pull time tc due to adding an SBOM column

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-26 04:28:22 +00:00
Shengwen YU d0cb200ed5
fix: update nightly test case for verifying audit log of image digest (#20354)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-26 03:44:00 +00:00
Shengwen YU 0e8dce72be
fix: fresh scanner list when updating scanner (#20366)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-26 10:52:11 +08:00
Shengwen YU 9b164f3fee
feat: add tc for limited guest of a project to get repository (#20311)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-22 06:36:35 +00:00
Shengwen YU 6709c789fb
feat: add test case for customizing OIDC provider name (#20287)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-04-17 15:52:58 +08:00