WIP: OCPBUGS-60903: v2/version: output ocp release version#1266
WIP: OCPBUGS-60903: v2/version: output ocp release version#1266r4f4 wants to merge 4 commits intoopenshift:mainfrom
Conversation
|
@r4f4: This pull request references Jira Issue OCPBUGS-60903, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: r4f4 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 |
|
/jira refresh |
|
@r4f4: This pull request references Jira Issue OCPBUGS-60903, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@r4f4: This pull request references Jira Issue OCPBUGS-60903, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Let `main` finish and call `os.Exit`
There is no reason to duplicate this definition given that we already import k8s.io/apimachinery anyway.
a9bcc62 to
b6c723e
Compare
The binary must have one main definition of the release version variable, otherwise the substitution during binary extraction won't work.
This change makes it possible for `oc` to inject the current OCP release version information into the `oc-mirror` binary so that we can report a better version output other than just a commit hash.
b6c723e to
789c29a
Compare
|
@r4f4: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. 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-sigs/prow repository. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
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. |
|
@r4f4: This pull request references Jira Issue OCPBUGS-60903. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Description
A commit hash cannot be easily related to an ocp release version.
Github / Jira issue: OCPBUGS-60903
Dependencies
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
ocfrom source including the changes from OCPBUGS-60903: oc adm release extract: add oc-mirror to the tools list oc#2106oc-mirrorfrom the custom payloadExpected Outcome
The
versioncommand output contains the OCP release information whenoc-mirroris extract byocfrom the release payload.