-
Notifications
You must be signed in to change notification settings - Fork 225
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
MGMT-3959 Support overriding newer release images #1034
MGMT-3959 Support overriding newer release images #1034
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: YuviGold 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 |
Please write a short description of what you're trying to achieve |
Updated. |
Remove the override logic from the Go code and made the handle_ocp_versions.py utility to update JSONs. In case of overriding an existing major.minor - it would just replace the displayName and releaseImage fields. In case of a new image (new major.minor) - it would copy the biggest semver version metadata (i.e. rhcosVersion)
ec60339
to
a0ba583
Compare
/lgtm |
* update tools for running local bmo Have the run script build a development version of the deployment for metal3 by looking at the production one and removing the bmo and some other settings we don't want. Wait longer for the new pod to run, since we now wait for the init container to download RHCOS. Log output. Signed-off-by: Doug Hellmann <dhellmann@redhat.com> * make it possible to override the logging destination directory Signed-off-by: Doug Hellmann <dhellmann@redhat.com> * add stop script for dev metal3 deployment Signed-off-by: Doug Hellmann <dhellmann@redhat.com> * add script to bring mao back under cvo control Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Currently, the assisted-service only supports overriding an image that is already supported (major.minor).
We need to support experiencing with even newer images.
Otherwise, the CI would complain once in a while about newer versions being tested that are unsupported.
Eventually, I removed the override from the Go code and I made the
handle_ocp_versions.py
utility to update JSONs.In case of overriding an existing
major.minor
- it would just replace thedisplayName
andreleaseImage
fields.In case of a new image (new
major.minor
) - it would copy the biggest semver version metadata (i.e.rhcosVersion
)