-
Notifications
You must be signed in to change notification settings - Fork 359
Trim date prefix from tag in GCB image build #350
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
Conversation
The image pushing setup in test-infra defines _GIT_TAG with a vYYYYMMDD prefix to `git describe`. This format isn't allowed by k8s.io/component-base panicing on startup. By trimming the date prefix from the tag, image builds will only contain the `git describe` output, matching the binaries built from the Makefile
|
@rifelpet: This issue is currently awaiting triage. If cloud-provider-aws contributors determine this is a relevant issue, they will accept it by applying the The DetailsInstructions 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/test-infra repository. |
|
/cc @nckturner |
olemarkus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
…fixes after the tag
|
/lgtm Thanks @rifelpet |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nckturner, olemarkus, rifelpet The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@nckturner Could you cherry-pick this to 1.23 and release both 1.23 and 1.24 with this fix? Thanks! |
What type of PR is this?
/kind bug
What this PR does / why we need it:
The image pushing setup in test-infra defines
_GIT_TAGwith avYYYYMMDDprefix togit describe.This format isn't allowed by k8s.io/component-base panicking on startup.
By trimming the date prefix from the tag, image builds will only contain the
git describeoutput, matching the binaries built from the MakefileWhich issue(s) this PR fixes:
Fixes #339
Special notes for your reviewer:
I copied this solution from another project's build process that also utilizes GCB and k8s.io/component-base:
https://github.com/kubernetes-sigs/scheduler-plugins/blob/1c90b0d319f33c7a33d9456ba412be0b6ffb61bc/Makefile#L31-L36
Does this PR introduce a user-facing change?: