1
0
mirror of https://github.com/goharbor/harbor.git synced 2026-10-26 09:59:33 +03:00
Commit Graph

207 Commits

Author SHA1 Message Date
dependabot[bot]
d730cb495c chore(deps): bump sigstore/cosign-installer from 4.0.0 to 4.1.1 (#23193)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v4.0.0...v4.1.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 17:31:58 +00:00
dependabot[bot]
50facf858b chore(deps): bump aws-actions/configure-aws-credentials from 5.1.1 to 6.1.0 (#23192)
chore(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 5.1.1 to 6.1.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v5.1.1...v6.1.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 16:31:18 +00:00
dependabot[bot]
0c4a183e18 chore(deps): bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 (#23191)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](57a97c7e78...ed142fd067)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 14:29:02 +00:00
stonezdj(Daojun Zhang)
f6f3a6eb50 bump: bump up golang to 1.26.4 and trivy adapter version to v0.37.2-rc2 (#23460)
* bump: bump up trivy adapter version to v0.37.2-rc2

Update TRIVYADAPTERVERSION to v0.37.2-rc2 in Makefile.

Signed-off-by: stonezdj <stone.zhang@broadcom.com>

* bump: bump up Go version to v1.26.4

Update Go version from 1.26.3 to 1.26.4 across makefiles, configuration, CI workflows, and documentation.

Signed-off-by: stonezdj <stone.zhang@broadcom.com>

---------

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
Signed-off-by: stonezdj(Daojun Zhang) <stonezdj@gmail.com>
2026-06-30 14:07:29 +00:00
Wang Yan
648037f0f3 ci: use local base for component builds; fix flaky log rotation test (#23357)
* ci: use local base for component builds; fix flaky log rotation test

- build-package.yml: set PULL_BASE_FROM_DOCKERHUB=false so components
  build on the base image built in the same run, not a stale remote tag.
- test_log_rotation.py: accept Stopped or Success for the dry-run purge
  job to avoid a timing flake.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>

* fix ci failure

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>

---------

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
2026-06-12 15:53:59 +08:00
Wang Yan
8ee16b8074 fix: solve db build conflict and robustify workflow repo list saving (#23350)
pin qemu binfmt and prevent publish races

- Pin docker/setup-qemu-action to tonistiigi/binfmt:qemu-v9.2.2 for stable arm64 emulation.
- Add per-branch concurrency in build-package workflow to avoid overlapping runs racing on mutable tags/manifests.
- Rename Go setup step label to match the actual configured version.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
2026-06-11 12:09:26 +00:00
Vadim Bauer
7d0cac2a6f fix: publish harbor-*-base images as multi-arch manifests (#23348)
The per-component base images (goharbor/harbor-core-base, harbor-db-base,
harbor-portal-base, ...) were pushed by both BUILD_PACKAGE matrix jobs to the
same unsuffixed tag (e.g. :dev), so whichever architecture finished last
overwrote the other and the published tag ended up single-arch — the same
last-writer-wins problem goharbor/photon:5.0 had before #23334 (#23324).

Apply the same pattern already used for the component images:

- make/photon/Makefile: _build_base keeps building the local unsuffixed tag
  (component Dockerfiles build FROM it unchanged) but pushes an arch-suffixed
  tag instead: harbor-<name>-base:<tag>-amd64 / -arm64.
- .github/workflows/build-package.yml: each matrix job also saves the list of
  goharbor/*-base repos it built; CREATE_MANIFEST combines the two suffixed
  tags into the unsuffixed multi-arch manifest with docker buildx imagetools
  create, using the base tag scheme (dev on main, the release version on
  release-* branches). The base manifest step only runs when BUILD_BASE_IMAGE
  decided to rebuild bases, since otherwise no suffixed tags were pushed in
  this run.

Consumers that pull harbor-*-base:<tag> (PULL_BASE_FROM_DOCKERHUB=true flows)
now resolve the correct architecture via the manifest list instead of getting
whatever architecture won the race.

Signed-off-by: Vadim Bauer <vb@container-registry.com>
2026-06-11 10:37:45 +08:00
Wang Yan
2d2344f642 exclude helper images from manifest creation (#23343)
The swagger, and mockery images are local build-time helper images and are not pushed with dev-{arch} tags.
Exclude them from the repo list used by the manifest job to avoid creating multi-arch manifests for images that are not part of the Harbor runtime release set.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-06-10 10:13:52 +08:00
Wang Yan
1f5e285333 skip spectral image when creating multi-arch manifests (#23340)
fix #23339
The spectral image is only used as a local API lint helper and is built with its own version tag, not as a Harbor runtime image.
Exclude it from the repo list used by the manifest job so CI does not try to create goharbor/spectral:dev from missing dev-{arch} tags.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-06-09 16:01:24 +00:00
Ashish Patel
a821bae24a feat(portal): upgrade Angular to v21, Clarity to v18, Node.js to v22 (#22937 (#23078)
Upgrade Harbor UI to Angular 21, Clarity v18, and Node.js v22

- Upgrade the Harbor UI (src/portal) from Angular 16 to Angular 19 and subsequently to Angular 21.
- Upgrade VMware Clarity from v17 to v18, and Node.js from v20 to v22 (updated .nvmrc, CI.yml, Makefile, Dockerfile).
- Migrate Angular templates to the new @if/@for control flow syntax.
- Fix UI issues #1 through #35, including robot accounts, layout, dropdown overlay, and input styling.
- Fix unit tests: resolve NG0100 ExpressionChangedAfterItHasBeenCheckedError in policy.component.spec.ts, replace autoDetectChanges(true) with explicit detectChanges cycles, and use TestBed.overrideComponent to stub AddP2pPolicyComponent template.
- Fix Clarity v18 breaking changes: update dark-theme SCSS import, add cds-theme attribute for theming, update ClrDatagridStateInterface import path, add ClrIconModule to app module.
- Stabilize npm installs and resolve CI/CD pipeline hangs.
- Fix swagger-ui crash caused by React 19 createRoot removal:
  - swagger-ui 5.28+ resolves a nested react-dom@19 which removed createRoot
    from the main react-dom entry point (moved to react-dom/client). The
    swagger-ui-es-bundle-core.js still imports createRoot from react-dom,
    making it undefined and causing "TypeError: i is not a function" at render.
  - app-swagger-ui/webpack.prod.js: alias bare 'swagger-ui' import to
    swagger-ui-bundle.js (the standalone UMD build that ships with React 18
    already bundled), bypassing the broken external react-dom@19 entirely.
  - app-swagger-ui/package.json: add npm overrides to pin react and
    react-dom to ^18.3.1 so future npm installs do not re-introduce React 19.
  - angular.json: expose swagger-ui.bundle.js and swagger-ui-index.html
    from app-swagger-ui/dist as Angular dev-server assets, enabling the
    proxy to serve the locally built, fixed bundle during development.
- Convert eslint-plugin-header config from JSON to JS to apply the ESLint 9 schema fix at config-load time, removing the need for patch-package.
- Pin all dependency versions to exact installed versions from the lock file, and remove unused prettier-eslint package.
- Fix flake in P2pProviderService unit test by initializing date with 0 milliseconds to prevent cross-second duration calculation mismatches.

Signed-off-by: Ashish Patel <zoom2ashish@gmail.com>
Co-authored-by: stonezdj <stone.zhang@broadcom.com>
2026-06-09 15:16:20 +00:00
Vadim Bauer
2b29348cbd fix: publish goharbor/photon:5.0 as a multi-arch manifest (#23324) (#23334)
goharbor/photon:5.0 was built and pushed independently by both the amd64 and
arm64 BUILD_PACKAGE matrix jobs to the same tag, so whichever job finished last
overwrote the other and the published tag ended up single-arch ("sometimes
amd64, sometimes arm64", #23324).

Build it once as an amd64+arm64 manifest list in a dedicated BUILD_BASE_IMAGE
job that BUILD_PACKAGE depends on, and exclude goharbor/photon from the
component manifest list in CREATE_MANIFEST (it is published here and stays at
tag 5.0).

The db base image keeps the photon-snapshot repo (the stable Photon source) and
installs both postgresql15-server (old binaries at /usr/pgsql/15/bin, required
by pg_upgrade) and postgresql18-server (runtime), temporarily un-pinning the
snapshot to pull whichever major Photon has deprecated out of the current
snapshot per architecture (pg15 on amd64, pg18 on arm64). common/Dockerfile
keeps photon-snapshot and merges its setup into a single RUN.

Signed-off-by: Vadim Bauer <vb@container-registry.com>
2026-06-09 22:04:47 +08:00
jUDASmILE
33b363c81b Rebuild goharbor/photon image before create new harbor base images (#23248)
* refresh goharbor photon:5.0 when create new base image

Signed-off-by: jUDASmILE <judasmile@gmail.com>

* correct date and format in buildbaselog

Signed-off-by: jUDASmILE <judasmile@gmail.com>

---------

Signed-off-by: jUDASmILE <judasmile@gmail.com>
2026-05-18 10:01:58 +00:00
stonezdj(Daojun Zhang)
24b7300618 bump Go version from 1.25.7 to 1.26.3 (#23235)
fix UT failures for Go 1.26.3 compatibility
  Add //nolint:revive to packages whose names shadow Go stdlib
  Fix mock file import ordering (goimports compliance)
  Bump golangci-lint from v2.8.0 to v2.9.0 for Go 1.26 support
  Update CI step label to reflect Go 1.26

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2026-05-18 16:22:30 +08:00
Mandepudi Rani Chowdary
18f7abd8ed Full Multi-Architecture Enablement for Harbor (amd64 + arm64) (#22311)
Co-authored-by: Orlix <7236111+OrlinVasilev@users.noreply.github.com>
Co-authored-by: Vadim Bauer <vb@container-registry.com>
Co-authored-by: Vadim Bauer <Bauer.vadim@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: bupd <bupdprasanth@gmail.com>
2026-05-12 09:03:22 +02:00
Chlins Zhang
88ab66244e feat: replace redis with valkey as cache backend (#23157)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-04-28 14:59:43 +08:00
infracore
c246fe50c9 ci: add API schema drift check for v2.0 swagger spec (#23089)
Advisory-only workflow that runs on PRs touching api/v2.0/**.
Diffs the base branch spec against the PR and posts a comment
identifying breaking vs non-breaking changes with semver
classification. Never blocks merges.

Ref: https://github.com/goharbor/harbor/issues/23067

Signed-off-by: infracore <infracore@users.noreply.github.com>
Co-authored-by: infracore <infracore@users.noreply.github.com>
2026-04-26 08:40:31 +00:00
stonezdj(Daojun Zhang)
ee96bb779b Add proxy cache from dockerhub, harbor, jfrog (#23121)
default to run proxy cache from harbor
    add SKIP_PROXY_CACHE setting to skip run proxy cache testcase in github action incase
    registry.goharbor.io unstable

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2026-04-20 21:03:23 +08:00
stonezdj(Daojun Zhang)
6d822c2660 Pin trivy github action to v0.35.0 (#23031)
Signed-off-by: stonezdj <stonezdj@gmail.com>
2026-04-03 16:11:59 +08:00
Wang Yan
18a8b1c700 fix codecov issue (#22922)
per the failure message for the codecov server, it needs to add the tk to upload the results file.

Error Msg: Upload failed: {"message":"Token required because branch is protected"}

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-03-04 21:39:30 +08:00
dependabot[bot]
0ce14b9fb7 chore(deps): bump actions/setup-node from 5 to 6 (#22461)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 08:55:24 +00:00
Wang Yan
8f997b8d32 fix the git action publish permission issue (#22840)
it needs the write permission to publish the harbor assets to github releases.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-02-12 23:03:15 +08:00
Wang Yan
1006a2010f bump go and base images (#22831)
1, up go to v1.25.7.
2, up the base photon to latest.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-02-11 17:39:35 +08:00
dependabot[bot]
75432bba9a chore(deps): bump github/codeql-action from 3 to 4 (#22432)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 10:24:26 +00:00
Wang Yan
457ca90e63 bump go to v1.25 (#22794)
1, bump go version from v1.24.6 to v1.25.6
2, temp workaround the lint issue.
3, fix the relevant compitable issues that introduced by go v1.25.

Signed-off-by: wang yan <yan-yw.wang@broadcom.com>
Co-authored-by: wang yan <yan-yw.wang@broadcom.com>
2026-02-03 03:44:28 +08:00
dependabot[bot]
e76baaa7d3 chore(deps): bump kentaro-m/auto-assign-action from 2.0.0 to 2.0.1 (#22748)
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases)
- [Commits](https://github.com/kentaro-m/auto-assign-action/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-30 08:22:26 +00:00
Chlins Zhang
47fef5fc50 ci: migrate build workflows to ubuntu-latest runners (#22750)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2026-01-21 14:08:41 +08:00
dependabot[bot]
d35103b834 chore(deps): bump sigstore/cosign-installer from 3.7.0 to 4.0.0 (#22732)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.7.0...v4.0.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 18:40:02 +02:00
Ikram ALOUI
e7f0333979 Add Cosign keyless signing for Harbor release artifacts (#22578)
* feat: implement keyless signing in release workflow

- Move signing from build to release workflow
- Use .sigstore.json naming convention (Sigstore standard)
- update signature verification documentation and readme file
- Update workflows to sign artifacts at release time only

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>

* WIP: update release workflow and utils

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>

* Add Cosign signing and fix accidental deletions

- Add Cosign signing to releases for security
- Revert to using getAssets function
- Restore latest installer uploads
- Restore pre-release comment

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>

* Remove braces from variable names for consistency

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>

* Remove unnecessary permissions from build-package.yml

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>

---------

Signed-off-by: Aloui-Ikram <ikram@container-registry.com>
Co-authored-by: Aloui-Ikram <ikram@container-registry.com>
Co-authored-by: Daniel Jiang <daniel.jiang@broadcom.com>
2026-01-13 09:47:28 +00:00
dependabot[bot]
7c61de704e chore(deps): bump actions/upload-artifact from 5 to 6 (#22642)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-22 14:50:28 +08:00
dependabot[bot]
7bb8e741c6 chore(deps): bump aws-actions/configure-aws-credentials from 5.0.0 to 5.1.1 (#22599)
chore(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 5.0.0 to 5.1.1.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v5.0.0...v5.1.1)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 08:05:13 +00:00
dependabot[bot]
c694f5cee9 chore(deps): bump actions/checkout from 5 to 6 (#22584)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-05 04:00:37 +00:00
stonezdj(Daojun Zhang)
6f2e475f18 Correct the log upload path and make sure it always run (#22616)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-12-05 03:24:50 +00:00
Chlins Zhang
c3c95e71bd ci(workflows): simplify label pattern in label_check (#22596)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-11-28 11:18:00 +08:00
Chlins Zhang
985d5c3f0c ci(workflows): update runner to oracle-vm-24cpu-96gb-x86-64 (#22455)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-10-31 17:21:45 +08:00
dependabot[bot]
ce6e76ad77 chore(deps): bump actions/upload-artifact from 4 to 5 (#22509)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-29 06:27:49 +00:00
dependabot[bot]
08a6300db5 chore(deps): bump actions/stale from 9.1.0 to 10.0.0 (#22323)
Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9.1.0...v10.0.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: miner <miner.yang@broadcom.com>
2025-09-11 16:36:37 +08:00
dependabot[bot]
d0ad35e0f2 chore(deps): bump actions/setup-node from 4 to 5 (#22325)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: miner <miner.yang@broadcom.com>
2025-09-11 07:53:43 +00:00
dependabot[bot]
7781d6484e chore(deps): bump aws-actions/configure-aws-credentials from 4.2.1 to 5.0.0 (#22324)
chore(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.2.1 to 5.0.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4.2.1...v5.0.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: miner <miner.yang@broadcom.com>
2025-09-11 15:15:18 +08: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
dependabot[bot]
aaff6fecc4 chore(deps): bump actions/checkout from 3 to 5 (#22250)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 07:31:41 +00: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
miner
cc97ec0b62 remove extra build_base=false && pull_base_from_dockerhub=false check logic (#22233)
remove extra build_base=false && pull_base_from_dockerhub=false logic
we do not block the case using local chached image(docker build --pull=false) while build_base=false
However we need gurantee always pull latest image while build package
And when there's some rate limit issue in the CICD situation we could set pull_base_from_dockerhub=false

Signed-off-by: my036811 <miner.yang@broadcom.com>
2025-08-07 08:41:11 +00:00
stonezdj(Daojun Zhang)
e8c2e478b6 Remove testcase Open Image Scanners doc page (#22180)
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2025-07-22 02:55:11 +00:00
stonezdj(Daojun Zhang)
b8e3dd8fa0 change the pass-CI rules to exclude the resources and robot-cases folder (#22121)
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
Chlins Zhang
f46295aadb chore: fix the arguments for codecov v5 (#22050) 2025-06-07 02:56:47 +00:00
dependabot[bot]
6f856cd6b1 chore(deps): bump aws-actions/configure-aws-credentials from 4.1.0 to 4.2.1 (#22003)
chore(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4.1.0...v4.2.1)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 13:56:35 +08:00
Wang Yan
2faff8e6af udpate storage to s3 (#21999)
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
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
Wang Yan
b58a60e273 update gitaction machine to 22.04 (#21900)
Per https://github.com/actions/runner-images/issues/11101, the ubuntu 20.04 is out of support. Up it to the 22.04

Signed-off-by: wang yan <wangyan@vmware.com>
2025-04-21 10:13:21 +08:00
dependabot[bot]
16436b37fc chore(deps): bump actions/stale from 9.0.0 to 9.1.0 (#21446)
Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: miner <yminer@vmware.com>
2025-01-23 10:54:51 +00:00