Skip to content

[cherry-pick] Rebuild goharbor/photon image before create new harbor base images#23250

Merged
stonezdj merged 1 commit into
goharbor:release-2.15.0from
jUDASmILE:cherry-pick-23248-to-release-2.15.0
May 19, 2026
Merged

[cherry-pick] Rebuild goharbor/photon image before create new harbor base images#23250
stonezdj merged 1 commit into
goharbor:release-2.15.0from
jUDASmILE:cherry-pick-23248-to-release-2.15.0

Conversation

@jUDASmILE

Copy link
Copy Markdown
Contributor

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Motivation:
Currently, the goharbor/photon:5.0 image relies on a fixed snapshot from the photon 91 branch. Keeping this updated requires manual intervention—such as modifying the Dockerfile or running scheduled refreshes—which adds unnecessary maintenance overhead.

What this PR does:
This PR updates the build process to leverage the Photon team's new branching strategy by using the photon-snapshot repository as the source.

Impact:
Whenever we create new Harbor base images, the build will automatically pull the latest upstream changes (whether the Photon team releases a new snapshot or cuts a new branch). This eliminates the need for manual updates and ensures our base images are consistently up-to-date.

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.

@jUDASmILE
jUDASmILE requested a review from a team as a code owner May 18, 2026 15:12

@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

@codecov

codecov Bot commented May 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-2.15.0@20a6f36). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##             release-2.15.0   #23250   +/-   ##
=================================================
  Coverage                  ?   66.00%           
=================================================
  Files                     ?     1074           
  Lines                     ?   116684           
  Branches                  ?     2952           
=================================================
  Hits                      ?    77013           
  Misses                    ?    35397           
  Partials                  ?     4274           
Flag Coverage Δ
unittests 66.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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.

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.

4 participants