-
Notifications
You must be signed in to change notification settings - Fork 32
feat: Use OCM cli to submit OCM components in KLM e2e #2863
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
Merged
medmes
merged 102 commits into
kyma-project:main
from
medmes:feat/use-ocm-cli-to-submit-ocm-components-versions
Dec 2, 2025
Merged
feat: Use OCM cli to submit OCM components in KLM e2e #2863
medmes
merged 102 commits into
kyma-project:main
from
medmes:feat/use-ocm-cli-to-submit-ocm-components-versions
Dec 2, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Update `action.yml` to use `install-ocm-cli` action with archive naming (ocm-<version>-<os>-<arch>.tar.gz) - Add checksum verification and `GitVersion` validation using yq - Adjust setup tools action to pass `ocm_cli_version` to e2e test github workflow
|
|
|
❌ Manifests created with 'make dry-run-control-plane' changed! Please make sure to check if changes are needed in related repositories like management-plane-charts, runtime-watcher, etc. |
…github.com:medmes/lifecycle-manager into feat/use-ocm-cli-to-submit-ocm-components-versions
4 tasks
…github.com:medmes/lifecycle-manager into feat/use-ocm-cli-to-submit-ocm-components-versions
…ut-constructor-file flags
…le-config used in release/1.0.4
…github.com:medmes/lifecycle-manager into feat/use-ocm-cli-to-submit-ocm-components-versions
mmitoraj
reviewed
Dec 1, 2025
mmitoraj
reviewed
Dec 2, 2025
Co-authored-by: Małgorzata Świeca <[email protected]>
Tomasz-Smelcerz-SAP
previously approved these changes
Dec 2, 2025
mmitoraj
previously approved these changes
Dec 2, 2025
Tomasz-Smelcerz-SAP
approved these changes
Dec 2, 2025
mmitoraj
approved these changes
Dec 2, 2025
c-pius
pushed a commit
that referenced
this pull request
Dec 3, 2025
feat(e2e): add OCM CLI support and improve template-operator e2e deployment - Add install-ocm-cli action (.github/actions/install-ocm-cli/action.yml) to install OCM CLI with checksum verification. - Expose ocm_cli_version and template_operator_version outputs in get-configuration action and wire them into workflows. - Install ocm-cli from setup-tools and pass ocm_cli_version to the setup step. - Checkout template-operator using template_operator_version and pass module_version into the deploy action. - Enhance deploy-template-operator-with-modulereleasemeta: - Read module version from versions.yaml, set image tags with yq and build manifests. - Use modulectl to generate component constructor and OCM CLI to create/transfer CTF to registries (support local & private registries). - Add debug checks for ModuleTemplate / ModuleReleaseMeta and registry contents. - Pass both the OCM release version and the actual deployable image version to deploy_moduletemplate. - Update deploy_moduletemplate.sh: - Add required DEPLOYABLE_IMAGE_VERSION parameter and input validation. - Use modulectl + ocm to generate/push component versions, patch manifests, apply ModuleTemplate, and clean up temp files. - Improve logging and error handling. - Add ocm-config-local-registry.yaml and ocm-config-private-registry.yaml under scripts/tests. - Add contributor documentation for creating ModuleTemplate with modulectl + OCM CLI and link it from ModuleTemplate docs. - Improve teardown/debug scripts output for easier troubleshooting. - Bump tooling in versions.yaml: modulectl -> 2.5.0, add ocm-cli 0.32.0, add template-operator version. - Minor formatting and reliability improvements across workflows and scripts. - No breaking API changes; this improves e2e reliability by aligning deployed images with versions.yaml and pushing component descriptors via OCM.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Use OCM cli to submit OCM components in KLM e2e, in other words spliting the moduletemplate creation and artifacts to modulectl and delegate the pushing OCI Artifacts to the OCI registry,
Changes proposed in this pull request in details:
Related issue(s)
kyma-project/modulectl#287