generated from openmcp-project/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
area/open-mcpAll ManagedControlPlane related issuesAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.General task that needs to be done.
Milestone
Description
Understand the Task
Add the ocm cli (https://github.com/open-component-model/ocm?tab=readme-ov-file#ocm-cli) as a resource to the github.com/openmcp-project/openmcp
component descriptor and manage the version update by renovate.
Add the following variants of the OCM CLI to the component:
- linux arm64
- linux amd64
- darwin arm64
- darwin amd64
- windows amd64
- windows amd64
Example:
resources:
- name: ocmcli
type: executable
extraIdentity:
architecture: amd64
os: linux
input:
type: file
path: ./ocm/bin/ocm-cli-linux-amd64
- name: ocmcli
type: executable
extraIdentity:
architecture: arm64
os: linux
input:
type: file
path: ./ocm/bin/ocm-cli-linux-arm64
The ocm cli will be stored as a component local OCI layer. The ocm cli needs to be downloaded with just an OCI compatible client (like docker).
There is a example how a layer can be extracted from a CTF after being OCI pulled.
https://github.com/open-component-model/ocm/blob/main/hack/get_bare_resource_from_ctf.sh
Any further valuable resources.
No response
What is required to accept the Task as done.
Done Criteria
- github.com/openmcp-project/openmcp contains the ocm cli for the specified os/arch list
- The ocm cli can be extracted by an OCI client without the usage of the ocm cli itself
- The ocm cli version in the component is managed by renovate
Metadata
Metadata
Assignees
Labels
area/open-mcpAll ManagedControlPlane related issuesAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.General task that needs to be done.