Skip to content
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

build: buildinfo: move buildinfo struct in internal api #1111

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

ffromani
Copy link
Member

use the buildinfo.json data for pkg/version instead of injecting the values at link time.
This simplifies the builds and enables better introspection capabilities.

Copy link
Contributor

openshift-ci bot commented Dec 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

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

The pull request process is described here

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 11, 2024
@ffromani ffromani added cherry-pick-candidate Possible cherry-pick in the future and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 11, 2024
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 11, 2024
use the buildinfo.json data for `pkg/version` instead
of injecting the values at link time.
This simplifies the builds and enables better introspection
capabilities.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani
Copy link
Member Author

/retest

@ffromani
Copy link
Member Author

/cc @shajmakh @rbaturov

@openshift-ci openshift-ci bot requested a review from rbaturov December 12, 2024 09:38
@Tal-or
Copy link
Collaborator

Tal-or commented Dec 12, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit a53d5b3 into main Dec 12, 2024
15 checks passed
@ffromani ffromani deleted the staticize-versions branch December 12, 2024 12:50
@ffromani
Copy link
Member Author

/cherry-pick release-4.18

@ffromani ffromani added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Dec 18, 2024
@openshift-cherrypick-robot

@ffromani: new pull request created: #1125

In response to this:

/cherry-pick release-4.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cherry-pick-candidate Possible cherry-pick in the future lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants