Skip to content

HYPERFLEET-1094 - ci: add /licenses to container image#134

Merged
openshift-merge-bot[bot] merged 1 commit into
mainfrom
HYPERFLEET-1094-add-licenses
May 15, 2026
Merged

HYPERFLEET-1094 - ci: add /licenses to container image#134
openshift-merge-bot[bot] merged 1 commit into
mainfrom
HYPERFLEET-1094-add-licenses

Conversation

@ciaranRoche
Copy link
Copy Markdown
Contributor

Summary

  • Copies LICENSE into /licenses/ in the container image for Konflux preflight HasLicense certification check

Test plan

  • Konflux preflight HasLicense check passes
  • No regression in other preflight checks

🤖 Generated with Claude Code

@openshift-ci openshift-ci Bot requested review from jsell-rh and pnguyen44 May 15, 2026 11:05
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 8214137a-1ca6-4cbf-a915-f8317a99ed34

📥 Commits

Reviewing files that changed from the base of the PR and between 5d204a7 and aee8646.

📒 Files selected for processing (2)
  • .dockerignore
  • Dockerfile

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Included the project's LICENSE file in the Docker build context so it is now packaged with builds.
    • Updated the final image to carry the license file, ensuring licensing information is present in distributed images.

Walkthrough

The .dockerignore was edited to stop ignoring LICENSE so it is included in the build context, and the Dockerfile's runtime stage now copies /build/LICENSE from the builder stage into the final image at /licenses/LICENSE. No other build or runtime steps were changed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding /licenses to the container image, which aligns with the Dockerfile and .dockerignore modifications.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of copying LICENSE into /licenses/ for Konflux certification and including a test plan.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch HYPERFLEET-1094-add-licenses

Comment @coderabbitai help to get the list of available commands and usage tips.

@ciaranRoche
Copy link
Copy Markdown
Contributor Author

/retest

Copy LICENSE into /licenses for Konflux preflight HasLicense check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ciaranRoche ciaranRoche force-pushed the HYPERFLEET-1094-add-licenses branch from 5d204a7 to aee8646 Compare May 15, 2026 11:51
@rafabene
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rafabene

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit a9b91fe into main May 15, 2026
9 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.

2 participants