Skip to content
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

[MCO-1591] Ignition recursive converter #4913

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pablintino
Copy link
Contributor

- What I did
TBD
- How to verify it
TBD
- Description for the changelog
TBD

This commit bumps ignition to v2.20.0 to further bump the MCO to
use ignition 3.5 by default. The ignition converter is bumped too.
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 13, 2025
Copy link
Contributor

openshift-ci bot commented Mar 13, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

openshift-ci bot commented Mar 13, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pablintino
Once this PR has been reviewed and has the lgtm label, please assign yuqi-zhang for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

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

@pablintino pablintino force-pushed the ignition-recursive-converter branch 2 times, most recently from 70c5bbf to cade8da Compare March 17, 2025 15:34
Maintaining Ignition conversions is starting to be more and more
complicated since each new version requires not only to code the
conversion logic (by calling the underlaying Ignition converter) but
adding the version to the MCS logic, update each comment that points to
the old version or the supported version list, etc.
This change aims to simplify the new Ignition bumps by providing a
recursive converter that handles conversion between known versions
transparently and exposes methods to retrieve the supported versions and
to perform a coversion between known source and target versions.
With this change, the dev in future Ignition bumps, will only need to
bump the Ignition dependency and add two tiny functions that converts to
and from the previous ignition version.
@pablintino pablintino force-pushed the ignition-recursive-converter branch from cade8da to 37f7967 Compare March 17, 2025 16:28
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants