Skip to content

bump Go to 1.25.9 and use goharbor/photon:5.0 base images#23204

Merged
stonezdj merged 3 commits into
goharbor:release-2.14.0from
stonezdj:2.14_bump_photon_golang
May 8, 2026
Merged

bump Go to 1.25.9 and use goharbor/photon:5.0 base images#23204
stonezdj merged 3 commits into
goharbor:release-2.14.0from
stonezdj:2.14_bump_photon_golang

Conversation

@stonezdj

@stonezdj stonezdj commented May 7, 2026

Copy link
Copy Markdown
Contributor
  • Upgrade Go toolchain to 1.25.9 in CI.yml, Makefile, go.mod, and distro installer
  • Update CONTRIBUTING.md version table for 2.14
  • Switch all Dockerfile.base FROM to goharbor/photon:5.0

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.33333% with 10 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-2.14.0@a142ab7). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/pkg/registry/auth/authorizer.go 42.85% 3 Missing and 1 partial ⚠️
src/pkg/reg/adapter/aliacr/openapi.go 0.00% 2 Missing ⚠️
src/pkg/oidc/helper.go 0.00% 1 Missing ⚠️
src/pkg/reg/adapter/huawei/huawei_adapter.go 66.66% 1 Missing ⚠️
src/server/registry/manifest.go 0.00% 0 Missing and 1 partial ⚠️
src/server/v2.0/handler/search.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##             release-2.14.0   #23204   +/-   ##
=================================================
  Coverage                  ?   65.85%           
=================================================
  Files                     ?     1073           
  Lines                     ?   116254           
  Branches                  ?     2933           
=================================================
  Hits                      ?    76554           
  Misses                    ?    35441           
  Partials                  ?     4259           
Flag Coverage Δ
unittests 65.85% <58.33%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/common/utils/utils.go 82.41% <100.00%> (ø)
src/pkg/reg/adapter/huawei/image_registry.go 58.49% <100.00%> (ø)
src/pkg/registry/auth/bearer/authorizer.go 64.63% <100.00%> (ø)
src/pkg/registry/client.go 42.88% <100.00%> (ø)
src/server/registry/referrers.go 61.15% <100.00%> (ø)
src/pkg/oidc/helper.go 43.34% <0.00%> (ø)
src/pkg/reg/adapter/huawei/huawei_adapter.go 54.72% <66.66%> (ø)
src/server/registry/manifest.go 67.37% <0.00%> (ø)
src/server/v2.0/handler/search.go 0.00% <0.00%> (ø)
src/pkg/reg/adapter/aliacr/openapi.go 0.00% <0.00%> (ø)
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@stonezdj
stonezdj force-pushed the 2.14_bump_photon_golang branch 3 times, most recently from 4958d38 to add4f5b Compare May 7, 2026 10:05

@wy65701436 wy65701436 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@stonezdj
stonezdj enabled auto-merge (squash) May 7, 2026 10:17

@chlins chlins left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@stonezdj
stonezdj force-pushed the 2.14_bump_photon_golang branch 2 times, most recently from 39d38ae to aef5ca8 Compare May 8, 2026 04:12
stonezdj and others added 2 commits May 8, 2026 12:15
- Upgrade Go toolchain to 1.25.9 in CI.yml, Makefile, go.mod, and distro installer
- Update CONTRIBUTING.md version table for 2.14
- Switch all Dockerfile.base FROM to goharbor/photon:5.0
- upgrade golangci-lint to v2.8.0 for Go 1.25 compatibility
- bump SWAGGER_VERSION to v0.33.1
- Fix swagger template incompatibility with go-swagger v0.33.1
- Sync golangci-lint config with release-2.15.0
- Fix usestdlibvars lint errors: replace string literals with stdlib constants

Signed-off-by: stonezdj <[email protected]>
 set user agent to avoid some registry (e.g. docker hub) return 403 when user agent is not set to harbor-registry-client
 fixes goharbor#23025

Signed-off-by: stonezdj <[email protected]>
@stonezdj
stonezdj force-pushed the 2.14_bump_photon_golang branch from aef5ca8 to 27a6d49 Compare May 8, 2026 04:15
@stonezdj
stonezdj merged commit 1ba721a into goharbor:release-2.14.0 May 8, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants