Skip to content

Commit

Permalink
bump component-spec dependency (#812)
Browse files Browse the repository at this point in the history
* bump component-spec dependency (run-int-tests)

* fix incompatible changes (run-int-tests)
  • Loading branch information
Diaphteiros authored Sep 5, 2023
1 parent b61300b commit aa8cdb2
Show file tree
Hide file tree
Showing 14 changed files with 120 additions and 82 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/containerd/containerd v1.7.0
github.com/docker/cli v23.0.5+incompatible
github.com/gardener/component-cli v0.44.0
github.com/gardener/component-spec/bindings-go v0.0.66
github.com/gardener/component-spec/bindings-go v0.0.95
github.com/gardener/image-vector v0.10.0
github.com/gardener/landscaper/apis v0.0.0-00010101000000-000000000000
github.com/gardener/landscaper/controller-utils v0.0.0-00010101000000-000000000000
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbS
github.com/gardener/component-cli v0.44.0 h1:19w703QNyV0VRhoqbRv6NgibK/t6OZxoLqkBWO/JrFM=
github.com/gardener/component-cli v0.44.0/go.mod h1:TMYFZYiopyvbgVzaMALgUcJvup3LP/qOl/NQpS7uvjM=
github.com/gardener/component-spec/bindings-go v0.0.52/go.mod h1:kQFMTWowNAp9tOp6aImQa/NoLzfvX29jN5Qgud9rpQU=
github.com/gardener/component-spec/bindings-go v0.0.66 h1:FvtnnTxXJi2ZCC/GgijUNJCcwwdlZAiEWpZTtyHviz0=
github.com/gardener/component-spec/bindings-go v0.0.66/go.mod h1:qr7kADDXbXB0huul+ih/B43YkwyiMFYQepp/tqJ331c=
github.com/gardener/component-spec/bindings-go v0.0.95 h1:0h9ZRfWo0d84PkC/reVRXALJsOiyuwP0nsFdrOCWXtk=
github.com/gardener/component-spec/bindings-go v0.0.95/go.mod h1:qr7kADDXbXB0huul+ih/B43YkwyiMFYQepp/tqJ331c=
github.com/gardener/image-vector v0.10.0 h1:Ysg3hxfiGUG/doajiZ0nQuUaJYwfO5BZCOcijL3tRuo=
github.com/gardener/image-vector v0.10.0/go.mod h1:32SHGcbmmueeK9VkawsFcEbsoENXQPIuuYiFBUP+vMQ=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func runTestSuite(testdataDir, sharedTestdataDir string) {
Version: "1.0.0",
},
RepositoryContexts: []*types.UnstructuredTypedObject{},
Provider: cdv2.InternalProvider,
Provider: "internal",
Resources: []types.Resource{
{
IdentityObjectMeta: cdv2.IdentityObjectMeta{
Expand Down Expand Up @@ -250,7 +250,7 @@ func runTestSuite(testdataDir, sharedTestdataDir string) {
Version: "1.0.0",
},
RepositoryContexts: []*types.UnstructuredTypedObject{},
Provider: cdv2.InternalProvider,
Provider: "internal",
ComponentReferences: []types.ComponentReference{
{
Name: "my-referenced-component",
Expand All @@ -271,7 +271,7 @@ func runTestSuite(testdataDir, sharedTestdataDir string) {
Version: "1.0.0",
},
RepositoryContexts: []*types.UnstructuredTypedObject{},
Provider: cdv2.InternalProvider,
Provider: "internal",
Resources: []types.Resource{
{
IdentityObjectMeta: cdv2.IdentityObjectMeta{
Expand Down
2 changes: 1 addition & 1 deletion pkg/landscaper/jsonschema/jsonschema_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func buildAndUploadComponentDescriptorWithArtifacts(ctx context.Context, host, n

cd.Name = name
cd.Version = version
cd.Provider = cdv2.InternalProvider
cd.Provider = "internal"
cd.ComponentReferences = cdRefs
cd.Resources = cdRes
repoCtx := cdv2.OCIRegistryRepository{
Expand Down
2 changes: 1 addition & 1 deletion pkg/landscaper/registry/components/cdutils/uri_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _ = Describe("URI", func() {
Version: "1.0.0",
},
RepositoryContexts: repositoryContexts,
Provider: cdv2.ExternalProvider,
Provider: "external",
ComponentReferences: []types.ComponentReference{
{
Name: "comp1",
Expand Down
4 changes: 2 additions & 2 deletions test/integration/core/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func buildAndUploadNginxComponentDescriptorWithArtifacts(ctx context.Context, f
)
cd.Name = name
cd.Version = version
cd.Provider = cdv2.InternalProvider
cd.Provider = "internal"
repoCtx := cdv2.OCIRegistryRepository{
ObjectType: cdv2.ObjectType{
Type: cdv2.OCIRegistryType,
Expand Down Expand Up @@ -592,7 +592,7 @@ func buildAndUploadComponentDescriptorsWithBlueprints(ctx context.Context, f *fr
cd := &cdv2.ComponentDescriptor{}
cd.Name = cdd.name
cd.Version = cdd.version
cd.Provider = cdv2.InternalProvider
cd.Provider = "internal"
utils.ExpectNoError(cdv2.InjectRepositoryContext(cd, &repoCtx))

// add blueprint
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa8cdb2

Please sign in to comment.