-
Notifications
You must be signed in to change notification settings - Fork 6
HYPERFLEET-499 | Add version info embedding and fix Docker build #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe PR adds build/versioning and container runtime changes: new .dockerignore; Dockerfile now accepts ARG GIT_COMMIT, uses Sequence Diagram(s)(Section omitted — conditions for diagram generation were not met.) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🪛 checkmake (0.2.2)Makefile[warning] 87-87: Target body for "build" exceeds allowed length of 5 (16). (maxbodylength) 🔇 Additional comments (8)
✏️ Tip: You can disable this entire section by setting Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Shouldn't we change go build to make build? Example: https://github.com/openshift-hyperfleet/hyperfleet-adapter/pull/30/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R21 VCS parameter is captured by make image and propageted to make build. |
|
Changes:
Aligns with hyperfleet-adapter pattern and addresses:
Ref: HYPERFLEET-370, HYPERFLEET-499 @rafabene would you please help review again? thanks in advance. |
This fixes the CI image build failure: 'error obtaining VCS status: exit status 128'
The -buildvcs=false flag prevents Go from attempting to stamp VCS information into the binary, which fails in containerized build environments where .git directory is not available.
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.