-
Notifications
You must be signed in to change notification settings - Fork 423
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
OCPBUGS-13547: Use payload-version flag to set release version consistently across components #3701
OCPBUGS-13547: Use payload-version flag to set release version consistently across components #3701
Conversation
Test failures are kinda weird, and looking at some other jobs, I'm wondering if there's a race here. Does anyone know why they are that way around? Going to retest to get more data /retest |
bcf716e
to
0d5d9fd
Compare
0d5d9fd
to
131bf03
Compare
I've successfully installed a cluster from this PR this morning, after some teething trouble, I think this is good to go. |
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
@JoelSpeed: The following tests failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
@JoelSpeed: This pull request references Jira Issue OCPBUGS-13547, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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/test-infra repository. |
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
Thanks Joel!
/hold
For qe verification. Although I think this might be ok as-is since the env var overrides the new flag, so feel free to unhold if we feel that isn't needed
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, sinnykumari, yuqi-zhang 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 |
I'm going to skip on this as this change should be inert, as you say, the change is still using the old env var for now and the rest of the changes are all contained in adding a new flag, which shouldn't need any additional validation other than x thing runs, which E2E has proven. Will make sure E2E check on MCO when we do the end to end test with the installer bit as well and 3688 /hold cancel |
@JoelSpeed: Jira Issue OCPBUGS-13547: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-13547 has not been moved to the MODIFIED state. In 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/test-infra repository. |
- What I did
Adds a
--payload-version
flag to all the components in this repo (MCC, MCS, MCO, MCD) so that they consistently populate the release version intoversion.ReleaseVersion
. The payload version is already used in MCO in a couple of places via env vars, so this includes a backwards compatible env var pre-population, but the intention is to remove that shortly (once the installer populates the flag for the bootstrap) and then the only, and consistent way to set the release version within the MCO suite would be via the flag. In code/tests it can be set via settingversion.ReleaseVersion
.This should make the usage consistent across the codebase ahead of introducing feature gate changes on top of this.
- How to verify it
Should be no functional changes, will want to check the various manifests are generated with the correct versions.
- Description for the changelog
Use consistent payload-version flag to load release version information.
N.B:
0.0.1-snapshot
is a magic string that is replaced during the payload build process, so the install manifests for MCO should get the correct version when the payload is built.