Skip to content

Commit 5024de5

Browse files
authored
chore: copy legacy component-cli code
chore: copy legacy code
2 parents e51639d + 238fd4c commit 5024de5

File tree

377 files changed

+37747
-4182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+37747
-4182
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DOCKER_BUILDER_NAME := "ls-multiarch"
1717
DISABLE_CLEANUP := false
1818
ENVTEST_K8S_VERSION = 1.27
1919

20-
CODE_DIRS := $(REPO_ROOT)/cmd/... $(REPO_ROOT)/pkg/... $(REPO_ROOT)/test/... $(REPO_ROOT)/hack/testcluster/... $(REPO_ROOT)/apis/... $(REPO_ROOT)/controller-utils/...
20+
CODE_DIRS := $(REPO_ROOT)/cmd/... $(REPO_ROOT)/pkg/... $(REPO_ROOT)/test/... $(REPO_ROOT)/hack/testcluster/... $(REPO_ROOT)/apis/... $(REPO_ROOT)/controller-utils/... $(REPO_ROOT)/legacy-component-cli/... $(REPO_ROOT)/legacy-component-spec/bindings-go/... $(REPO_ROOT)/legacy-image-vector/...
2121

2222
##@ General
2323

@@ -138,15 +138,15 @@ CODE_GEN_VERSION ?= $(shell $(REPO_ROOT)/hack/extract-module-version.sh k8s.io/
138138
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
139139
CONTROLLER_TOOLS_VERSION ?= v0.19.0
140140
# renovate: datasource=github-tags depName=golang/tools
141-
FORMATTER_VERSION ?= v0.37.0
141+
FORMATTER_VERSION ?= v0.38.0
142142
# renovate: datasource=github-releases depName=golangci/golangci-lint
143143
LINTER_VERSION ?= v2.6.1
144144
# renovate: datasource=github-releases depName=elastic/crd-ref-docs
145145
API_REF_GEN_VERSION ?= v0.2.0
146146
# renovate: datasource=github-releases depName=jqlang/jq
147147
JQ_VERSION ?= v1.7.1
148148
# renovate: datasource=github-releases depName=open-component-model/ocm
149-
OCM_VERSION ?= v0.29.1
149+
OCM_VERSION ?= v0.32.0
150150
# renovate: datasource=github-releases depName=golang/mock
151151
MOCKGEN_VERSION ?= v1.6.0
152152
# renovate: datasource=github-releases depName=distribution/distribution

apis/config/types_landscaper_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package config
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010

1111
lscore "github.com/openmcp-project/landscaper/apis/core"

apis/config/v1alpha1/defaults_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"testing"
99
"time"
1010

11-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
1211
. "github.com/onsi/ginkgo/v2"
1312
. "github.com/onsi/gomega"
1413
"github.com/onsi/gomega/gstruct"
14+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
1515

1616
"github.com/openmcp-project/landscaper/apis/config/v1alpha1"
1717
)

apis/config/v1alpha1/types_landscaper_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package v1alpha1
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010

1111
lsv1alpha1 "github.com/openmcp-project/landscaper/apis/core/v1alpha1"

apis/config/v1alpha1/zz_generated.conversion.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core/types_component_version_overwrite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package core
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010
)
1111

apis/core/types_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package core
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
corev1 "k8s.io/api/core/v1"
1010
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1111
)

apis/core/types_installation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package core
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
corev1 "k8s.io/api/core/v1"
1010
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1111
)

apis/core/types_shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
"time"
1212

13-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
13+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
1414
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1515
"k8s.io/apimachinery/pkg/types"
1616
)

apis/core/v1alpha1/types_component_version_overwrite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package v1alpha1
66

77
import (
8-
cdv2 "github.com/gardener/component-spec/bindings-go/apis/v2"
8+
cdv2 "github.com/openmcp-project/landscaper/legacy-component-spec/bindings-go/apis/v2"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010
)
1111

0 commit comments

Comments
 (0)