Skip to content

moved build details to version package #1185

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

nirrozenbaum
Copy link
Contributor

This PR moves build versions/details into a version dedicated package, instead of having the build details in metrics package, which seems non-related.

cc @JeffLuoo @kfswain

@nirrozenbaum nirrozenbaum requested a review from JeffLuoo July 17, 2025 17:19
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 17, 2025
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 2a070f1
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/687930939ec166000868ca18
😎 Deploy Preview https://deploy-preview-1185--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot requested review from ahg-g and kfswain July 17, 2025 17:19
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 17, 2025
@@ -197,6 +198,8 @@ func (r *Runner) Run(ctx context.Context) error {
flag.Parse()
initLogging(&opts)

setupLog.Info("GIE build", "commit-sha", version.CommitSHA, "build-ref", version.BuildRef)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we set log levels on the setup log? If so, this feels like a Debug level log

Copy link
Contributor Author

@nirrozenbaum nirrozenbaum Jul 18, 2025

Choose a reason for hiding this comment

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

don’t you want to always know the details of the image we’re running? last commit sha? currently when seeing the log we have no way to know what version of GIE was used.
This is a common practice, also in kubernetes.. for example:
https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-scheduler/app/server.go#L174

@kfswain
Copy link
Collaborator

kfswain commented Jul 17, 2025

/approve

One small comment, will leave to Jeff to give LGTM stamp

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kfswain, nirrozenbaum

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:
  • OWNERS [kfswain,nirrozenbaum]

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

@JeffLuoo
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 18, 2025
@k8s-ci-robot k8s-ci-robot merged commit 25fee61 into kubernetes-sigs:main Jul 18, 2025
9 checks passed
@nirrozenbaum nirrozenbaum deleted the version branch July 18, 2025 17:15
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants