Skip to content

fix: remove dependency on ocm-kit/flake.nix for Go tools version - #45

Merged
jakobmoellerdev merged 8 commits into
open-component-model:mainfrom
iljaweis:build-test
Aug 27, 2026
Merged

fix: remove dependency on ocm-kit/flake.nix for Go tools version#45
jakobmoellerdev merged 8 commits into
open-component-model:mainfrom
iljaweis:build-test

Conversation

@iljaweis

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

The ocm-kit build process takes the go version from ocm-kit/flake.nix, which then requires that updates to the go version need to happen both in ocm-kit/go.mod and ocm-kit/flake.nix. Since the devshell is not used, this makes updates unnecessarily complicated. So this PR removes this dependency and selects the go version from ocm-kit/go.mod.

Which issue(s) this PR fixes

Fixes breaking build in #20

@lukasgr90 lukasgr90 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me (also looking at the documentation of the changed Github action setup-go, https://github.com/actions/setup-go)

iljaweis and others added 7 commits August 27, 2026 12:07
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
…es (open-component-model#42)

* fix: helm-kit now also produces the component descriptor + localReference based OCI reference for ociImages, which originally were include into the CV as local OCI image layout and an input.

test: Extended E2E test by a test case, which embedds a local OCI image into the component version and then tries to use ocm-kit to get the native access to the image, which is based on the component descriptor's OCI reference and the image's digest / localReference.

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>

* fix: LocalBlobv2OCIReference does not introduce the scheme oci:// anymore, but does just take the repoBaseURL as passed from outside.

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>

* test: Made test case definitions within TestLocalBlobv2OCIReference more explicit using a high order functions to check the results of the function under test.

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>

---------

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>
Signed-off-by: Ilja Weis <ilja.weis@opendefense.cloud>
@jakobmoellerdev
jakobmoellerdev merged commit 1e1cbe0 into open-component-model:main Aug 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants